From 9a03eb1a54c6289773bc1b8eb96181ed01553927 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 20 Oct 2016 15:25:05 +0200 Subject: TypeImplementation cleanup --- tests/domainadaptortest.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/domainadaptortest.cpp b/tests/domainadaptortest.cpp index f4ac008..c29e61b 100644 --- a/tests/domainadaptortest.cpp +++ b/tests/domainadaptortest.cpp @@ -18,7 +18,8 @@ class TestFactory : public DomainTypeAdaptorFactory::initializeWritePropertyMapper(); + mResourceWriteMapper = QSharedPointer>::create(); + Sink::ApplicationDomain::TypeImplementation::configure(*mResourceWriteMapper); } }; @@ -39,7 +40,8 @@ private slots: void testCreateBufferPart() { - auto writeMapper = Sink::ApplicationDomain::TypeImplementation::initializeWritePropertyMapper(); + auto writeMapper = QSharedPointer>::create(); + Sink::ApplicationDomain::TypeImplementation::configure(*writeMapper); Sink::ApplicationDomain::Event event; event.setProperty("summary", "foo"); -- cgit v1.2.3