qt5base-lts/tests/auto/corelib/io/qdir
Friedemann Kleint cdf9aed630 tst_qdir: Move QFINDTESTDATA() from init() to constructor.
Check result in initTestData().

Previously, QFINDTESTDATA() was repeatedly invoked in init(). The
data-driven cd() test then failed when invoked stand-alone since
cd_data(), which relies on the data path, is executed before init().

Task-number: QTBUG-40067
Change-Id: I91039247e8dcaedd92fa990f1b5f82bc54b17c60
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-07-09 10:59:42 +02:00
..
entrylist Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
resources/entryList Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
searchdir Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testData Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testdir Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
types Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qdir.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdir.qrc Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
tst_qdir.cpp tst_qdir: Move QFINDTESTDATA() from init() to constructor. 2014-07-09 10:59:42 +02:00