From a02c931e7f2ca3c0d4774e954d4b896778884ff6 Mon Sep 17 00:00:00 2001 From: "sangwan.kwon" Date: Wed, 18 May 2016 18:43:25 +0900 Subject: Add TC about timer Change-Id: Ia023c6caf553c1589ea50779670a3a066cf8c5d4 --- tests/logic_.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tests/logic_.h') diff --git a/tests/logic_.h b/tests/logic_.h index 690e986..a02a003 100644 --- a/tests/logic_.h +++ b/tests/logic_.h @@ -16,6 +16,7 @@ /* * @file logic_.h * @author Janusz Kozerski (j.kozerski@samsung.com) + * @author Sangwan Kwon (sangwan.kwon@samsung.com) * @version 1.0 * @brief This file is the tesst implementation of Logic class */ @@ -47,6 +48,9 @@ class Logic_ : public Logic { void reset_cnt(); void wait_for_worker(int installCnt, int uninstallCnt, int bufferCnt); + protected: + void job(void) override; + private: int m_installCnt; int m_uninstallCnt; @@ -74,6 +78,17 @@ public: m_logic.wait_for_worker(installCnt, uninstallCnt, bufferCnt); } + // timer operation + void timerStart(int interval) + { + m_logic.timerStart(interval); + } + + void timerStop() + { + m_logic.timerStop(); + } + private: Logic_ m_logic; }; -- cgit v1.2.3