Macros | Functions
test_view_01_t.cc File Reference
#include "cetlib/quiet_unit_test.hpp"

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   (artapp test)
 

Functions

int artapp (int argc, char *argv[])
 
 BOOST_AUTO_TEST_CASE (test_view_01)
 

Macro Definition Documentation

#define BOOST_TEST_MODULE   (artapp test)

Definition at line 5 of file test_view_01_t.cc.

Function Documentation

int artapp ( int  argc,
char *  argv[] 
)
BOOST_AUTO_TEST_CASE ( test_view_01  )

Definition at line 10 of file test_view_01_t.cc.

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 }
std::vector< std::string > strings
int artapp(int argc, char *argv[])