comparison UnitTestsSources/PluginsTests.cpp @ 894:690aeb4cb899 plugins

REST callbacks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Jun 2014 17:31:09 +0200
parents f57802f8b4dc
children 9b8298234254
comparison
equal deleted inserted replaced
893:f57802f8b4dc 894:690aeb4cb899
56 ASSERT_FALSE(l.HasFunction("world")); 56 ASSERT_FALSE(l.HasFunction("world"));
57 57
58 #else 58 #else
59 #error Support your platform here 59 #error Support your platform here
60 #endif 60 #endif
61
62 } 61 }
63 62
64 63
65 TEST(SharedLibrary, Development) 64 TEST(SharedLibrary, Development)
66 { 65 {
68 67
69 #if defined(_WIN32) 68 #if defined(_WIN32)
70 //#error Support your platform here 69 //#error Support your platform here
71 70
72 #elif defined(__linux) 71 #elif defined(__linux)
73 //manager.RegisterPlugin("./libPluginTest.so"); 72 manager.RegisterPlugin("./libPluginTest.so");
74 //ASSERT_THROW(manager.RegisterPlugin("./libPluginTest.so"), OrthancException); 73 ASSERT_THROW(manager.RegisterPlugin("./libPluginTest.so"), OrthancException);
75 74
76 manager.ScanFolderForPlugins(".", true); 75 //manager.ScanFolderForPlugins(".", true);
77 76
78 #else 77 #else
79 #error Support your platform here 78 #error Support your platform here
80 #endif 79 #endif
81 } 80 }