summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-31 17:28:36 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-01 04:58:28 +0100
commit3e035a5edb10b01fc5997e1094e6fd704fba1d4a (patch)
treed2e2c95fb55d138812698e5feb32433b67396e97 /tests/auto/widgets/kernel
parent390e20fc71e787fd37639fdba16a854771237b79 (diff)
Remove obsolete test.
The commit that disabled this test a few days after it was originally comitted (bda80c4b in the grafted history) makes it clear that this test was never valid. Change-Id: Ib0090fc35d0b9251d7b7367de2c71a66a332c567 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/widgets/kernel')
-rw-r--r--tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
index 80c1bdb202..5e22340b5b 100644
--- a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
+++ b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
@@ -536,14 +536,6 @@ void tst_QApplication::lastWindowClosed()
QCOMPARE(spy.count(), 1);
spy.clear();
-#if 0
- // everything is closed, so doing this should not emit lastWindowClosed() again
- QMetaObject::invokeMethod(dialog, "close", Qt::QueuedConnection);
- QTimer::singleShot(1000, &app, SLOT(quit()));
- app.exec();
- QCOMPARE(spy.count(), 0);
-#endif
-
delete dialog;
// show 3 windows, close them, should only get lastWindowClosed once