#include "boost/test/unit_test.hpp"
#include "art/Framework/Art/detail/fillSourceList.h"
#include <sstream>
Go to the source code of this file.
#define BOOST_TEST_MODULE (artapp basic source options) |
BOOST_AUTO_TEST_CASE |
( |
SourceListWithComments |
| ) |
|
Definition at line 10 of file artapp_basicSourceOptions_t.cc.
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{});
void fillSourceList(std::istream &ifs, std::vector< std::string > &source_list)