summaryrefslogtreecommitdiffstats
path: root/tests/dummyresourcefacadetest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dummyresourcefacadetest.cpp')
-rw-r--r--tests/dummyresourcefacadetest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dummyresourcefacadetest.cpp b/tests/dummyresourcefacadetest.cpp
index 26daa23..d815e9b 100644
--- a/tests/dummyresourcefacadetest.cpp
+++ b/tests/dummyresourcefacadetest.cpp
@@ -19,7 +19,7 @@ private:
19 19
20 void populate(int count) 20 void populate(int count)
21 { 21 {
22 Storage storage(testDataPath, dbName, Storage::ReadWrite); 22 Akonadi2::Storage storage(testDataPath, dbName, Akonadi2::Storage::ReadWrite);
23 for (int i = 0; i < count; i++) { 23 for (int i = 0; i < count; i++) {
24 storage.write(keyPrefix + std::to_string(i), keyPrefix + std::to_string(i)); 24 storage.write(keyPrefix + std::to_string(i), keyPrefix + std::to_string(i));
25 } 25 }
@@ -38,7 +38,7 @@ private Q_SLOTS:
38 38
39 void cleanupTestCase() 39 void cleanupTestCase()
40 { 40 {
41 Storage storage(testDataPath, dbName); 41 Akonadi2::Storage storage(testDataPath, dbName);
42 storage.removeFromDisk(); 42 storage.removeFromDisk();
43 } 43 }
44 44
@@ -63,7 +63,7 @@ private Q_SLOTS:
63 QTRY_VERIFY(complete); 63 QTRY_VERIFY(complete);
64 QCOMPARE(results.size(), 1); 64 QCOMPARE(results.size(), 1);
65 65
66 Storage storage(testDataPath, dbName); 66 Akonadi2::Storage storage(testDataPath, dbName);
67 storage.removeFromDisk(); 67 storage.removeFromDisk();
68 } 68 }
69 69