equal
deleted
inserted
replaced
462 } |
462 } |
463 }; |
463 }; |
464 |
464 |
465 void tst_QDialog::throwInExec() |
465 void tst_QDialog::throwInExec() |
466 { |
466 { |
467 #ifdef Q_WS_MAC |
467 #if defined(Q_WS_MAC) || (defined(Q_WS_WINCE) && defined(_ARM_)) |
468 QSKIP("Qt/Mac: Throwing exceptions in exec() is not supported.", SkipAll); |
468 QSKIP("Throwing exceptions in exec() is not supported on this platform.", SkipAll); |
469 #endif |
469 #endif |
470 int caughtExceptions = 0; |
470 int caughtExceptions = 0; |
471 try { |
471 try { |
472 ExceptionDialog dialog; |
472 ExceptionDialog dialog; |
473 QMetaObject::invokeMethod(&dialog, "throwException", Qt::QueuedConnection); |
473 QMetaObject::invokeMethod(&dialog, "throwException", Qt::QueuedConnection); |