We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4abff04 commit 85f29edCopy full SHA for 85f29ed
tests/src/core/testqgsauthmanager.cpp
@@ -136,16 +136,16 @@ void TestQgsAuthManager::cleanupTempDir()
136
{
137
Q_FOREACH ( const QString &tf, tmpDir.entryList( QDir::NoDotAndDotDot | QDir::Files ) )
138
139
- QVERIFY( tmpDir.remove( mTempDir + "/" + tf ) );
+ QVERIFY2( tmpDir.remove( mTempDir + "/" + tf ), qPrintable( "Could not remove " + mTempDir + "/" + tf ) );
140
}
141
- QVERIFY( tmpDir.rmdir( mTempDir ) );
+ QVERIFY2( tmpDir.rmdir( mTempDir ), qPrintable( "Could not remove directory " + mTempDir ) );
142
143
144
145
void TestQgsAuthManager::cleanupTestCase()
146
147
- cleanupTempDir();
148
QgsApplication::exitQgis();
+ cleanupTempDir();
149
150
QString myReportFile = QDir::tempPath() + "/qgistest.html";
151
QFile myFile( myReportFile );
0 commit comments