summaryrefslogtreecommitdiffstats
path: root/tests/genericresourcetest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-08 11:22:40 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-07-08 11:36:32 +0200
commit81fa4c3635a029b1c8f9cc3cd670f0b04f1c3f21 (patch)
tree3acd44ee1d055e4dfe6c8c0409406235b39e0980 /tests/genericresourcetest.cpp
parent9317fbffeab4a8c258acb1116eb12fbded7053d8 (diff)
downloadsink-81fa4c3635a029b1c8f9cc3cd670f0b04f1c3f21.tar.gz
sink-81fa4c3635a029b1c8f9cc3cd670f0b04f1c3f21.zip
Shorten the types to be more distinctive.
The org.kde prefix is useless and possibly misleading. Simply prefixing with sink is more unique and shorter.
Diffstat (limited to 'tests/genericresourcetest.cpp')
-rw-r--r--tests/genericresourcetest.cpp6
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();