qt6-bb10/tests/auto/gui
Volker Hilsheimer 72f5b35b3d Stabilize tst_QFileSystemModel::showFilesOnly test case
Amends 83e5d74864.

A model index returned by QFileSystemModel might become invalid when
events get processed, so don't store the result of setRootPath to re-use
it in a QTRY_COMPARE function. Instead, always ask for a fresh model
index.

Also, use std::chrono::duration::count correctly; it returns the "tick",
not the corresponding milliseconds, so (10s).count() returns 10 instead
of 10000. Explicitly use 10000ms here.

Un-blacklist the test on macOS again.

Task-number: QTBUG-74471
Pick-to: 6.7 6.6 6.5
Change-Id: Ic98bb53c696441131bbc1055b64822faf2aec96f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-01-31 21:18:48 +01:00
..
image Copy color table in QImage::transform paint path 2023-12-14 23:35:14 +01:00
itemmodels Stabilize tst_QFileSystemModel::showFilesOnly test case 2024-01-31 21:18:48 +01:00
kernel tests: skip tst_QGuiApplication::topLevelAt() on Wayland 2024-01-17 17:44:24 +01:00
math3d Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
painting QPainterPath: Fix boundingRect and controlPointRect ignoring start point 2024-01-30 21:28:19 +00:00
platform CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopengl CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopenglconfig CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qvulkan Skip QVulkan autotests on Android 2023-10-30 12:43:14 +02:00
rhi rhi: Add an autotest for multiview 2024-01-15 17:48:45 +01:00
text Fix infinite loop in QTextLayout with setNumColumns() 2024-01-29 17:02:36 +00:00
util Fix digit grouping: m_grouping_top doesn't mean what I thought it did 2023-08-08 19:44:56 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00