test_view_01_t.cc
Go to the documentation of this file.
1 extern "C" {
2 int artapp(int argc, char* argv[]);
3 }
4 
5 #define BOOST_TEST_MODULE (artapp test)
7 
8 BOOST_AUTO_TEST_SUITE(artappTests)
9 
10 BOOST_AUTO_TEST_CASE(test_view_01)
11 {
12  char const* strings[] = {"artapp_t", "--config", "test_view_01.fcl"};
13  BOOST_CHECK(artapp(3, const_cast<char**>(strings)) == 0);
14  BOOST_CHECK(system("grep -e 'Event Summary' warnings.log >/dev/null 2>&1") ==
15  0);
16 }
17 
18 BOOST_AUTO_TEST_SUITE_END()
std::vector< std::string > strings
BOOST_AUTO_TEST_CASE(test_view_01)
int artapp(int argc, char *argv[])