1 #define BOOST_TEST_MODULE (PluginFactory_t) 2 #include "boost/test/unit_test.hpp" 7 #include "cetlib_except/exception.h" 20 #if defined(PLUGIN_FACTORY_SEARCH_PATH) 39 PluginTypeDeducer_v<cettest::TestPluginBase>);
41 PluginTypeDeducer_v<cettest::TestPluginBase>);
46 auto p = pf.makePlugin<std::unique_ptr<cettest::TestPluginBase>,
std::string>(
64 BOOST_CHECK_EXCEPTION(pf.makePlugin<std::unique_ptr<cettest::TestPluginBase>>(
65 "TestPluginX"s,
"Hi"s),
68 return e.category() ==
"Configuration" &&
69 std::string{e.what()}.find(
"ETERNAL") !=
74 BOOST_AUTO_TEST_SUITE_END()
static LibraryManager::nothrow_t nothrow
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
PluginFactoryTestFixture()
BOOST_AUTO_TEST_CASE(checkType)
cet::coded_exception< error, detail::translate > exception