diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-09 15:47:09 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-09 15:47:09 +0100 |
commit | 573051b8df4a2961b4ba8a1b7e31f1437517f9c8 (patch) | |
tree | bac9c2680b6ceec49df48082335046338c940144 /tests/dummyresourcebenchmark.cpp | |
parent | 4d662fec99071ec8160c33b2fa17794e898bd3be (diff) | |
download | sink-573051b8df4a2961b4ba8a1b7e31f1437517f9c8.tar.gz sink-573051b8df4a2961b4ba8a1b7e31f1437517f9c8.zip |
Moved some API
Diffstat (limited to 'tests/dummyresourcebenchmark.cpp')
-rw-r--r-- | tests/dummyresourcebenchmark.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dummyresourcebenchmark.cpp b/tests/dummyresourcebenchmark.cpp index 089fc08..6170f49 100644 --- a/tests/dummyresourcebenchmark.cpp +++ b/tests/dummyresourcebenchmark.cpp | |||
@@ -102,7 +102,7 @@ private Q_SLOTS: | |||
102 | QTRY_VERIFY(gotNotification); | 102 | QTRY_VERIFY(gotNotification); |
103 | 103 | ||
104 | QVERIFY2(duration < 100, QString::fromLatin1("Processing a create command took more than 100ms: %1").arg(duration).toLatin1()); | 104 | QVERIFY2(duration < 100, QString::fromLatin1("Processing a create command took more than 100ms: %1").arg(duration).toLatin1()); |
105 | Sink::Store::shutdown("org.kde.dummy.instance1").exec().waitForFinished(); | 105 | Sink::Resources::shutdown("org.kde.dummy.instance1").exec().waitForFinished(); |
106 | qDebug() << "Single command took [ms]: " << duration; | 106 | qDebug() << "Single command took [ms]: " << duration; |
107 | } | 107 | } |
108 | 108 | ||
@@ -127,7 +127,7 @@ private Q_SLOTS: | |||
127 | { | 127 | { |
128 | Sink::Query query; | 128 | Sink::Query query; |
129 | query.resources << "org.kde.dummy.instance1"; | 129 | query.resources << "org.kde.dummy.instance1"; |
130 | Sink::Store::flushMessageQueue(query.resources).exec().waitForFinished(); | 130 | Sink::Resources::flushMessageQueue(query.resources).exec().waitForFinished(); |
131 | } | 131 | } |
132 | auto allProcessedTime = time.elapsed(); | 132 | auto allProcessedTime = time.elapsed(); |
133 | 133 | ||