qt5base-lts/tests/auto/gui
Marc Mutz 679bb388f0 tst_QImageReader: fix missing checks for "newly"-added ImageOptions
The following commits neglected to amend
tst_QImageReader::supportsOption() with the ImageOption enumerators
they added to QImageIOHandler:

- c0ba249a48
- 163af2cf53
- ba323b04cd

Fix first and foremost by adding the missing ImageOption::ImageFormat
to the list of PNG-supported formats (which, curiously enough, predates
the public history and therefore the above three commits), and second,
by rewriting the whole test function to enable -Wswitch, so further
additions are less likely to be forgotten.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I102121b2c8a9067864b8ade2ebe2650be6fb6010
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
2023-08-09 08:02:56 +00:00
..
image tst_QImageReader: fix missing checks for "newly"-added ImageOptions 2023-08-09 08:02:56 +00:00
itemmodels CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
kernel tst_foreignwindow: Add basic test of foreign window reparenting 2023-08-07 17:58:53 +02:00
math3d CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
painting CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02: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 CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
rhi CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
text tst_QTextScriptEngine: replace QList with const array 2023-08-08 16:03:28 +02: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