qt6-bb10/tests/auto/corelib
Sona Kurazyan 9efe2a8603 Fix QFuture::waitForFinished to wait until QFuture is started
Currently QFuture::waitForFinished() exits as soon as the future is not
in the running state. If the user calls it before
QPromise::reportStarted() is called, it will exit immediately, because
nothing is running yet. Fix the behavior to wait for the finished state.

[ChangeLog][Important Behavior Changes][QtCore] Fixed the behavior of
QFuture::waitForFinished() to wait until the future is actually in the
finished state, instead of exiting as soon as it is not in the running
state. This prevents waitForFinished() from exiting immediately, if at
the moment of calling it the future is not started yet.

Task-number: QTBUG-84867
Change-Id: I12f5e95d8200cfffa5653b6aa566a625f8320ca8
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-08-26 16:37:43 +02:00
..
animation Fix warning when printing of qsizetype 2020-07-26 17:39:31 +02:00
global Cleanup QTypeInfo 2020-08-26 01:03:22 +02:00
io QStandardPaths/Unix: improve the XDG_RUNTIME_DIR creation/detection 2020-08-25 16:13:44 -07:00
itemmodels Automatically register data/debug stream operations in QMetaType 2020-08-24 00:17:03 +02:00
kernel Synchronize QEventDispatcherWin32::processEvents() with QCoreApplication 2020-08-26 11:08:15 +03:00
mimetypes Fix warnings about unused expression results in tests 2020-07-29 14:33:29 +02:00
plugin Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
serialization Deprecate int based convert/canConvert 2020-08-24 00:19:18 +02:00
text Add back QByteArray's relational operators taking QString 2020-08-26 14:37:43 +00:00
thread Fix QFuture::waitForFinished to wait until QFuture is started 2020-08-26 16:37:43 +02:00
time Fix crash on serializing default-constructed QTimeZone 2020-08-23 09:55:29 +02:00
tools Cleanup QTypeInfo 2020-08-26 01:03:22 +02:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00