summaryrefslogtreecommitdiff
path: root/src/components/functional_module/test/plugins/mock_generic_module.cc
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2018-10-19 15:05:09 -0400
committerGitHub <noreply@github.com>2018-10-19 15:05:09 -0400
commitd36316738785c96dab2ee892762ed08c059fffde (patch)
tree168a7c0705b5bc8f0dee7ce4b511ccf71759d9b4 /src/components/functional_module/test/plugins/mock_generic_module.cc
parent7f7fcbb998fb17f2954fd103349af67ea9b71a3f (diff)
parent83c5e805346d55ec7fb9f4ba8b6f6855d992273e (diff)
downloadsdl_core-hotfix/templates_updates.tar.gz
Release 5.0.0
Diffstat (limited to 'src/components/functional_module/test/plugins/mock_generic_module.cc')
-rw-r--r--src/components/functional_module/test/plugins/mock_generic_module.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/components/functional_module/test/plugins/mock_generic_module.cc b/src/components/functional_module/test/plugins/mock_generic_module.cc
deleted file mode 100644
index dcf6d7d4fe..0000000000
--- a/src/components/functional_module/test/plugins/mock_generic_module.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "mock_generic_module.h"
-
-using functional_modules::GenericModule;
-using functional_modules::RCFunctionID;
-using functional_modules::PluginInfo;
-
-using ::testing::_;
-using ::testing::Return;
-
-MockGenericModule::MockGenericModule() : GenericModule(19) {
- PluginInfo info;
- info.name = "MockGenericModule";
- info.version = 1;
- info.rc_function_list.push_back(static_cast<RCFunctionID>(101));
- info.hmi_function_list.push_back("HMI-Func-1");
-
- EXPECT_CALL(*this, GetPluginInfo()).Times(2).WillRepeatedly(Return(info));
- EXPECT_CALL(*this, set_service(_)).Times(1);
-}
-
-extern "C" GenericModule* Create() {
- return new MockGenericModule();
-}