qt5base-lts/tests/auto/corelib
Timur Pocheptsov 30e32870a0 QCocoaEventDispatcher: make 'interrupt' work
even if we are currently inside processEvents (apparently called manually
and not from QEventLoop::exec()). A carefully crafted application
(see, for example, the linked QTBUG or even updated auto-test)
can trigger itself into failing to exit the current (potentially nested)
event loop. We can harden our Cocoa event dispatcher to detect
such condition and properly propagate 'interrupt' to where it'll
do its job, indeed, interrupting the real event loop (aka [NSApp run]).
This mainly means we have to undo what bool blocker would erroneously do.
Also, long live (as people love to say these days) to another tricky
(somewhat) auto-test (surely, it's not flaky!).

Fixes: QTBUG-79477
Change-Id: I794f0cda23e24d36be67f2bb63d52b74be057c31
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2019-12-10 11:33:26 +01:00
..
animation Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
codecs Port from QStringViewLiteral to u"" 2019-07-29 11:17:28 +03:00
global Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
io Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
itemmodels Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
kernel QCocoaEventDispatcher: make 'interrupt' work 2019-12-10 11:33:26 +01:00
mimetypes Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
plugin Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
serialization QCborValue: Extend the constructor to also create extended types 2019-11-23 02:14:42 +01:00
statemachine QStateMachine: Don't scream at the user 2019-10-24 10:26:03 +02:00
text QByteArray: add a strict mode to fromBase64 2019-12-05 21:04:50 +01:00
thread Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
time Merge remote-tracking branch 'origin/5.14' into 5.15 2019-12-03 06:57:05 +01:00
tools Add QHash::insert(const QHash &other) 2019-12-05 11:50:32 +01:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00