comparison 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
comparison
equal deleted inserted replaced
887:4066e6f2d134 888:d44b845c1c89
64 64
65 #if defined(_WIN32) 65 #if defined(_WIN32)
66 #error Support your platform here 66 #error Support your platform here
67 67
68 #elif defined(__linux) 68 #elif defined(__linux)
69 manager.RegisterPlugin("./libPluginTest.so"); 69 //manager.RegisterPlugin("./libPluginTest.so");
70 //ASSERT_THROW(manager.RegisterPlugin("./libPluginTest.so"), OrthancException);
71
72 manager.ScanFolderForPlugins(".", true);
70 73
71 #else 74 #else
72 #error Support your platform here 75 #error Support your platform here
73 #endif 76 #endif
74 } 77 }