summaryrefslogtreecommitdiffstats
path: root/tests/auto/wasm
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-03-22 18:07:49 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2024-04-14 08:07:48 +0200
commit9fd895e3c1c0472a2b43c7935a9c3ae168ab7080 (patch)
treeaf05b12891aeca3e3a05912eb30018136884951a /tests/auto/wasm
parent4183fa4c0b75a76fbc687298f4513971a9230152 (diff)
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>
Diffstat (limited to 'tests/auto/wasm')
0 files changed, 0 insertions, 0 deletions