Go to the source code of this file.
#define BOOST_TEST_MODULE (ProductRegistryHelper_t) |
BOOST_AUTO_TEST_CASE |
( |
produces |
| ) |
|
Definition at line 37 of file ProductRegistryHelper_t.cc.
41 BOOST_CHECK_EXCEPTION((prh.reconstitutes<
int,
InEvent>(
"label",
"instance")),
43 matches{
"'produces' should have been called instead"});
void produces(std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
BOOST_AUTO_TEST_CASE |
( |
reconstitutes |
| ) |
|
Definition at line 46 of file ProductRegistryHelper_t.cc.
50 BOOST_CHECK_EXCEPTION(
53 matches{
"'reconstitutes' should have been called instead"});
TypeLabel const & reconstitutes(std::string const &modLabel, std::string const &instanceName={})
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
BOOST_AUTO_TEST_CASE |
( |
reconstitutes_different_module_labels |
| ) |
|
Definition at line 56 of file ProductRegistryHelper_t.cc.
61 BOOST_CHECK_NO_THROW(prh.fillDescriptions(
md));
TypeLabel const & reconstitutes(std::string const &modLabel, std::string const &instanceName={})
BOOST_AUTO_TEST_CASE |
( |
reconstitutes_assns_reversed_types |
| ) |
|
Definition at line 64 of file ProductRegistryHelper_t.cc.
69 BOOST_CHECK_EXCEPTION(
70 prh.fillDescriptions(
md),
72 matches{
"That friendly name has already been registered for this module."});
TypeLabel const & reconstitutes(std::string const &modLabel, std::string const &instanceName={})
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception