1 #define BOOST_TEST_MODULE (Tests of Wrapper interface)     2 #include "boost/test/unit_test.hpp"    14   std::unique_ptr<EDProduct>
    17     auto product = std::make_unique<T>(std::forward<T>(
t));
    18     return std::make_unique<Wrapper<T>>(
std::move(product));
    22 BOOST_AUTO_TEST_SUITE(wrapper_t)
    29   BOOST_TEST(edp->isPresent());
    32   BOOST_TEST(sampled->empty());
    38   BOOST_CHECK_EXCEPTION(
    41              e.explain_self().find(
"recursion is not allowed") !=
    48   auto int_product = make_product(3);
    49   BOOST_TEST(int_product->productSize() == 
"-");
    51   auto map_product = make_product<std::map<int, double>>({{1, 1.5}, {2, 3.}});
    52   BOOST_TEST(map_product->productSize() == 
"2");
    54   struct CustomTypeWithSize {
    61   auto custom_product = make_product<CustomTypeWithSize>({});
    62   BOOST_TEST(custom_product->productSize() == 
"3");
    65 BOOST_AUTO_TEST_SUITE_END()
 
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
 
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size. 
 
BOOST_AUTO_TEST_CASE(sampled_product)
 
std::unique_ptr< EDProduct > createEmptySampledProduct(InputTag const &tag) const 
 
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception