qt5base-lts/tests/auto/corelib/tools/qlocale
Jason McDonald 7fbe7fd7b5 Make QLocale autotest pass for shadow builds.
For shadow builds where "make install" had not been run, the
tst_QLocale::emptyCtor test function would fail to find its helper
application because QFINDTESTDATA was not searching for it in the build
directory due to the test not instantiating QCoreApplication.

This commit fixes the test by instantiating a QCoreApplication using the
QTEST_MAIN macro, which also allows some special case code for Windows
CE to be removed.

Change-Id: Ic81d4699da2538c24b36b3d6bd52c4a02ad417f4
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-02-20 08:06:04 +01:00
..
syslocaleapp Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test Fixed installation of corelib tests 2011-12-01 09:12:52 +01:00
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
qlocale.pro Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
tst_qlocale.cpp Make QLocale autotest pass for shadow builds. 2012-02-20 08:06:04 +01:00