* apply dll extension name according to OS.
Signed-off-by: Sung-Jae Lee <sj925.lee@samsung.com>
// Create PluginProxy with sample plugin
std::shared_ptr<PluginProxy> pp = PluginProxy::create(STRING(CMAKE_SAMPLE_PLUGIN_ABS_PATH));
ASSERT_EQ(pp->getPluginPath(), STRING(CMAKE_SAMPLE_PLUGIN_ABS_PATH));
+#ifdef __APPLE__
+ ASSERT_EQ(pp->getPluginName(), "libsome_parser.dylib");
+#else /* __APPLE__ */
ASSERT_EQ(pp->getPluginName(), "libsome_parser.so");
+#endif /* __APPLE__ */
ASSERT_NE(&pp->getPluginInstance(), nullptr);
// Operator '<<'