ATLAS Offline Software
|
a class describing how to run the jobs for driver unit tests More...
#include <UnitTestConfig.h>
Public Member Functions | |
virtual | ~UnitTestConfig () noexcept=default |
virtual destructor for virtual base class More... | |
virtual std::unique_ptr< SH::DiskWriter > | make_file_writer (const std::string &name) const |
create a file write for the given file More... | |
virtual void | setupJob (Job &job) const |
apply extra job configuration parameters More... | |
Public Attributes | |
std::shared_ptr< Driver > | m_driver |
the driver being tested More... | |
a class describing how to run the jobs for driver unit tests
This is so that I can write driver unit tests as briefly as possible. The unit tests should derive a class from this class that sets the proper members in the constructor and then pass the object into the parametric unit test.
Definition at line 27 of file UnitTestConfig.h.
|
virtualdefaultnoexcept |
virtual destructor for virtual base class
|
virtual |
create a file write for the given file
This allows to place the test files into non-standard locations
Definition at line 23 of file UnitTestConfig.cxx.
|
virtual |
apply extra job configuration parameters
Definition at line 32 of file UnitTestConfig.cxx.
std::shared_ptr<Driver> EL::UnitTestConfig::m_driver |
the driver being tested
This is the only member the derived classes actually have to set. More members will be added over time, but those will meaningful default values
Definition at line 35 of file UnitTestConfig.h.