| 26 | |
| 27 | |
| 28 | void |
| 29 | PlugInManager::load( const std::string &libraryFileName, |
| 30 | const PlugInParameters ¶meters ) |
| 31 | { |
| 32 | PlugInInfo info; |
| 33 | info.m_fileName = libraryFileName; |
| 34 | info.m_manager = new DynamicLibraryManager( libraryFileName ); |
| 35 | |
| 36 | TestPlugInSignature plug = (TestPlugInSignature)((uintptr_t)info.m_manager->findSymbol( |
| 37 | CPPUNIT_STRINGIZE( CPPUNIT_PLUGIN_EXPORTED_NAME ) )); |
| 38 | info.m_interface = (*plug)(); |
| 39 | |
| 40 | m_plugIns.push_back( info ); |
| 41 | |
| 42 | info.m_interface->initialize( &TestFactoryRegistry::getRegistry(), parameters ); |
| 43 | } |
| 44 | |
| 45 | |
| 46 | void |
nothing calls this directly
no test coverage detected