Go to the source code of this file.
      
        
          | #define BOOST_TEST_MODULE   (Tests of Wrapper interface) | 
        
      
 
 
      
        
          | BOOST_AUTO_TEST_CASE  | 
          ( | 
          sampled_product  | 
           | ) | 
           | 
        
      
 
Definition at line 24 of file wrapper_t.cc.
   29   BOOST_TEST(edp->isPresent());
    32   BOOST_TEST(sampled->empty());
 BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
 
std::unique_ptr< EDProduct > createEmptySampledProduct(InputTag const &tag) const 
 
 
 
 
      
        
          | BOOST_AUTO_TEST_CASE  | 
          ( | 
          no_sampled_product_recursion  | 
           | ) | 
           | 
        
      
 
Definition at line 35 of file wrapper_t.cc.
   38   BOOST_CHECK_EXCEPTION(
    41              e.explain_self().find(
"recursion is not allowed") !=
 
std::unique_ptr< EDProduct > createEmptySampledProduct(InputTag const &tag) const 
 
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
 
 
 
 
      
        
          | BOOST_AUTO_TEST_CASE  | 
          ( | 
          print_size  | 
           | ) | 
           | 
        
      
 
Definition at line 46 of file wrapper_t.cc.
   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");
 
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.