diff options
author | JackLivio <jack@livio.io> | 2018-10-19 15:05:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-19 15:05:09 -0400 |
commit | d36316738785c96dab2ee892762ed08c059fffde (patch) | |
tree | 168a7c0705b5bc8f0dee7ce4b511ccf71759d9b4 /src/components/functional_module/test/plugins/mock_generic_module.cc | |
parent | 7f7fcbb998fb17f2954fd103349af67ea9b71a3f (diff) | |
parent | 83c5e805346d55ec7fb9f4ba8b6f6855d992273e (diff) | |
download | sdl_core-hotfix/templates_updates.tar.gz |
Merge pull request #2572 from smartdevicelink/release/5.0.05.0.0hotfix/templates_updatesfeature/show_app_menufeature/progress_bar_seekfeature/open-menu-rpcfeature/open-menu-rfeature/button
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.cc | 23 |
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(); -} |