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>
This commit is contained in:
Friedemann Kleint 2015-10-23 08:52:01 +02:00
parent 6f65ddbc21
commit 66cfebc2b3

View File

@ -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");