#include "boost/test/unit_test.hpp"
#include "art/Framework/Art/artapp.h"
#include <cstring>
Go to the source code of this file.
#define BOOST_TEST_ALTERNATIVE_INIT_API |
#define BOOST_TEST_NO_MAIN |
Definition at line 14 of file gm2_ut.cc.
References artapp().
Referenced by init_unit_test_suite().
16 int app_return_val =
artapp(framework::master_test_suite().argc,
17 framework::master_test_suite().argv,
19 BOOST_REQUIRE_EQUAL(app_return_val, 0);
int artapp(int argc, char *argv[], bool report_unused)
bool init_unit_test_suite |
( |
| ) |
|
Definition at line 23 of file gm2_ut.cc.
References art_ut().
Referenced by main().
26 auto ts = BOOST_TEST_SUITE(
"art_ut");
27 ts->add(BOOST_TEST_CASE(&
art_ut));
28 framework::master_test_suite().add(ts);
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 33 of file gm2_ut.cc.
References init_unit_test_suite().
35 char const* cmp =
"-c";
36 char to[] =
"--config";
37 for (
int i = 0; i < argc; ++i) {
38 if (strncmp(cmp, argv[i], 2) == 0) {
bool init_unit_test_suite()