17 #include <gtest/gtest.h> 24 #ifndef DYNAMIC_ADDON_PATH 25 #define DYNAMIC_ADDON_PATH "./libtest_dynamic_addon.so" 32 TEST(AddonManager, DISABLED_CanCreateDynamicAddons)
42 param.
Value =
"value";
45 addonsManager->Register(config);
46 addonsManager->Start();
55 ASSERT_EQ(params.Parameters[0].Name,
"name");
56 ASSERT_EQ(params.Parameters[0].Value,
"value");
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val)
Addon interface definition GNU LGPL.
const char TestDynamicAddonId[]
AddonsManager::UniquePtr CreateAddonsManager(const Common::Logger::SharedPtr &logger)
Get instance of addons core.
TEST(AddonManager, DISABLED_CanCreateDynamicAddons)
#define ASSERT_TRUE(condition)
AddonFactory::UniquePtr CreateDynamicAddonFactory(const char *modulePath)
#define ASSERT_EQ(val1, val2)
#define DYNAMIC_ADDON_PATH
std::shared_ptr< logger > stderr_color_mt(const std::string &logger_name)
std::vector< Parameter > Parameters