From a43bd5dbc3e73ddedd55b79d7ffc06ac62e1a2fd Mon Sep 17 00:00:00 2001 From: "sangwan.kwon" Date: Fri, 20 May 2016 10:11:55 +0900 Subject: Seperate logic to thread for several client connection Change-Id: I8424f68e23f32cc8104c9c3987bc2054c6c034ad --- tests/logic_.h | 4 ++-- tests/test_logic.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') 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() -- cgit v1.2.3