summaryrefslogtreecommitdiffstats
path: root/tests/clientapitest.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-08 09:57:40 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-08 09:57:40 +0200
commitc0a8d67cde03e33bf21e0f186f85d4c89c7ff572 (patch)
tree26e5ee4213faf334bc57f2fd9243bcbbee2a83de /tests/clientapitest.cpp
parent228a3380328535f30fcb187cae7db2415ec2d314 (diff)
downloadsink-c0a8d67cde03e33bf21e0f186f85d4c89c7ff572.tar.gz
sink-c0a8d67cde03e33bf21e0f186f85d4c89c7ff572.zip
Extracted resource config
Diffstat (limited to 'tests/clientapitest.cpp')
-rw-r--r--tests/clientapitest.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp
index e7db0d0..5eb16da 100644
--- a/tests/clientapitest.cpp
+++ b/tests/clientapitest.cpp
@@ -190,6 +190,15 @@ private Q_SLOTS:
190 result.exec(); 190 result.exec();
191 QCOMPARE(result.size(), 1); 191 QCOMPARE(result.size(), 1);
192 } 192 }
193
194 Akonadi2::Store::remove(res, "resourceconfig");
195 {
196 Akonadi2::Query query;
197 query.resources << "resourceconfig";
198 async::SyncListResult<Akonadi2::ApplicationDomain::AkonadiResource::Ptr> result(Akonadi2::Store::load<Akonadi2::ApplicationDomain::AkonadiResource>(query));
199 result.exec();
200 QCOMPARE(result.size(), 0);
201 }
193 } 202 }
194 203
195}; 204};