diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-06-30 16:58:26 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-07-14 17:07:03 +0200 |
| commit | 1923a12d2ae673e00259d103562c520bda23b2c0 (patch) | |
| tree | 497df135d2ee02df7b720e54d5241b593134c803 /src/plugins/platforms/android/androidcontentfileengine.cpp | |
| parent | 0184300bbaa5a78906bbaec565938f6722f59139 (diff) | |
tst_QTemporaryFile::stressTest(): reliably remove temp files [1/2]: guard
Use a QScopeGuard to remove all the temp files created, so as to also
remove them if a QVERIFY should fail.
There's still a hole in the test: When the contains() QVERIFY fails,
we won't delete that temp file, but that will be solved by porting to
QDuplicateTracker in a subsequent commit.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ib3c4082c4ad11b271b29491e1be0b62b291684fa
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms/android/androidcontentfileengine.cpp')
0 files changed, 0 insertions, 0 deletions
