qt6-bb10/tests/auto/corelib
Kari Oikarinen a37dd93def Fix crash in tst_QStateMachine::dontProcessSlotsWhenMachineIsNotRunning
The test sometimes ended up with:

  QThread: Destroyed while thread is still running
  Received a fatal error.

This was because as a member variable of the local struct the QThread object was
sometimes destructed before the signal connection quitting it was handled. Fix
that by making sure that the thread is finished before finishing the test.

Also moved connecting to the state machine's signal to be before starting the
machine. Because the counting of QStateMachine::finished signal could hit 1
after the first signal is emitted and the test could pass without the code
working, check that both of the signals have been emitted.

Task-number: QTBUG-66372
Task-number: QTBUG-66216
Change-Id: If14141e39f37541032ddd8c6471daf40a77b0469
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2018-02-14 08:12:20 +00:00
..
animation qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
codecs Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
global Update the overflow functions to include qsizetype 2018-01-24 21:13:20 +00:00
io qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
itemmodels QListWidgetItem/QStandardItem: pass role to dataChanged() signal 2018-01-26 19:58:26 +00:00
kernel Merge remote-tracking branch 'origin/dev' into 5.11 2018-02-10 15:55:52 +01:00
mimetypes QMimeType: remove unwanted *.bin as preferredSuffix for octet-stream 2018-01-28 19:13:28 +00:00
plugin QUuid: add a way to get the string form without the braces 2018-02-03 21:30:37 +00:00
serialization Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
statemachine Fix crash in tst_QStateMachine::dontProcessSlotsWhenMachineIsNotRunning 2018-02-14 08:12:20 +00:00
thread Tests: Raise minimum supported MSVC version to 2015 2018-01-04 20:23:25 +00:00
tools QString:: add remove() overload taking QLatin1String 2018-02-02 14:49:15 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00