diff options
Diffstat (limited to 'PluginControlInterface/test/CAmControlReceiverShadowTest.h')
-rw-r--r-- | PluginControlInterface/test/CAmControlReceiverShadowTest.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PluginControlInterface/test/CAmControlReceiverShadowTest.h b/PluginControlInterface/test/CAmControlReceiverShadowTest.h new file mode 100644 index 0000000..42cec0d --- /dev/null +++ b/PluginControlInterface/test/CAmControlReceiverShadowTest.h @@ -0,0 +1,36 @@ +/* + * CAmControlReceiverShadowTest.h + * + * Created on: Mar 2, 2012 + * Author: christian + */ + +#ifndef CAMCONTROLRECEIVERSHADOWTEST_H_ +#define CAMCONTROLRECEIVERSHADOWTEST_H_ + +#include <gtest/gtest.h> +#include <gmock/gmock.h> +#include "MockIAmControlReceive.h" +#include "shared/CAmSocketHandler.h" +#include "shared/CAmSerializer.h" +#include "../include/IAmControlReceiverShadow.h" + +namespace am +{ + +class CAmControlReceiverShadowTest: public ::testing::Test +{ +public: + CAmSocketHandler psocketHandler; + MockIAmControlReceive pMockReceive; + IAmControlReceiverShadow pShadow; + void timerCallback(sh_timerHandle_t handle, void* userData); + TAmShTimerCallBack<CAmControlReceiverShadowTest> ptimerCallback; + CAmControlReceiverShadowTest(); + ~CAmControlReceiverShadowTest(); + void SetUp(); + void TearDown(); +}; + +} /* namespace am */ +#endif /* CAMCONTROLRECEIVERSHADOWTEST_H_ */ |