summaryrefslogtreecommitdiffstats
path: root/tests/mailsynctest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mailsynctest.cpp')
-rw-r--r--tests/mailsynctest.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/mailsynctest.cpp b/tests/mailsynctest.cpp
index 98ac685..7edda32 100644
--- a/tests/mailsynctest.cpp
+++ b/tests/mailsynctest.cpp
@@ -49,17 +49,12 @@ void MailSyncTest::initTestCase()
49 49
50void MailSyncTest::cleanup() 50void MailSyncTest::cleanup()
51{ 51{
52 //TODO the shutdown job fails if the resource is already shut down 52 VERIFYEXEC(ResourceControl::shutdown(mResourceInstanceIdentifier));
53 // VERIFYEXEC(ResourceControl::shutdown(mResourceInstanceIdentifier));
54 ResourceControl::shutdown(mResourceInstanceIdentifier).exec().waitForFinished();
55 removeResourceFromDisk(mResourceInstanceIdentifier); 53 removeResourceFromDisk(mResourceInstanceIdentifier);
56} 54}
57 55
58void MailSyncTest::init() 56void MailSyncTest::init()
59{ 57{
60 qDebug();
61 qDebug() << "-----------------------------------------";
62 qDebug();
63 VERIFYEXEC(ResourceControl::start(mResourceInstanceIdentifier)); 58 VERIFYEXEC(ResourceControl::start(mResourceInstanceIdentifier));
64} 59}
65 60