From cb81ef8f69f6a48ed505f5aef50c62a10aa67283 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 26 Jun 2016 14:23:23 +0200 Subject: Remove the store from the resource side. ...and shutdown the resource after we removed all data. --- tests/mailtest.cpp | 3 +-- tests/mailtest.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/mailtest.cpp b/tests/mailtest.cpp index 541656f..b9d496d 100644 --- a/tests/mailtest.cpp +++ b/tests/mailtest.cpp @@ -47,8 +47,7 @@ void MailTest::initTestCase() void MailTest::cleanup() { - VERIFYEXEC(ResourceControl::shutdown(mResourceInstanceIdentifier)); - removeResourceFromDisk(mResourceInstanceIdentifier); + VERIFYEXEC(Store::removeDataFromDisk(mResourceInstanceIdentifier)); } void MailTest::init() diff --git a/tests/mailtest.h b/tests/mailtest.h index 362e044..2144bf1 100644 --- a/tests/mailtest.h +++ b/tests/mailtest.h @@ -36,7 +36,6 @@ protected: virtual void resetTestEnvironment() = 0; virtual Sink::ApplicationDomain::SinkResource createResource() = 0; - virtual void removeResourceFromDisk(const QByteArray &mResourceInstanceIdentifier) = 0; private slots: void initTestCase(); -- cgit v1.2.3