diff options
Diffstat (limited to 'tests/genericresourcetest.cpp')
-rw-r--r-- | tests/genericresourcetest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/genericresourcetest.cpp b/tests/genericresourcetest.cpp index fe2c146..77a901d 100644 --- a/tests/genericresourcetest.cpp +++ b/tests/genericresourcetest.cpp | |||
@@ -26,7 +26,7 @@ private slots: | |||
26 | 26 | ||
27 | void init() | 27 | void init() |
28 | { | 28 | { |
29 | Sink::GenericResource::removeFromDisk("org.kde.test.instance1"); | 29 | Sink::GenericResource::removeFromDisk("sink.test.instance1"); |
30 | } | 30 | } |
31 | 31 | ||
32 | /// Ensure the resource can process messages | 32 | /// Ensure the resource can process messages |
@@ -70,10 +70,10 @@ private slots: | |||
70 | } | 70 | } |
71 | 71 | ||
72 | // Actual test | 72 | // Actual test |
73 | auto pipeline = QSharedPointer<Sink::Pipeline>::create("org.kde.test.instance1"); | 73 | auto pipeline = QSharedPointer<Sink::Pipeline>::create("sink.test.instance1"); |
74 | QSignalSpy revisionSpy(pipeline.data(), SIGNAL(revisionUpdated(qint64))); | 74 | QSignalSpy revisionSpy(pipeline.data(), SIGNAL(revisionUpdated(qint64))); |
75 | QVERIFY(revisionSpy.isValid()); | 75 | QVERIFY(revisionSpy.isValid()); |
76 | TestResource resource("org.kde.test.instance1", pipeline); | 76 | TestResource resource("sink.test.instance1", pipeline); |
77 | resource.processCommand(Sink::Commands::CreateEntityCommand, command); | 77 | resource.processCommand(Sink::Commands::CreateEntityCommand, command); |
78 | resource.processCommand(Sink::Commands::CreateEntityCommand, command); | 78 | resource.processCommand(Sink::Commands::CreateEntityCommand, command); |
79 | resource.processAllMessages().exec().waitForFinished(); | 79 | resource.processAllMessages().exec().waitForFinished(); |