equal
deleted
inserted
replaced
144 |
144 |
145 void symbianNoApplicationPanes(); |
145 void symbianNoApplicationPanes(); |
146 |
146 |
147 void symbianNeedForTraps(); |
147 void symbianNeedForTraps(); |
148 void symbianLeaveThroughMain(); |
148 void symbianLeaveThroughMain(); |
|
149 void qtbug_12673(); |
149 }; |
150 }; |
150 |
151 |
151 class EventSpy : public QObject |
152 class EventSpy : public QObject |
152 { |
153 { |
153 Q_OBJECT |
154 Q_OBJECT |
2237 |
2238 |
2238 QCOMPARE(numDestroyed, 2); |
2239 QCOMPARE(numDestroyed, 2); |
2239 #endif |
2240 #endif |
2240 } |
2241 } |
2241 |
2242 |
|
2243 void tst_QApplication::qtbug_12673() |
|
2244 { |
|
2245 #ifdef Q_OS_SYMBIAN |
|
2246 QSKIP("This might not make sense in Symbian, but since I do not know how to test it I'll just skip it for now.", SkipAll); |
|
2247 #else |
|
2248 QProcess testProcess; |
|
2249 QStringList arguments; |
|
2250 #ifdef Q_OS_MAC |
|
2251 testProcess.start("modal/modal.app", arguments); |
|
2252 #else |
|
2253 testProcess.start("modal/modal", arguments); |
|
2254 #endif |
|
2255 QVERIFY(testProcess.waitForFinished(20000)); |
|
2256 QCOMPARE(testProcess.exitStatus(), QProcess::NormalExit); |
|
2257 #endif // Q_OS_SYMBIAN |
|
2258 } |
|
2259 |
2242 //QTEST_APPLESS_MAIN(tst_QApplication) |
2260 //QTEST_APPLESS_MAIN(tst_QApplication) |
2243 int main(int argc, char *argv[]) |
2261 int main(int argc, char *argv[]) |
2244 { |
2262 { |
2245 tst_QApplication tc; |
2263 tst_QApplication tc; |
2246 argv0 = argv[0]; |
2264 argv0 = argv[0]; |