Go to the source code of this file.
#define BOOST_TEST_MODULE (path_specs test) |
BOOST_AUTO_TEST_CASE |
( |
empty_path_spec |
| ) |
|
Definition at line 37 of file path_specs_t.cc.
39 BOOST_TEST(trigger_path_specs_for(
"[]").
empty());
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.
BOOST_AUTO_TEST_CASE |
( |
one_entry |
| ) |
|
Definition at line 42 of file path_specs_t.cc.
44 auto const path_specs = trigger_path_specs_for(
"[a]");
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
std::vector< art::PathSpec > path_specs(std::vector< ModuleSpec > const &selection_override_entries, std::string const &path_selection_override)
BOOST_AUTO_TEST_CASE |
( |
one_entry_with_bit_number |
| ) |
|
Definition at line 49 of file path_specs_t.cc.
51 auto const path_specs = trigger_path_specs_for(
"['1:a']");
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
std::vector< art::PathSpec > path_specs(std::vector< ModuleSpec > const &selection_override_entries, std::string const &path_selection_override)
BOOST_AUTO_TEST_CASE |
( |
entries_skipping_bits |
| ) |
|
Definition at line 56 of file path_specs_t.cc.
58 auto const path_specs = trigger_path_specs_for(
"[a, '2:c', '3:d']");
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
std::vector< art::PathSpec > path_specs(std::vector< ModuleSpec > const &selection_override_entries, std::string const &path_selection_override)
BOOST_AUTO_TEST_CASE |
( |
entries_skipping_bits_with_nil |
| ) |
|
Definition at line 65 of file path_specs_t.cc.
67 auto const path_specs = path_specs_from(
"trigger_paths: [a]\n" 68 "trigger_paths[100]: c");
71 BOOST_TEST(
path_specs[1] == spec_for(
"c", 100));
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
std::vector< art::PathSpec > path_specs(std::vector< ModuleSpec > const &selection_override_entries, std::string const &path_selection_override)
BOOST_AUTO_TEST_CASE |
( |
repeated_path_name |
| ) |
|
Definition at line 74 of file path_specs_t.cc.
76 BOOST_CHECK_EXCEPTION(
79 e.explain_self().find(
"has already been specified in the ") !=
82 BOOST_CHECK_EXCEPTION(
83 trigger_path_specs_for(
"[a, '1:a']"),
art::Exception, [](
auto const&
e) {
85 e.explain_self().find(
86 "has already been specified (perhaps implicitly) ") !=
89 BOOST_CHECK_EXCEPTION(
90 trigger_path_specs_for(
"['0:a', '1:a']"),
94 e.explain_self().find(
95 "has already been specified (perhaps implicitly) ") !=
98 auto const path_specs = trigger_path_specs_for(
"['1:a', '1:a']");
99 BOOST_CHECK(
size(path_specs) == 1ull);
100 BOOST_CHECK(path_specs[0] == spec_for(
"a", 1));
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::vector< art::PathSpec > path_specs(std::vector< ModuleSpec > const &selection_override_entries, std::string const &path_selection_override)
BOOST_AUTO_TEST_CASE |
( |
repeated_path_id |
| ) |
|
Definition at line 103 of file path_specs_t.cc.
105 BOOST_CHECK_EXCEPTION(
106 trigger_path_specs_for(
"['1:a', 'b']"),
art::Exception, [](
auto const&
e) {
108 e.explain_self().find(
"has already been assigned to path name ") !=
111 BOOST_CHECK_EXCEPTION(
112 trigger_path_specs_for(
"['3:a', '3:b']"),
116 e.explain_self().find(
"has already been assigned to path name ") !=
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception