summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/logic_.h4
-rw-r--r--tests/test_logic.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/logic_.h b/tests/logic_.h
index 2a14a62..f8dcf95 100644
--- a/tests/logic_.h
+++ b/tests/logic_.h
@@ -93,9 +93,9 @@ public:
{
m_logic.run(timeout);
}
- bool is_gmain_loop_running()
+ bool is_running()
{
- return m_logic.is_gmain_loop_running();
+ return m_logic.is_running();
}
private:
diff --git a/tests/test_logic.cpp b/tests/test_logic.cpp
index 397b792..56c8290 100644
--- a/tests/test_logic.cpp
+++ b/tests/test_logic.cpp
@@ -59,10 +59,10 @@ BOOST_AUTO_TEST_CASE(logic_setup) {
BOOST_REQUIRE(setup() == NO_ERROR);
// double setup
- BOOST_REQUIRE(setup() == INTERNAL_ERROR);
+ BOOST_REQUIRE(setup() == NO_ERROR);
// double setup
- BOOST_REQUIRE(setup() == INTERNAL_ERROR);
+ BOOST_REQUIRE(setup() == NO_ERROR);
}
BOOST_AUTO_TEST_CASE(logic_workflow_mixed) {
@@ -466,7 +466,7 @@ BOOST_AUTO_TEST_CASE(logic_workflow_gio_timeout) {
// Run gmainloop.
run(3);
- BOOST_REQUIRE(is_gmain_loop_running() == false);
+ BOOST_REQUIRE(is_running() == false);
}
BOOST_AUTO_TEST_SUITE_END()