diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-13 00:04:05 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-13 00:04:05 +0200 |
commit | 2eb3810b66de3130f3e650627380c28a96acded7 (patch) | |
tree | 947716efcdfc0be52958e8659defbc19db9e6b6d /tests/pipelinetest.cpp | |
parent | 1b39c149e1fe8705f7fcbd8840de85414c652dc1 (diff) | |
download | sink-2eb3810b66de3130f3e650627380c28a96acded7.tar.gz sink-2eb3810b66de3130f3e650627380c28a96acded7.zip |
Moved test implementations to central location.
Diffstat (limited to 'tests/pipelinetest.cpp')
-rw-r--r-- | tests/pipelinetest.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/pipelinetest.cpp b/tests/pipelinetest.cpp index 4cff511..9aa7024 100644 --- a/tests/pipelinetest.cpp +++ b/tests/pipelinetest.cpp | |||
@@ -2,6 +2,8 @@ | |||
2 | 2 | ||
3 | #include <QString> | 3 | #include <QString> |
4 | 4 | ||
5 | #include "testimplementations.h" | ||
6 | |||
5 | #include "event_generated.h" | 7 | #include "event_generated.h" |
6 | #include "entity_generated.h" | 8 | #include "entity_generated.h" |
7 | #include "metadata_generated.h" | 9 | #include "metadata_generated.h" |
@@ -18,17 +20,6 @@ | |||
18 | #include "log.h" | 20 | #include "log.h" |
19 | #include "domainadaptor.h" | 21 | #include "domainadaptor.h" |
20 | 22 | ||
21 | class TestEventAdaptorFactory : public DomainTypeAdaptorFactory<Akonadi2::ApplicationDomain::Event, Akonadi2::ApplicationDomain::Buffer::Event, Akonadi2::ApplicationDomain::Buffer::EventBuilder> | ||
22 | { | ||
23 | public: | ||
24 | TestEventAdaptorFactory() | ||
25 | : DomainTypeAdaptorFactory() | ||
26 | { | ||
27 | } | ||
28 | |||
29 | virtual ~TestEventAdaptorFactory() {}; | ||
30 | }; | ||
31 | |||
32 | static void removeFromDisk(const QString &name) | 23 | static void removeFromDisk(const QString &name) |
33 | { | 24 | { |
34 | Akonadi2::Storage store(Akonadi2::Store::storageLocation(), name, Akonadi2::Storage::ReadWrite); | 25 | Akonadi2::Storage store(Akonadi2::Store::storageLocation(), name, Akonadi2::Storage::ReadWrite); |