diff options
author | Don Sanders <don.sanders@nokia.com> | 2012-03-12 11:32:59 +0200 |
---|---|---|
committer | Don Sanders <don.sanders@nokia.com> | 2012-03-12 11:32:59 +0200 |
commit | 2683738315c5302b2a3cc6428bd70ed8c7ec8c45 (patch) | |
tree | b5e17ee7636ca28439a247e59a87df8a51abd19c | |
parent | 28f5b33ab80cf6a53c615cb36d515cab8204e0b1 (diff) |
tst_qmailstorageaction requires a clean database.
-rw-r--r-- | tests/tst_qmailstorageaction/tst_qmailstorageaction.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tst_qmailstorageaction/tst_qmailstorageaction.cpp b/tests/tst_qmailstorageaction/tst_qmailstorageaction.cpp index dca63cfc..c1ad3f79 100644 --- a/tests/tst_qmailstorageaction/tst_qmailstorageaction.cpp +++ b/tests/tst_qmailstorageaction/tst_qmailstorageaction.cpp @@ -105,6 +105,9 @@ void tst_QMailStorageAction::initTestCase() // Instantiate the store to initialise the values of the status flags and create the standard folders QMailStore::instance(); + + // Tests rely on clearing all content in the database + QMailStore::instance()->clearContent(); // Create the data set we will test our keys upon standardFolders << QMailFolderId(QMailFolder::LocalStorageFolderId); |