Skip to content
Permalink
Browse files
fix qgsauthmanager test on windows
  • Loading branch information
jef-n committed Oct 28, 2015
1 parent fc49f8d commit 0799e09a67dec3d1a26910d9c91fb88e268506b2
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 0799e09

Please sign in to comment.