diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/domainadaptortest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/domainadaptortest.cpp b/tests/domainadaptortest.cpp index 1e285dc..97a78c2 100644 --- a/tests/domainadaptortest.cpp +++ b/tests/domainadaptortest.cpp | |||
@@ -18,7 +18,7 @@ class TestFactory : public DomainTypeAdaptorFactory<Akonadi2::ApplicationDomain: | |||
18 | public: | 18 | public: |
19 | TestFactory() | 19 | TestFactory() |
20 | { | 20 | { |
21 | mResourceWriteMapper = initializeWritePropertyMapper<Akonadi2::ApplicationDomain::Buffer::EventBuilder>(); | 21 | mResourceWriteMapper = Akonadi2::ApplicationDomain::TypeImplementation<Akonadi2::ApplicationDomain::Event>::initializeWritePropertyMapper(); |
22 | } | 22 | } |
23 | }; | 23 | }; |
24 | 24 | ||
@@ -36,7 +36,7 @@ private Q_SLOTS: | |||
36 | 36 | ||
37 | void testCreateBufferPart() | 37 | void testCreateBufferPart() |
38 | { | 38 | { |
39 | auto writeMapper = initializeWritePropertyMapper<Akonadi2::ApplicationDomain::Buffer::EventBuilder>(); | 39 | auto writeMapper = Akonadi2::ApplicationDomain::TypeImplementation<Akonadi2::ApplicationDomain::Event>::initializeWritePropertyMapper(); |
40 | 40 | ||
41 | Akonadi2::ApplicationDomain::Event event; | 41 | Akonadi2::ApplicationDomain::Event event; |
42 | event.setProperty("summary", "foo"); | 42 | event.setProperty("summary", "foo"); |