Skip to content

Commit

Permalink
tests: SessionHandlerTest: fix cleanup routine
Browse files Browse the repository at this point in the history
Broken since 70864c5 ([buteo-syncml] Fix profile removal - set absolute
file path when calling setDatabaseFilePath())
  • Loading branch information
martyone committed Jun 4, 2014
1 parent 6f66898 commit 0fdff6f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests_meego/SessionHandlerTest.cpp
Expand Up @@ -83,16 +83,12 @@ void SessionHandlerTest::releaseStorage( StoragePlugin* aStorage )

void SessionHandlerTest::init()
{
// See DataSync::DatabaseHandler::DatabaseHandler()
QString effectivePath = Sync::syncCacheDir() + QDir::separator() + DBFILE;
QFile::remove( effectivePath );
QFile::remove( DBFILE );
}

void SessionHandlerTest::cleanup()
{
// See DataSync::DatabaseHandler::DatabaseHandler()
QString effectivePath = Sync::syncCacheDir() + QDir::separator() + DBFILE;
QFile::remove( effectivePath );
QFile::remove( DBFILE );
}

void SessionHandlerTest::testClientWithClientInitiated()
Expand Down

0 comments on commit 0fdff6f

Please sign in to comment.