qt6-bb10/tests/auto/corelib
Alex Trotsenko 9f6f3da8eb tst_qeventdispatcher: avoid influence between test functions
When some test function fails (even as expected), it can leave the
event dispatcher in an inconsistent state where the posted events
queue might not be empty. As a result, this may break the internal
logic of the next test function that is run.

So, calling eventDispatcher->processEvents() after each completed
function resets the event dispatcher to its initial state, which
fixes the problem.

Pick-to: 6.2 6.3
Change-Id: I5a54f892d09a6eca73c8fc82875ce3b9ce4a3242
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-01-19 19:35:23 +02:00
..
animation tst_qanimationgroup: fix memleaks 2022-01-05 08:22:00 +01:00
global tst_qglobalstatic is halted on INTEGRITY device 2021-12-20 10:14:38 +02:00
io Remove unused .qrc files 2022-01-17 23:17:01 +01:00
itemmodels tst_QItemModel: fix memleaks 2022-01-05 08:22:00 +01:00
kernel tst_qeventdispatcher: avoid influence between test functions 2022-01-19 19:35:23 +02:00
mimetypes Remove unused .qrc files 2022-01-17 23:17:01 +01:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin Q*Parser: Replace "data" with "contents" in strings 2022-01-12 23:10:01 +01:00
serialization JSON: When clearing duplicate object entries, also clear containers 2022-01-18 02:31:30 +01:00
text QLatin1String: perform the comparison to another QL1S using memcmp() 2022-01-17 22:17:01 +00:00
thread tst_qfuture: fix compilation on MSVC 2022-01-08 01:54:18 +02:00
time Fix an assertion failure in massageAdjustedDateTime() 2022-01-13 19:47:22 +01:00
tools QVersionNumber: port fromString() to QAnyStringView 2022-01-18 01:31:33 +01:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00