Go to the source code of this file.
BOOST_AUTO_TEST_CASE |
( |
GoodTuple1 |
| ) |
|
Definition at line 36 of file nestedValidation_02_t.cc.
38 string const good{
"pars: [[A, [B]], [X, [Y, Z]]]"s};
39 std::vector<std::string>
const ref1{
"B"s};
40 std::vector<std::string>
const ref2{
"Y"s,
"Z"s};
42 auto const& pars = validatedConfig().pars();
fhicl::Table< Config > validateConfig(std::string const &configStr)
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
BadTuple1 |
| ) |
|
Definition at line 50 of file nestedValidation_02_t.cc.
52 string const bad{
"pars: [[A], [X, [Y, Z]]]"s};
fhicl::Table< Config > validateConfig(std::string const &configStr)
BOOST_AUTO_TEST_CASE |
( |
BadTuple2 |
| ) |
|
Definition at line 56 of file nestedValidation_02_t.cc.
58 string const bad{
"pars: [[A]]"s};
fhicl::Table< Config > validateConfig(std::string const &configStr)
BOOST_AUTO_TEST_CASE |
( |
BadTuple3 |
| ) |
|
Definition at line 62 of file nestedValidation_02_t.cc.
64 string const bad{
"pars: [[A, 7]]"s};
fhicl::Table< Config > validateConfig(std::string const &configStr)
cet::coded_exception< error, detail::translate > exception