summaryrefslogtreecommitdiffstats
path: root/tests/inspectiontest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-10 08:51:25 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-10 08:55:40 +0100
commit660ee77c9875ad71d4189e8643f679f574687528 (patch)
treefefb5374c8f99242dfbe1abd37de4e93ccb1dfb3 /tests/inspectiontest.cpp
parent4ee8a44bf4dda625b4d2f58f127869557c1af959 (diff)
downloadsink-660ee77c9875ad71d4189e8643f679f574687528.tar.gz
sink-660ee77c9875ad71d4189e8643f679f574687528.zip
Renamed Resources to ResourceControl
Diffstat (limited to 'tests/inspectiontest.cpp')
-rw-r--r--tests/inspectiontest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/inspectiontest.cpp b/tests/inspectiontest.cpp
index 70806fa..0323225 100644
--- a/tests/inspectiontest.cpp
+++ b/tests/inspectiontest.cpp
@@ -41,8 +41,8 @@ private Q_SLOTS:
41 Mail mail(QByteArray("org.kde.dummy.instance1"), QByteArray("identifier"), 0, QSharedPointer<MemoryBufferAdaptor::MemoryBufferAdaptor>::create()); 41 Mail mail(QByteArray("org.kde.dummy.instance1"), QByteArray("identifier"), 0, QSharedPointer<MemoryBufferAdaptor::MemoryBufferAdaptor>::create());
42 42
43 //testInspection is a magic property that the dummyresource supports 43 //testInspection is a magic property that the dummyresource supports
44 auto inspectionCommand = Resources::Inspection::PropertyInspection(mail, "testInspection", success); 44 auto inspectionCommand = ResourceControl::Inspection::PropertyInspection(mail, "testInspection", success);
45 auto result = Resources::inspect<Mail>(inspectionCommand).exec(); 45 auto result = ResourceControl::inspect<Mail>(inspectionCommand).exec();
46 result.waitForFinished(); 46 result.waitForFinished();
47 if (success) { 47 if (success) {
48 QVERIFY(!result.errorCode()); 48 QVERIFY(!result.errorCode());