diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-28 15:29:18 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-28 15:30:15 +0200 |
commit | ca5020095abfb76e63bd801e9722c07193eb05f5 (patch) | |
tree | 34d6344e982adcea4652a3ccb6bfb43b118a5189 /tests | |
parent | a08984c450b1cd2584272b0d57a2f95ae3d074c3 (diff) | |
download | sink-ca5020095abfb76e63bd801e9722c07193eb05f5.tar.gz sink-ca5020095abfb76e63bd801e9722c07193eb05f5.zip |
A single propertymapper for both directions
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 2b7455a..df44819 100644 --- a/tests/domainadaptortest.cpp +++ b/tests/domainadaptortest.cpp | |||
@@ -47,7 +47,7 @@ private slots: | |||
47 | 47 | ||
48 | void testCreateBufferPart() | 48 | void testCreateBufferPart() |
49 | { | 49 | { |
50 | auto writeMapper = QSharedPointer<WritePropertyMapper>::create(); | 50 | auto writeMapper = QSharedPointer<PropertyMapper>::create(); |
51 | Sink::ApplicationDomain::TypeImplementation<Sink::ApplicationDomain::Event>::configure(*writeMapper); | 51 | Sink::ApplicationDomain::TypeImplementation<Sink::ApplicationDomain::Event>::configure(*writeMapper); |
52 | 52 | ||
53 | Sink::ApplicationDomain::Event event; | 53 | Sink::ApplicationDomain::Event event; |
@@ -100,7 +100,7 @@ private slots: | |||
100 | 100 | ||
101 | void testMail() | 101 | void testMail() |
102 | { | 102 | { |
103 | auto writeMapper = QSharedPointer<WritePropertyMapper>::create(); | 103 | auto writeMapper = QSharedPointer<PropertyMapper>::create(); |
104 | Sink::ApplicationDomain::TypeImplementation<Sink::ApplicationDomain::Mail>::configure(*writeMapper); | 104 | Sink::ApplicationDomain::TypeImplementation<Sink::ApplicationDomain::Mail>::configure(*writeMapper); |
105 | 105 | ||
106 | Sink::ApplicationDomain::Mail mail; | 106 | Sink::ApplicationDomain::Mail mail; |