summaryrefslogtreecommitdiffstats
path: root/tests/dummyresourcebenchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dummyresourcebenchmark.cpp')
-rw-r--r--tests/dummyresourcebenchmark.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp
index 6c37c09..089fc08 100644
--- a/tests/dummyresourcebenchmark.cpp
+++ b/tests/dummyresourcebenchmark.cpp
@@ -76,8 +76,7 @@ private Q_SLOTS:
76 void testCommandResponsiveness() 76 void testCommandResponsiveness()
77 { 77 {
78 //Test responsiveness including starting the process. 78 //Test responsiveness including starting the process.
79 Sink::Store::shutdown("org.kde.dummy.instance1").exec().waitForFinished(); 79 Sink::Store::removeDataFromDisk("org.kde.dummy.instance1").exec().waitForFinished();
80 DummyResource::removeFromDisk("org.kde.dummy.instance1");
81 80
82 QTime time; 81 QTime time;
83 time.start(); 82 time.start();
@@ -109,7 +108,7 @@ private Q_SLOTS:
109 108
110 void testWriteToFacade() 109 void testWriteToFacade()
111 { 110 {
112 DummyResource::removeFromDisk("org.kde.dummy.instance1"); 111 Sink::Store::removeDataFromDisk("org.kde.dummy.instance1").exec().waitForFinished();
113 112
114 QTime time; 113 QTime time;
115 time.start(); 114 time.start();
@@ -174,7 +173,7 @@ private Q_SLOTS:
174 173
175 void testWriteInProcess() 174 void testWriteInProcess()
176 { 175 {
177 DummyResource::removeFromDisk("org.kde.dummy.instance1"); 176 Sink::Store::removeDataFromDisk("org.kde.dummy.instance1").exec().waitForFinished();
178 QTime time; 177 QTime time;
179 time.start(); 178 time.start();
180 179
@@ -262,7 +261,7 @@ private Q_SLOTS:
262 //This allows to run individual parts without doing a cleanup, but still cleaning up normally 261 //This allows to run individual parts without doing a cleanup, but still cleaning up normally
263 void testCleanupForCompleteTest() 262 void testCleanupForCompleteTest()
264 { 263 {
265 DummyResource::removeFromDisk("org.kde.dummy.instance1"); 264 Sink::Store::removeDataFromDisk("org.kde.dummy.instance1").exec().waitForFinished();
266 } 265 }
267 266
268private: 267private: