diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-28 12:04:53 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-28 07:17:33 +0200 |
commit | 4d643a0614c990742462d7435fd16142fd428252 (patch) | |
tree | f17f96c2db5ab35224d949d8b5cad449c1c169ee /dist | |
parent | 2c7ef2cee0ec50035beefd5fd25e815bf371f08b (diff) |
Update changes file for tests and testlib.
Change-Id: Ib8bc7b365166e75e54e693c550832849de6a0363
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/changes-5.0.0 | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index b17353e88b..2afb40077d 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -36,6 +36,25 @@ information about a particular change. - QMetaType::construct() has been renamed to QMetaType::create(). +- QTestLib: + * The QTRY_VERIFY and QTRY_COMPARE macros have been moved into QTestLib. + These macros formerly lived in tests/shared/util.h but are now provided + by including the <QtTest/QtTest> header. + * The QTEST_NOOP_MAIN macro has been removed from the API. If a test is + known at compile-time to be inapplicable for a particular build it should + be omitted via .pro file logic, or the test should call QSKIP in the + initTestCase() method to skip the entire test and report a meaningful + explanation in the test log. + * The DEPENDS_ON macro has been removed from the API. This macro did nothing + and misled some users to believe that they could make test functions depend + on each other or impose an execution order on test functions. + * The QSKIP macro no longer has the "mode" parameter, which caused problems + for calculating test metrics, as the SkipAll mode hid information about + what test data was skipped. Calling QSKIP in a test function now behaves + like SkipSingle -- skipping a non-data-driven test function or skipping + only the current data row of a data-driven test function. Every skipped + data row is now reported in the test log. + **************************************************************************** * General * **************************************************************************** @@ -43,7 +62,9 @@ information about a particular change. General Improvements -------------------- -- +- The directory structure of the qtbase unit-tests has been reworked to + more closely match the directory structure of the code under test. + Integration tests have been moved to tests/auto/integrationtests. Third party components ---------------------- @@ -80,6 +101,12 @@ QtScript -------- +QTestLib +-------- +* [QTBUG-20615] Autotests can now log test output to multiple destinations + and log formats simultaneously. + + **************************************************************************** * Database Drivers * **************************************************************************** |