|
std::vector< std::pair< std::string, std::vector< std::string > > > | modulesConsumes_ |
|
◆ PathsAndConsumesOfModulesTestService()
◆ fillDescriptions()
◆ preBeginJob()
Definition at line 32 of file PathsAndConsumesOfModulesTestService.cc.
References edm::PathsAndConsumesOfModulesBase::allModules(), edmTracerLogToSimpleConfig::allModules, submitPVResolutionJobs::desc, newFWLiteAna::found, visualization-live-secondInstance_cfg::m, modulesConsumes_, and edm::PathsAndConsumesOfModulesBase::modulesWhoseProductsAreConsumedBy().
Referenced by PathsAndConsumesOfModulesTestService().
33 auto const&
allModules = pathsAndConsumes.allModules();
37 return desc->moduleLabel() == moduleToCheck.first;
41 ex <<
"Module " << moduleToCheck.first
42 <<
" not found in PathsAndConsumesOfModulesBase, that has the following modules:\n";
45 ex <<
" " <<
desc->moduleLabel() <<
"\n";
53 std::set<std::string> tocheck(moduleToCheck.second.begin(), moduleToCheck.second.end());
55 auto found = tocheck.find(
desc->moduleLabel());
56 if (
found == tocheck.end()) {
58 ex <<
"Module " << moduleToCheck.first <<
" consumes " <<
desc->moduleLabel()
59 <<
" that was not one of the expected modules:\n";
60 for (
auto const&
m : moduleToCheck.second) {
61 ex <<
" " <<
m <<
"\n";
67 if (not tocheck.empty()) {
69 ex <<
"Module " << moduleToCheck.first <<
" was expected to consume the following modules, but it did not\n";
70 for (
auto const&
m : tocheck) {
71 ex <<
" " <<
m <<
"\n";
std::vector< std::pair< std::string, std::vector< std::string > > > modulesConsumes_
◆ modulesConsumes_
std::vector<std::pair<std::string, std::vector<std::string> > > edmtest::PathsAndConsumesOfModulesTestService::modulesConsumes_ |
|
private |