Tests the AtomicNumber service provider. More...
#include "larexamples/Services/AtomicNumber/Providers/AtomicNumber.h"#include "larcorealg/TestUtils/unit_test_base.h"#include "fhiclcpp/fwd.h"#include "messagefacility/MessageLogger/MessageLogger.h"#include <string>Go to the source code of this file.
Classes | |
| struct | Results_t | 
| Structure to hold enough information to computed the expected results.  More... | |
Functions | |
| unsigned int | TestConfiguration (std::string testName, std::string configuration, Results_t const &expected) | 
| unsigned int | TestDefaultConfiguration () | 
| unsigned int | TestXenonConfiguration () | 
| int | main (int argc, char **argv) | 
Tests the AtomicNumber service provider.
The exit code of the test is the number of triggered errors. This text is expected to pass with 0 errors.
This test does not exercise the configuration via file.
Definition in file AtomicNumber_test.cc.
| int main | ( | int | argc, | 
| char ** | argv | ||
| ) | 
Definition at line 117 of file AtomicNumber_test.cc.
| unsigned int TestConfiguration | ( | std::string | testName, | 
| std::string | configuration, | ||
| Results_t const & | expected | ||
| ) | 
Definition at line 49 of file AtomicNumber_test.cc.
| unsigned int TestDefaultConfiguration | ( | ) | 
Definition at line 91 of file AtomicNumber_test.cc.
| unsigned int TestXenonConfiguration | ( | ) | 
Definition at line 101 of file AtomicNumber_test.cc.
 1.8.11