summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-02 21:32:56 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-02 21:32:56 +0100
commit41006b5cab7b0260f8abc42aa2d2e959a013764e (patch)
treefe8be353228233f45119964cbab4b578b496ac85 /tests
parent222cd83d659c3ff12380ecc5afd3cb29283e9ccd (diff)
downloadsink-41006b5cab7b0260f8abc42aa2d2e959a013764e.tar.gz
sink-41006b5cab7b0260f8abc42aa2d2e959a013764e.zip
interresource move
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt1
-rw-r--r--tests/clientapitest.cpp4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index f8fe3b3..a69fcb3 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -47,6 +47,7 @@ auto_tests (
47 accountstest 47 accountstest
48 testaccounttest 48 testaccounttest
49 dummyresourcemailtest 49 dummyresourcemailtest
50 interresourcemovetest
50) 51)
51generate_flatbuffers(dummyresourcetest calendar) 52generate_flatbuffers(dummyresourcetest calendar)
52target_link_libraries(dummyresourcetest sink_resource_dummy) 53target_link_libraries(dummyresourcetest sink_resource_dummy)
diff --git a/tests/clientapitest.cpp b/tests/clientapitest.cpp
index ae9286c..71be514 100644
--- a/tests/clientapitest.cpp
+++ b/tests/clientapitest.cpp
@@ -41,6 +41,10 @@ public:
41 { 41 {
42 return KAsync::null<void>(); 42 return KAsync::null<void>();
43 }; 43 };
44 KAsync::Job<void> move(const T &domainObject, const QByteArray &) Q_DECL_OVERRIDE
45 {
46 return KAsync::null<void>();
47 };
44 KAsync::Job<void> remove(const T &domainObject) Q_DECL_OVERRIDE 48 KAsync::Job<void> remove(const T &domainObject) Q_DECL_OVERRIDE
45 { 49 {
46 return KAsync::null<void>(); 50 return KAsync::null<void>();