qt6-bb10/tests/auto/tools
Giuseppe D'Angelo 9fd895e3c1 tst_moc: handle QFile::open failures from non-test functions
Code that sets a test function up should not be fallible, or should be
designed to log the failure. In tst_moc this is not the case --
QFile::open is called from within a nested lambda. If that fails, print
the error and return an empty optional.

Task-number: QTBUG-123623
Change-Id: I8372a6ac7dc22e68d145fa2215fe04ba682ac81b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-04-14 08:07:48 +02:00
..
macdeployqt Change license for tests files 2024-02-04 09:56:42 +01:00
moc tst_moc: handle QFile::open failures from non-test functions 2024-04-14 08:07:48 +02:00
qdbuscpp2xml Change license for tests files 2024-02-04 09:56:42 +01:00
qdbusxml2cpp Change license for tests files 2024-02-04 09:56:42 +01:00
qmake Change license for tests files 2024-02-04 09:56:42 +01:00
qmakelib Change license for tests files 2024-02-04 09:56:42 +01:00
qt_cmake_create Change license for tests files 2024-02-04 09:56:42 +01:00
rcc Add support for using an inline namespaces for -qtnamespace 2024-04-03 17:17:11 +02:00
uic uic: use qOverload for ambiguous slots 2024-04-12 12:32:16 +00:00
windeployqt Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt tests/tools: only run qdbus{cpp2xml,xml2cpp} tests if D-Bus is available 2023-08-14 20:19:36 -07:00