Tests the AtomicNumber service provider (with Boost unit test) More...
#include "larexamples/Services/AtomicNumber/Providers/AtomicNumber.h"
#include "larcorealg/TestUtils/unit_test_base.h"
#include "larcorealg/TestUtils/boost_unit_test_base.h"
Go to the source code of this file.
Classes | |
struct | AtomicNumberTestFixture |
Macros | |
#define | BOOST_TEST_MODULE (Boosted atomic number test) |
using | BoostBasicFixture = testing::TesterEnvironment< testing::BoostCommandLineConfiguration< testing::BasicEnvironmentConfiguration > > |
BOOST_AUTO_TEST_CASE (AllTests) | |
Tests the AtomicNumber service provider (with Boost unit test)
This test takes a configuration file as first command line argument. The content of the configuration file is expected to include:
services.AtomicNumberService
section with the configuration of the providerphysics.analyzers.expected
section with the expected values (same format as the service configuration) Definition in file BoostedAtomicNumber_test.cc.
#define BOOST_TEST_MODULE (Boosted atomic number test) |
Definition at line 21 of file BoostedAtomicNumber_test.cc.
using BoostBasicFixture = testing::TesterEnvironment< testing::BoostCommandLineConfiguration <testing::BasicEnvironmentConfiguration> > |
Definition at line 36 of file BoostedAtomicNumber_test.cc.
BOOST_AUTO_TEST_CASE | ( | AllTests | ) |
Definition at line 59 of file BoostedAtomicNumber_test.cc.