summaryrefslogtreecommitdiffstats
path: root/tests/maildirsyncbenchmark.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/maildirsyncbenchmark.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/maildirsyncbenchmark.cpp')
-rw-r--r--tests/maildirsyncbenchmark.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/maildirsyncbenchmark.cpp b/tests/maildirsyncbenchmark.cpp
index 8b1a9d7..d84c758 100644
--- a/tests/maildirsyncbenchmark.cpp
+++ b/tests/maildirsyncbenchmark.cpp
@@ -61,17 +61,17 @@ private slots:
61 { 61 {
62 targetPath = tempDir.path() + "/maildir1"; 62 targetPath = tempDir.path() + "/maildir1";
63 63
64 MaildirResource::removeFromDisk("org.kde.maildir.test1"); 64 MaildirResource::removeFromDisk("sink.maildir.test1");
65 Sink::ApplicationDomain::SinkResource resource; 65 Sink::ApplicationDomain::SinkResource resource;
66 resource.setProperty("identifier", "org.kde.maildir.test1"); 66 resource.setProperty("identifier", "sink.maildir.test1");
67 resource.setProperty("type", "org.kde.maildir"); 67 resource.setProperty("type", "sink.maildir");
68 resource.setProperty("path", targetPath); 68 resource.setProperty("path", targetPath);
69 Sink::Store::create(resource).exec().waitForFinished(); 69 Sink::Store::create(resource).exec().waitForFinished();
70 } 70 }
71 71
72 void cleanup() 72 void cleanup()
73 { 73 {
74 MaildirResource::removeFromDisk("org.kde.maildir.test1"); 74 MaildirResource::removeFromDisk("sink.maildir.test1");
75 QDir dir(targetPath); 75 QDir dir(targetPath);
76 dir.removeRecursively(); 76 dir.removeRecursively();
77 } 77 }
@@ -83,8 +83,8 @@ private slots:
83 83
84 void testbench() 84 void testbench()
85 { 85 {
86 auto pipeline = QSharedPointer<Sink::Pipeline>::create("org.kde.maildir.test1"); 86 auto pipeline = QSharedPointer<Sink::Pipeline>::create("sink.maildir.test1");
87 MaildirResource resource("org.kde.maildir.test1", pipeline); 87 MaildirResource resource("sink.maildir.test1", pipeline);
88 QTime time; 88 QTime time;
89 time.start(); 89 time.start();
90 resource.Sink::GenericResource::synchronizeWithSource().exec().waitForFinished(); 90 resource.Sink::GenericResource::synchronizeWithSource().exec().waitForFinished();