Skip to content
Permalink
Browse files

fix qgsauthmanager test on windows

(cherry picked from commit 0799e09)
  • Loading branch information
jef-n committed Oct 28, 2015
1 parent 4abff04 commit 85f29ed83f61ccd0e6d0a609112d89831b872fcb
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/src/core/testqgsauthmanager.cpp
@@ -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 );

0 comments on commit 85f29ed

Please sign in to comment.
You can’t perform that action at this time.