diff options
| author | Vladimir Belyavsky <belyavskyv@gmail.com> | 2023-11-16 00:03:39 +0300 |
|---|---|---|
| committer | Vladimir Belyavsky <belyavskyv@gmail.com> | 2023-11-24 09:20:41 +0300 |
| commit | 488abf9abdbb954fb676e9592080a56d076070da (patch) | |
| tree | 3f0e5e6cc5a8d8c09143b0d869c9af9fcce315a0 /examples/qmlcompiler/tutorials | |
| parent | e2f3e068c58a77ed065612425e12493aac1e3995 (diff) | |
TestCase: make failOnWarning() functional on temp objects destruction
We need to be able to handle warnings that may occur when temporary
objects, that were created in a test function, are destroyed.
Now, with 18aa36cf878a52b8fe991392098e9445c3d3bfe3, we need only
to wait before calling finishTestDataCleanup() to ensure that the
objects marked for deletion are completely deleted.
Without this patch, we may not fail on warnings like this:
QWARN : tst_controls::Basic::ComboBox::test_mouseHighlight() qrc:/qt-project.org/imports/QtTest/SignalSpy.qml:55: TypeError: Property 'disconnect' of object true is not a function
Pick-to: 6.6 6.5
Change-Id: I990d65005ecf88633f25dcd317846804ae9fdfd1
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/qmlcompiler/tutorials')
0 files changed, 0 insertions, 0 deletions
