diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-11 11:55:29 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-11 11:55:29 +0200 |
commit | 3a3118e768e1447dc7524328e84b8d7faef81fe1 (patch) | |
tree | af5582170ed6164fffc9365f34b17bf449c0db40 /tests/inspectiontest.cpp | |
parent | f9379318d801df204cc50385c5eca1f28e91755e (diff) | |
parent | ce2fd2666f084eebe443598f6f3740a02913091e (diff) | |
download | sink-3a3118e768e1447dc7524328e84b8d7faef81fe1.tar.gz sink-3a3118e768e1447dc7524328e84b8d7faef81fe1.zip |
Merge branch 'feature/notifications' into develop
Diffstat (limited to 'tests/inspectiontest.cpp')
-rw-r--r-- | tests/inspectiontest.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/inspectiontest.cpp b/tests/inspectiontest.cpp index 38bf23d..3e8a103 100644 --- a/tests/inspectiontest.cpp +++ b/tests/inspectiontest.cpp | |||
@@ -19,11 +19,10 @@ class InspectionTest : public QObject | |||
19 | private slots: | 19 | private slots: |
20 | void initTestCase() | 20 | void initTestCase() |
21 | { | 21 | { |
22 | Sink::Log::setDebugOutputLevel(Sink::Log::Trace); | 22 | auto factory = Sink::ResourceFactory::load("sink.dummy"); |
23 | auto factory = Sink::ResourceFactory::load("org.kde.dummy"); | ||
24 | QVERIFY(factory); | 23 | QVERIFY(factory); |
25 | ResourceConfig::addResource("org.kde.dummy.instance1", "org.kde.dummy"); | 24 | ResourceConfig::addResource("sink.dummy.instance1", "sink.dummy"); |
26 | Sink::Store::removeDataFromDisk(QByteArray("org.kde.dummy.instance1")).exec().waitForFinished(); | 25 | Sink::Store::removeDataFromDisk(QByteArray("sink.dummy.instance1")).exec().waitForFinished(); |
27 | } | 26 | } |
28 | 27 | ||
29 | void testInspection_data() | 28 | void testInspection_data() |
@@ -39,7 +38,7 @@ private slots: | |||
39 | using namespace Sink; | 38 | using namespace Sink; |
40 | using namespace Sink::ApplicationDomain; | 39 | using namespace Sink::ApplicationDomain; |
41 | 40 | ||
42 | 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()); |
43 | 42 | ||
44 | // testInspection is a magic property that the dummyresource supports | 43 | // testInspection is a magic property that the dummyresource supports |
45 | auto inspectionCommand = ResourceControl::Inspection::PropertyInspection(mail, "testInspection", success); | 44 | auto inspectionCommand = ResourceControl::Inspection::PropertyInspection(mail, "testInspection", success); |