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