summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qchar
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-10-23 08:52:01 +0200
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-10-23 07:23:00 +0000
commit66cfebc2b32496fe81883c8f2a210641bd1367ca (patch)
tree7476c5f53b434e06de7e758a52c62b12a0c8802f /tests/auto/corelib/tools/qchar
parent6f65ddbc217a8c82b091d31e88faf3dc23baa13b (diff)
tst_qchar: Remove init()/cleanup() slots.
For Windows CE 7, a QCoreApplication was instantiated in each test. Change-Id: Ib579e416e47f884ef0cdf829139518fcc3910b9b Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/tools/qchar')
-rw-r--r--tests/auto/corelib/tools/qchar/tst_qchar.cpp22
1 files changed, 0 insertions, 22 deletions
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<QChar>("lhs");