summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-25 08:27:06 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-25 09:23:55 +0100
commit22af1ed535b4afc8db3804e72bc5adb1a1b28d60 (patch)
tree07665f41d5b40d658e95a64bb76020f1fd9d088e /tests
parent64d7d7bdd1edb2bcc305ca007784d0708cf7ef3c (diff)
downloadsink-22af1ed535b4afc8db3804e72bc5adb1a1b28d60.tar.gz
sink-22af1ed535b4afc8db3804e72bc5adb1a1b28d60.zip
Added the flush command.
Instead of trying to actually flush queues, we send a special command through the same queues as the other commands and can thus guarantee that the respective commands have been processed without blocking anything.
Diffstat (limited to 'tests')
-rw-r--r--tests/testimplementations.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/testimplementations.h b/tests/testimplementations.h
index 111c884..6fe08f7 100644
--- a/tests/testimplementations.h
+++ b/tests/testimplementations.h
@@ -66,10 +66,6 @@ public:
66 { 66 {
67 return KAsync::null<void>(); 67 return KAsync::null<void>();
68 } 68 }
69 KAsync::Job<void> synchronizeResource(bool remoteSync, bool localSync) Q_DECL_OVERRIDE
70 {
71 return KAsync::null<void>();
72 }
73 KAsync::Job<void> synchronizeResource(const Sink::QueryBase &) Q_DECL_OVERRIDE 69 KAsync::Job<void> synchronizeResource(const Sink::QueryBase &) Q_DECL_OVERRIDE
74 { 70 {
75 return KAsync::null<void>(); 71 return KAsync::null<void>();