#include "cetlib/quiet_unit_test.hpp"
#include "art/Framework/Art/artapp.h"
#include <cstdlib>
#include <cstring>
Go to the source code of this file.
#define BOOST_TEST_ALTERNATIVE_INIT_API |
#define BOOST_TEST_NO_MAIN |
Definition at line 15 of file lar_ut.cc.
References artapp().
Referenced by init_unit_test_suite().
17 int app_return_val =
artapp(framework::master_test_suite().argc,
18 framework::master_test_suite().argv);
19 BOOST_REQUIRE_EQUAL(app_return_val, 0);
int artapp(int argc, char *argv[])
bool init_unit_test_suite |
( |
| ) |
|
Definition at line 25 of file lar_ut.cc.
References art_ut().
Referenced by main().
28 auto ts = BOOST_TEST_SUITE(
"art_ut");
29 ts->add(BOOST_TEST_CASE(&
art_ut));
30 framework::master_test_suite().add(ts);
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 34 of file lar_ut.cc.
References init_unit_test_suite().
35 char const *cmp =
"-c";
36 char to[] =
"--config";
40 if (strncmp(cmp, argv[i], 2) == 0) {
bool init_unit_test_suite()