Skip to content

Commit

Permalink
fix qgsauthmanager test on windows
Browse files Browse the repository at this point in the history
(cherry picked from commit 0799e09)
  • Loading branch information
jef-n committed Nov 19, 2015
1 parent 4abff04 commit 85f29ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/core/testqgsauthmanager.cpp
Expand Up @@ -136,16 +136,16 @@ void TestQgsAuthManager::cleanupTempDir()
{
Q_FOREACH ( const QString &tf, tmpDir.entryList( QDir::NoDotAndDotDot | QDir::Files ) )
{
QVERIFY( tmpDir.remove( mTempDir + "/" + tf ) );
QVERIFY2( tmpDir.remove( mTempDir + "/" + tf ), qPrintable( "Could not remove " + mTempDir + "/" + tf ) );
}
QVERIFY( tmpDir.rmdir( mTempDir ) );
QVERIFY2( tmpDir.rmdir( mTempDir ), qPrintable( "Could not remove directory " + mTempDir ) );
}
}

void TestQgsAuthManager::cleanupTestCase()
{
cleanupTempDir();
QgsApplication::exitQgis();
cleanupTempDir();

QString myReportFile = QDir::tempPath() + "/qgistest.html";
QFile myFile( myReportFile );
Expand Down

0 comments on commit 85f29ed

Please sign in to comment.