diff options
Diffstat (limited to 'tests/inspectiontest.cpp')
-rw-r--r-- | tests/inspectiontest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/inspectiontest.cpp b/tests/inspectiontest.cpp index 8f2c50f..3e8a103 100644 --- a/tests/inspectiontest.cpp +++ b/tests/inspectiontest.cpp | |||
@@ -19,10 +19,10 @@ class InspectionTest : public QObject | |||
19 | private slots: | 19 | private slots: |
20 | void initTestCase() | 20 | void initTestCase() |
21 | { | 21 | { |
22 | auto factory = Sink::ResourceFactory::load("org.kde.dummy"); | 22 | auto factory = Sink::ResourceFactory::load("sink.dummy"); |
23 | QVERIFY(factory); | 23 | QVERIFY(factory); |
24 | ResourceConfig::addResource("org.kde.dummy.instance1", "org.kde.dummy"); | 24 | ResourceConfig::addResource("sink.dummy.instance1", "sink.dummy"); |
25 | Sink::Store::removeDataFromDisk(QByteArray("org.kde.dummy.instance1")).exec().waitForFinished(); | 25 | Sink::Store::removeDataFromDisk(QByteArray("sink.dummy.instance1")).exec().waitForFinished(); |
26 | } | 26 | } |
27 | 27 | ||
28 | void testInspection_data() | 28 | void testInspection_data() |
@@ -38,7 +38,7 @@ private slots: | |||
38 | using namespace Sink; | 38 | using namespace Sink; |
39 | using namespace Sink::ApplicationDomain; | 39 | using namespace Sink::ApplicationDomain; |
40 | 40 | ||
41 | Mail mail(QByteArray("org.kde.dummy.instance1"), QByteArray("identifier"), 0, QSharedPointer<MemoryBufferAdaptor::MemoryBufferAdaptor>::create()); | 41 | Mail mail(QByteArray("sink.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 = ResourceControl::Inspection::PropertyInspection(mail, "testInspection", success); | 44 | auto inspectionCommand = ResourceControl::Inspection::PropertyInspection(mail, "testInspection", success); |