diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-07 11:05:03 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-07 11:05:03 +0200 |
commit | 12a87e1d6d5c0e4b5a5aacbfa880678629321c1d (patch) | |
tree | 69fa5db595fc6c6531b15195027bbfc0d3134fcc /tests/dummyresourcetest.cpp | |
parent | 61ab9866fa8ea5e26e5ce7d7cc265f5d8d65b277 (diff) | |
download | sink-12a87e1d6d5c0e4b5a5aacbfa880678629321c1d.tar.gz sink-12a87e1d6d5c0e4b5a5aacbfa880678629321c1d.zip |
Use the resource instance name
Diffstat (limited to 'tests/dummyresourcetest.cpp')
-rw-r--r-- | tests/dummyresourcetest.cpp | 4 |
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? |