From e297fb92c2c0e344d36e0aef57921f6b9b921a61 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 31 May 2015 20:16:23 +0200 Subject: Moved default read/write property mapper to TypeImplementation There is always exactly one default buffer that we can centralize in TypeImplementation. --- tests/domainadaptortest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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(); + mResourceWriteMapper = Akonadi2::ApplicationDomain::TypeImplementation::initializeWritePropertyMapper(); } }; @@ -36,7 +36,7 @@ private Q_SLOTS: void testCreateBufferPart() { - auto writeMapper = initializeWritePropertyMapper(); + auto writeMapper = Akonadi2::ApplicationDomain::TypeImplementation::initializeWritePropertyMapper(); Akonadi2::ApplicationDomain::Event event; event.setProperty("summary", "foo"); -- cgit v1.2.3