#include "boost/test/unit_test.hpp"
#include "art/Framework/Art/artapp.h"
#include "art/Framework/Art/detail/info_success.h"
Go to the source code of this file.
#define BOOST_TEST_MODULE (artapp test) |
BOOST_AUTO_TEST_CASE |
( |
NoConfig |
| ) |
|
Definition at line 9 of file artapp_t.cc.
11 char const* strings[] = {
"artapp_t"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testHelp |
| ) |
|
Definition at line 15 of file artapp_t.cc.
17 char const* strings[] = {
"artapp_t",
"--help"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
constexpr int info_success()
BOOST_AUTO_TEST_CASE |
( |
testBadConfigOption |
| ) |
|
Definition at line 22 of file artapp_t.cc.
24 char const* strings[] = {
"artapp_t",
"--config"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testEmptyConfig |
| ) |
|
Definition at line 28 of file artapp_t.cc.
30 char const* strings[] = {
"artapp_t",
"--config",
"/dev/null"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testNonesuchConfig |
| ) |
|
Definition at line 34 of file artapp_t.cc.
36 char const* strings[] = {
"artapp_t",
"--config",
"no_such_config.fcl"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testParallelism1 |
| ) |
|
Definition at line 41 of file artapp_t.cc.
43 char const* strings[] = {
"artapp_t",
"--config",
"/dev/null",
"-j4"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testParallelism2 |
| ) |
|
Definition at line 47 of file artapp_t.cc.
49 char const* strings[] = {
"artapp_t",
"--config",
"/dev/null",
"--nthreads=1"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testParallelism3 |
| ) |
|
Definition at line 53 of file artapp_t.cc.
55 char const* strings[] = {
56 "artapp_t",
"--config",
"/dev/null",
"--nschedules=1"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testParallelism4 |
| ) |
|
Definition at line 60 of file artapp_t.cc.
62 char const* strings[] = {
63 "artapp_t",
"--config",
"/dev/null",
"--nschedules=1",
"--nthreads=1"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testParallelism5 |
| ) |
|
Definition at line 67 of file artapp_t.cc.
69 char const* strings[] = {
70 "artapp_t",
"--config",
"/dev/null",
"-j1",
"--nschedules=1"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))
BOOST_AUTO_TEST_CASE |
( |
testParallelism6 |
| ) |
|
Definition at line 74 of file artapp_t.cc.
76 char const* strings[] = {
77 "artapp_t",
"--config",
"/dev/null",
"-j1",
"--nthreads=1"};
BOOST_TEST_REQUIRE(static_cast< bool >(inFile))