diff UnitTestsSources/PluginsTests.cpp @ 888:d44b845c1c89 plugins

recursive scan for plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 14 Jun 2014 19:47:51 +0200
parents 4066e6f2d134
children f57802f8b4dc
line wrap: on
line diff
--- a/UnitTestsSources/PluginsTests.cpp	Sat Jun 14 19:20:38 2014 +0200
+++ b/UnitTestsSources/PluginsTests.cpp	Sat Jun 14 19:47:51 2014 +0200
@@ -66,7 +66,10 @@
 #error Support your platform here
 
 #elif defined(__linux)
-  manager.RegisterPlugin("./libPluginTest.so");
+  //manager.RegisterPlugin("./libPluginTest.so");
+  //ASSERT_THROW(manager.RegisterPlugin("./libPluginTest.so"), OrthancException);
+
+  manager.ScanFolderForPlugins(".", true);
 
 #else
 #error Support your platform here