From 66cfebc2b32496fe81883c8f2a210641bd1367ca Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 23 Oct 2015 08:52:01 +0200 Subject: tst_qchar: Remove init()/cleanup() slots. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For Windows CE 7, a QCoreApplication was instantiated in each test. Change-Id: Ib579e416e47f884ef0cdf829139518fcc3910b9b Reviewed-by: Jędrzej Nowacki --- tests/auto/corelib/tools/qchar/tst_qchar.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'tests/auto/corelib/tools/qchar') diff --git a/tests/auto/corelib/tools/qchar/tst_qchar.cpp b/tests/auto/corelib/tools/qchar/tst_qchar.cpp index c2bef14767..4b1e315e7f 100644 --- a/tests/auto/corelib/tools/qchar/tst_qchar.cpp +++ b/tests/auto/corelib/tools/qchar/tst_qchar.cpp @@ -43,9 +43,6 @@ class tst_QChar : public QObject { Q_OBJECT -public slots: - void init(); - void cleanup(); private slots: void operators_data(); void operators(); @@ -80,27 +77,8 @@ private slots: void normalization_manual(); void normalizationCorrections(); void unicodeVersion(); -#if defined(Q_OS_WINCE) -private: - QCoreApplication* app; -#endif }; -void tst_QChar::init() -{ -#if defined(Q_OS_WINCE) - int argc = 0; - app = new QCoreApplication(argc, NULL); -#endif -} - -void tst_QChar::cleanup() -{ -#if defined(Q_OS_WINCE) - delete app; -#endif -} - void tst_QChar::operators_data() { QTest::addColumn("lhs"); -- cgit v1.2.3