summaryrefslogtreecommitdiff
path: root/tests/test_logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_logic.cpp')
-rw-r--r--tests/test_logic.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_logic.cpp b/tests/test_logic.cpp
index 8b32d7b..397b792 100644
--- a/tests/test_logic.cpp
+++ b/tests/test_logic.cpp
@@ -457,4 +457,16 @@ BOOST_AUTO_TEST_CASE(logic_workflow_timer) {
BOOST_REQUIRE(true);
}
+BOOST_AUTO_TEST_CASE(logic_workflow_gio_timeout) {
+
+ // Wait for setup.
+ BOOST_REQUIRE(setup() == NO_ERROR);
+ wait_for_worker();
+
+ // Run gmainloop.
+ run(3);
+
+ BOOST_REQUIRE(is_gmain_loop_running() == false);
+}
+
BOOST_AUTO_TEST_SUITE_END()