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/genericresourcetest.cpp | |
parent | 31e19575f79e42a9bbf20398539ac9a1de4dac86 (diff) | |
download | sink-9cdb03ed685901b477db46be98b6e272c299b821.tar.gz sink-9cdb03ed685901b477db46be98b6e272c299b821.zip |
Documentation on what tests are supposed to test.
Diffstat (limited to 'tests/genericresourcetest.cpp')
-rw-r--r-- | tests/genericresourcetest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/genericresourcetest.cpp b/tests/genericresourcetest.cpp index 60b1dab..6dd4108 100644 --- a/tests/genericresourcetest.cpp +++ b/tests/genericresourcetest.cpp | |||
@@ -20,6 +20,11 @@ static void removeFromDisk(const QString &name) | |||
20 | store.removeFromDisk(); | 20 | store.removeFromDisk(); |
21 | } | 21 | } |
22 | 22 | ||
23 | /** | ||
24 | * Test of the generic resource implementation. | ||
25 | * | ||
26 | * This test relies on a working pipeline implementation, and writes to storage. | ||
27 | */ | ||
23 | class GenericResourceTest : public QObject | 28 | class GenericResourceTest : public QObject |
24 | { | 29 | { |
25 | Q_OBJECT | 30 | Q_OBJECT |
@@ -33,6 +38,7 @@ private Q_SLOTS: | |||
33 | Akonadi2::Log::setDebugOutputLevel(Akonadi2::Log::Trace); | 38 | Akonadi2::Log::setDebugOutputLevel(Akonadi2::Log::Trace); |
34 | } | 39 | } |
35 | 40 | ||
41 | ///Ensure the resource can process messages | ||
36 | void testProcessCommand() | 42 | void testProcessCommand() |
37 | { | 43 | { |
38 | flatbuffers::FlatBufferBuilder eventFbb; | 44 | flatbuffers::FlatBufferBuilder eventFbb; |