summaryrefslogtreecommitdiff
path: root/tests/logic_.h
diff options
context:
space:
mode:
authorsangwan.kwon <sangwan.kwon@samsung.com>2016-05-18 18:43:25 +0900
committersangwan.kwon <sangwan.kwon@samsung.com>2016-05-18 18:46:01 +0900
commita02c931e7f2ca3c0d4774e954d4b896778884ff6 (patch)
tree0134c53dbe35f7d20db3fd3fc8e318ee466e15df /tests/logic_.h
parentee9e1a6a8eb9e4c2fcd49cdcefa9e81820a5e529 (diff)
downloadcert-checker-a02c931e7f2ca3c0d4774e954d4b896778884ff6.tar.gz
cert-checker-a02c931e7f2ca3c0d4774e954d4b896778884ff6.tar.bz2
cert-checker-a02c931e7f2ca3c0d4774e954d4b896778884ff6.zip
Add TC about timer
Change-Id: Ia023c6caf553c1589ea50779670a3a066cf8c5d4
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;
};