diff options
Diffstat (limited to 'tests/maildirsyncbenchmark.cpp')
-rw-r--r-- | tests/maildirsyncbenchmark.cpp | 12 |
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(); |