From c0a8d67cde03e33bf21e0f186f85d4c89c7ff572 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 8 Jul 2015 09:57:40 +0200 Subject: Extracted resource config --- tests/clientapitest.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests') 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: result.exec(); QCOMPARE(result.size(), 1); } + + Akonadi2::Store::remove(res, "resourceconfig"); + { + Akonadi2::Query query; + query.resources << "resourceconfig"; + async::SyncListResult result(Akonadi2::Store::load(query)); + result.exec(); + QCOMPARE(result.size(), 0); + } } }; -- cgit v1.2.3