summaryrefslogtreecommitdiff
path: root/tests/logic_.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/logic_.h')
-rw-r--r--tests/logic_.h15
1 files changed, 15 insertions, 0 deletions
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;
};