diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-10-27 02:55:49 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-10-29 18:46:33 +0200 |
commit | 1f1d27cc14bb1ed7b74c541e523d8f77b0a98dbb (patch) | |
tree | c6bdb8ec114aa87afbb068d46f5e0a1403088257 /test/object-invoke.cpp | |
parent | fb1a5c0416ebd516a5ef01ba76deed1b602828ba (diff) |
test: object-invoke: Invoke method in blocking mode
Change the object-invoke test to perform the second method invocation
operation in blocking mode.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/object-invoke.cpp')
-rw-r--r-- | test/object-invoke.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/object-invoke.cpp b/test/object-invoke.cpp index f6ae2604..6582fa75 100644 --- a/test/object-invoke.cpp +++ b/test/object-invoke.cpp @@ -5,7 +5,6 @@ * object-invoke.cpp - Cross-thread Object method invocation test */ -#include <chrono> #include <iostream> #include <thread> @@ -103,8 +102,7 @@ protected: thread_.start(); object.invokeMethod(&InvokedObject::method, - ConnectionTypeAuto, 42); - this_thread::sleep_for(chrono::milliseconds(100)); + ConnectionTypeBlocking, 42); switch (object.status()) { case InvokedObject::NoCall: |