MasterProductRegistry Test Fixture. More...
Public Types | |
typedef std::map< std::string, art::BranchKey > | BKmap_t |
BKmap_t associates a string with a art::BranchKey. | |
Public Member Functions | |
MPRGlobalTestFixture () | |
MPRGlobalTestFixture Constructor. | |
art::ProcessConfiguration * | fake_single_module_process (std::string const &tag, std::string const &processName, fhicl::ParameterSet const &moduleParams, std::string const &release=art::getReleaseVersion(), std::string const &pass=art::getPassID()) |
Create the ProcessConfiguration for a single module art process. | |
std::unique_ptr < art::BranchDescription > | fake_single_process_branch (std::string const &tag, std::string const &processName, std::string const &productInstanceName=std::string()) |
Create a BranchDescription for a process. | |
void | finalize () |
Finalizes the ProductRegistry. | |
Public Attributes | |
BKmap_t | branchKeys_ |
Keys in this test fixture. | |
std::map< std::string, std::unique_ptr < art::ProcessConfiguration > > | processConfigurations_ |
Configurations. | |
art::MasterProductRegistry | productRegistry_ |
MasterProductRegistry instance. |
MasterProductRegistry Test Fixture.
Definition at line 41 of file shared_memory_reader_t.cc.
art::ProcessConfiguration * MPRGlobalTestFixture::fake_single_module_process | ( | std::string const & | tag, | |
std::string const & | processName, | |||
fhicl::ParameterSet const & | moduleParams, | |||
std::string const & | release = art::getReleaseVersion() , |
|||
std::string const & | pass = art::getPassID() | |||
) |
Create the ProcessConfiguration for a single module art process.
tag | Tag for the ProcessConfiguraiton | |
processName | Name of the process | |
moduleParams | ParameterSet for the single module | |
release | See art::ProcessConfiguration | |
pass | See art::ProcessConfiguration |
Definition at line 123 of file shared_memory_reader_t.cc.
std::unique_ptr< art::BranchDescription > MPRGlobalTestFixture::fake_single_process_branch | ( | std::string const & | tag, | |
std::string const & | processName, | |||
std::string const & | productInstanceName = std::string() | |||
) |
Create a BranchDescription for a process.
tag | Tag for the module_process | |
processName | Name of the process | |
productInstanceName | Name of the product |
Definition at line 141 of file shared_memory_reader_t.cc.