diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 08:51:25 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 08:55:40 +0100 |
commit | 660ee77c9875ad71d4189e8643f679f574687528 (patch) | |
tree | fefb5374c8f99242dfbe1abd37de4e93ccb1dfb3 /tests/dummyresourcebenchmark.cpp | |
parent | 4ee8a44bf4dda625b4d2f58f127869557c1af959 (diff) | |
download | sink-660ee77c9875ad71d4189e8643f679f574687528.tar.gz sink-660ee77c9875ad71d4189e8643f679f574687528.zip |
Renamed Resources to ResourceControl
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 6170f49..60ebe74 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::Resources::shutdown("org.kde.dummy.instance1").exec().waitForFinished(); | 105 | Sink::ResourceControl::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::Resources::flushMessageQueue(query.resources).exec().waitForFinished(); | 130 | Sink::ResourceControl::flushMessageQueue(query.resources).exec().waitForFinished(); |
131 | } | 131 | } |
132 | auto allProcessedTime = time.elapsed(); | 132 | auto allProcessedTime = time.elapsed(); |
133 | 133 | ||