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()
136
136
{
137
137
Q_FOREACH ( const QString &tf, tmpDir.entryList ( QDir::NoDotAndDotDot | QDir::Files ) )
138
138
{
139
- QVERIFY ( tmpDir.remove ( mTempDir + " /" + tf ) );
139
+ QVERIFY2 ( tmpDir.remove ( mTempDir + " / " + tf ), qPrintable ( " Could not remove " + mTempDir + " /" + tf ) );
140
140
}
141
- QVERIFY ( tmpDir.rmdir ( mTempDir ) );
141
+ QVERIFY2 ( tmpDir.rmdir ( mTempDir ), qPrintable ( " Could not remove directory " + mTempDir ) );
142
142
}
143
143
}
144
144
145
145
void TestQgsAuthManager::cleanupTestCase ()
146
146
{
147
- cleanupTempDir ();
148
147
QgsApplication::exitQgis ();
148
+ cleanupTempDir ();
149
149
150
150
QString myReportFile = QDir::tempPath () + " /qgistest.html" ;
151
151
QFile myFile ( myReportFile );
You can’t perform that action at this time.
0 commit comments