diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-24 12:23:51 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-24 12:23:51 +0200 |
commit | 9cdb03ed685901b477db46be98b6e272c299b821 (patch) | |
tree | e3a3be6d5d4705b052d1b93c866e2b9cc7d44ced /tests/clientapitest.cpp | |
parent | 31e19575f79e42a9bbf20398539ac9a1de4dac86 (diff) | |
download | sink-9cdb03ed685901b477db46be98b6e272c299b821.tar.gz sink-9cdb03ed685901b477db46be98b6e272c299b821.zip |
Documentation on what tests are supposed to test.
Diffstat (limited to 'tests/clientapitest.cpp')
-rw-r--r-- | tests/clientapitest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp index 231e773..665d29b 100644 --- a/tests/clientapitest.cpp +++ b/tests/clientapitest.cpp | |||
@@ -28,6 +28,11 @@ public: | |||
28 | QWeakPointer<Akonadi2::ResultProvider<Akonadi2::ApplicationDomain::Event::Ptr> > capturedResultProvider; | 28 | QWeakPointer<Akonadi2::ResultProvider<Akonadi2::ApplicationDomain::Event::Ptr> > capturedResultProvider; |
29 | }; | 29 | }; |
30 | 30 | ||
31 | /** | ||
32 | * Test of the client api implementation. | ||
33 | * | ||
34 | * This test works with injected dummy facades and thus doesn't write to storage. | ||
35 | */ | ||
31 | class ClientAPITest : public QObject | 36 | class ClientAPITest : public QObject |
32 | { | 37 | { |
33 | Q_OBJECT | 38 | Q_OBJECT |
@@ -85,6 +90,7 @@ private Q_SLOTS: | |||
85 | QTRY_VERIFY(!facade->capturedResultProvider); | 90 | QTRY_VERIFY(!facade->capturedResultProvider); |
86 | } | 91 | } |
87 | 92 | ||
93 | //TODO: This test doesn't belong to this testsuite | ||
88 | void resourceManagement() | 94 | void resourceManagement() |
89 | { | 95 | { |
90 | ResourceConfig::clear(); | 96 | ResourceConfig::clear(); |