qt5base-lts/tests/auto/corelib/io
Jason McDonald 0afe990714 Avoid QCOMPARE outside test function in QSettings test.
QCOMPARE and friends should only be called in a test function.  Instead
of calling QCOMPARE elsewhere, keep a count of the number of errors and
QCOMPARE that count with zero in the test function.

Change-Id: I9a264e91169a98c30980fdc04a3e45bfb0ca8063
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-01-04 06:01:33 +01:00
..
qabstractfileengine Windows: Fix qabstractfilenengine-test. 2011-12-01 22:37:31 +01:00
qbuffer Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qdatastream Use true and false in preference to TRUE and FALSE in tests. 2012-01-03 02:57:12 +01:00
qdebug Prevent qDebug test bypassing the testlib message handler. 2011-12-30 04:14:53 +01:00
qdir Fix QDir::removeRecursively so it doesn't follow symlinks to directories. 2011-12-19 20:48:16 +01:00
qdiriterator Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qfile Use true and false in preference to TRUE and FALSE in tests. 2012-01-03 02:57:12 +01:00
qfileinfo Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qfilesystementry Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qfilesystemwatcher Remove redundant debug code from QFileSystemWatcher test. 2012-01-04 06:01:33 +01:00
qiodevice Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qprocess Cleanup corelib autotests. 2011-12-28 04:48:11 +01:00
qprocessenvironment Don't depend on moc to disable test functions. 2011-11-18 01:51:57 +01:00
qresourceengine Update .gitignore for tests/auto/corelib/io/qresourceengine 2011-12-12 12:51:02 +01:00
qsettings Avoid QCOMPARE outside test function in QSettings test. 2012-01-04 06:01:33 +01:00
qstandardpaths Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qtemporarydir Fixes for tst_QTemporary(File|Dir)::nonWritableCurrentDir 2011-12-09 14:15:37 +01:00
qtemporaryfile Fixes for tst_QTemporary(File|Dir)::nonWritableCurrentDir 2011-12-09 14:15:37 +01:00
qtextstream Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qurl Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
io.pro New class QTemporaryDir. 2011-12-02 21:04:34 +01:00