1 #define BOOST_TEST_MODULE (delegatedParameter test) 3 #include "boost/test/unit_test.hpp" 11 using namespace fhicl;
27 Fixture() : FixtureBase(
"delegatedParameter_t.fcl") {}
33 std::set<std::string>
const ref{
34 "everything",
"everything[0]",
"you",
"imagine"};
36 BOOST_TEST(
test == ref, boost::test_tools::per_element{});
40 receive_vector(std::vector<int>
const& v)
47 receive_int(
int const i)
53 BOOST_FIXTURE_TEST_SUITE(delegatedParameter_t, Fixture)
58 receive_vector(
config().
ds.get<std::vector<int>>());
59 receive_int(
config().nested().da.get<
int>());
61 config().nested().oda.get_if_present(maybe_string);
62 BOOST_TEST(
"Hello, Billy"s == maybe_string);
65 BOOST_AUTO_TEST_SUITE_END()
ChannelGroupService::Name Name
typename config_impl< T >::type Config
std::vector< std::string > get_all_keys() const
BOOST_AUTO_TEST_CASE(delegation_check)