summaryrefslogtreecommitdiffstats
path: root/tests/genericresourcetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-11 11:55:29 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-11 11:55:29 +0200
commit3a3118e768e1447dc7524328e84b8d7faef81fe1 (patch)
treeaf5582170ed6164fffc9365f34b17bf449c0db40 /tests/genericresourcetest.cpp
parentf9379318d801df204cc50385c5eca1f28e91755e (diff)
parentce2fd2666f084eebe443598f6f3740a02913091e (diff)
downloadsink-3a3118e768e1447dc7524328e84b8d7faef81fe1.tar.gz
sink-3a3118e768e1447dc7524328e84b8d7faef81fe1.zip
Merge branch 'feature/notifications' into develop
Diffstat (limited to 'tests/genericresourcetest.cpp')
-rw-r--r--tests/genericresourcetest.cpp7
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();