1 #define BOOST_TEST_MODULE (artapp basic source options) 2 #include "boost/test/unit_test.hpp" 8 BOOST_AUTO_TEST_SUITE(artappBasicSourceOptionsTest)
13 "# This is a random comment\n" 17 "f4#.root#something\n" 18 "f5.root# this file is sometimes problematic\n" 21 std::istringstream is(
files);
22 std::vector<std::string> slist;
25 auto const ref = {
"f1.root",
"f3.root",
"f4",
"f5.root",
"f6.root"};
26 BOOST_TEST(slist == ref, boost::test_tools::per_element{});
29 BOOST_AUTO_TEST_SUITE_END()
void fillSourceList(std::istream &ifs, std::vector< std::string > &source_list)
BOOST_AUTO_TEST_CASE(SourceListWithComments)