summaryrefslogtreecommitdiffstats
path: root/tests/dummyresourcetest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dummyresourcetest.cpp')
-rw-r--r--tests/dummyresourcetest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dummyresourcetest.cpp b/tests/dummyresourcetest.cpp
index 4c27b10..1c3b09b 100644
--- a/tests/dummyresourcetest.cpp
+++ b/tests/dummyresourcetest.cpp
@@ -85,7 +85,7 @@ private Q_SLOTS:
85 //Actual test 85 //Actual test
86 Akonadi2::Pipeline pipeline("org.kde.dummy.instance1"); 86 Akonadi2::Pipeline pipeline("org.kde.dummy.instance1");
87 QSignalSpy revisionSpy(&pipeline, SIGNAL(revisionUpdated())); 87 QSignalSpy revisionSpy(&pipeline, SIGNAL(revisionUpdated()));
88 DummyResource resource; 88 DummyResource resource("org.kde.dummy.instance1");
89 resource.configurePipeline(&pipeline); 89 resource.configurePipeline(&pipeline);
90 resource.processCommand(Akonadi2::Commands::CreateEntityCommand, command, command.size(), &pipeline); 90 resource.processCommand(Akonadi2::Commands::CreateEntityCommand, command, command.size(), &pipeline);
91 resource.processCommand(Akonadi2::Commands::CreateEntityCommand, command, command.size(), &pipeline); 91 resource.processCommand(Akonadi2::Commands::CreateEntityCommand, command, command.size(), &pipeline);
@@ -178,7 +178,7 @@ private Q_SLOTS:
178 void testResourceSync() 178 void testResourceSync()
179 { 179 {
180 Akonadi2::Pipeline pipeline("org.kde.dummy.instance1"); 180 Akonadi2::Pipeline pipeline("org.kde.dummy.instance1");
181 DummyResource resource; 181 DummyResource resource("org.kde.dummy.instance1");
182 resource.configurePipeline(&pipeline); 182 resource.configurePipeline(&pipeline);
183 auto job = resource.synchronizeWithSource(&pipeline); 183 auto job = resource.synchronizeWithSource(&pipeline);
184 //TODO pass in optional timeout? 184 //TODO pass in optional timeout?