File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,16 +136,16 @@ void TestQgsAuthManager::cleanupTempDir()
136136 {
137137 Q_FOREACH ( const QString &tf, tmpDir.entryList ( QDir::NoDotAndDotDot | QDir::Files ) )
138138 {
139- QVERIFY ( tmpDir.remove ( mTempDir + " /" + tf ) );
139+ QVERIFY2 ( tmpDir.remove ( mTempDir + " / " + tf ), qPrintable ( " Could not remove " + mTempDir + " /" + tf ) );
140140 }
141- QVERIFY ( tmpDir.rmdir ( mTempDir ) );
141+ QVERIFY2 ( tmpDir.rmdir ( mTempDir ), qPrintable ( " Could not remove directory " + mTempDir ) );
142142 }
143143}
144144
145145void TestQgsAuthManager::cleanupTestCase ()
146146{
147- cleanupTempDir ();
148147 QgsApplication::exitQgis ();
148+ cleanupTempDir ();
149149
150150 QString myReportFile = QDir::tempPath () + " /qgistest.html" ;
151151 QFile myFile ( myReportFile );
You can’t perform that action at this time.
0 commit comments