qt5base-lts/tests/auto/sql
Edward Welbourne 9030ffdffb Use qScopeGuard() to take care of post-test tidy-up
Doing the tidy-up after the last check has the problem that it gets
skipped if any check fails, as the premature return skips the tidy-up.
In the process, added the missing tidy-up to prematureExec().

Repackage the code for one tidy-up as a named lambda so that the
duplicate can share it with the scope guard. Made some existing scope
guards const, while I was about it, so that the one that isn't -
because it gets dismiss()ed - stand out.

Change-Id: I96d6834d5d7675f15018169a7093b0211db6f8a9
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2022-02-10 19:20:59 +01:00
..
kernel Use qScopeGuard() to take care of post-test tidy-up 2022-02-10 19:20:59 +01:00
models QSqlTableModel::orderByClause(): Quote the table name 2021-05-03 14:10:36 +00:00
CMakeLists.txt Regenerate some of the test projects that do SUBDIRS += foo 2019-08-07 11:55:38 +00:00