summaryrefslogtreecommitdiffstats
path: root/tests/testimplementations.h
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsystems.com>2018-05-19 11:04:50 -0700
committerChristian Mollekopf <mollekopf@kolabsystems.com>2018-05-19 11:04:50 -0700
commit84242164b171b98068f831345844c8781cec9ec3 (patch)
tree164bb6dd7a376af953504501853e24c13a96e5ff /tests/testimplementations.h
parentfbe2ae8dd04634c92e0237a92dcafcb4d940f91c (diff)
downloadsink-84242164b171b98068f831345844c8781cec9ec3.tar.gz
sink-84242164b171b98068f831345844c8781cec9ec3.zip
Exports for windows
Diffstat (limited to 'tests/testimplementations.h')
-rw-r--r--tests/testimplementations.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/testimplementations.h b/tests/testimplementations.h
index c7f4ce0..d15fbd4 100644
--- a/tests/testimplementations.h
+++ b/tests/testimplementations.h
@@ -19,6 +19,7 @@
19 */ 19 */
20#pragma once 20#pragma once
21 21
22#include "sinktest_export.h"
22#include <KAsync/Async> 23#include <KAsync/Async>
23 24
24#include <common/domainadaptor.h> 25#include <common/domainadaptor.h>
@@ -33,7 +34,7 @@
33#include "mail_generated.h" 34#include "mail_generated.h"
34#include "createentity_generated.h" 35#include "createentity_generated.h"
35 36
36class TestEventAdaptorFactory : public DomainTypeAdaptorFactory<Sink::ApplicationDomain::Event> 37class SINKTEST_EXPORT TestEventAdaptorFactory : public DomainTypeAdaptorFactory<Sink::ApplicationDomain::Event>
37{ 38{
38public: 39public:
39 TestEventAdaptorFactory() : DomainTypeAdaptorFactory() 40 TestEventAdaptorFactory() : DomainTypeAdaptorFactory()
@@ -43,7 +44,7 @@ public:
43 virtual ~TestEventAdaptorFactory(){}; 44 virtual ~TestEventAdaptorFactory(){};
44}; 45};
45 46
46class TestMailAdaptorFactory : public DomainTypeAdaptorFactory<Sink::ApplicationDomain::Mail> 47class SINKTEST_EXPORT TestMailAdaptorFactory : public DomainTypeAdaptorFactory<Sink::ApplicationDomain::Mail>
47{ 48{
48public: 49public:
49 TestMailAdaptorFactory() : DomainTypeAdaptorFactory() 50 TestMailAdaptorFactory() : DomainTypeAdaptorFactory()
@@ -53,7 +54,7 @@ public:
53 virtual ~TestMailAdaptorFactory(){}; 54 virtual ~TestMailAdaptorFactory(){};
54}; 55};
55 56
56class TestResourceAccess : public Sink::ResourceAccessInterface 57class SINKTEST_EXPORT TestResourceAccess : public Sink::ResourceAccessInterface
57{ 58{
58 Q_OBJECT 59 Q_OBJECT
59public: 60public:
@@ -85,7 +86,7 @@ public slots:
85 } 86 }
86}; 87};
87 88
88class TestResourceFacade : public Sink::GenericFacade<Sink::ApplicationDomain::Event> 89class SINKTEST_EXPORT TestResourceFacade : public Sink::GenericFacade<Sink::ApplicationDomain::Event>
89{ 90{
90public: 91public:
91 TestResourceFacade(const Sink::ResourceContext &resourceContext) 92 TestResourceFacade(const Sink::ResourceContext &resourceContext)
@@ -97,7 +98,7 @@ public:
97 } 98 }
98}; 99};
99 100
100class TestMailResourceFacade : public Sink::GenericFacade<Sink::ApplicationDomain::Mail> 101class SINKTEST_EXPORT TestMailResourceFacade : public Sink::GenericFacade<Sink::ApplicationDomain::Mail>
101{ 102{
102public: 103public:
103 TestMailResourceFacade(const Sink::ResourceContext &resourceContext) 104 TestMailResourceFacade(const Sink::ResourceContext &resourceContext)
@@ -109,7 +110,7 @@ public:
109 } 110 }
110}; 111};
111 112
112class TestResource : public Sink::GenericResource 113class SINKTEST_EXPORT TestResource : public Sink::GenericResource
113{ 114{
114public: 115public:
115 TestResource(const Sink::ResourceContext &resourceContext, QSharedPointer<Sink::Pipeline> pipeline) : Sink::GenericResource(resourceContext, pipeline) 116 TestResource(const Sink::ResourceContext &resourceContext, QSharedPointer<Sink::Pipeline> pipeline) : Sink::GenericResource(resourceContext, pipeline)