EL::UnitTest Struct Reference

List of all members.

Public Member Functions

 UnitTest (const std::string &val_name, std::string base_path="")
int run (const Driver &driver) const

Public Attributes

std::string name
 description: the name of the unit test
SH::SampleHandler samples
 description: the samples we are using
bool cleanup
bool testOutput
 description: whether to test creating output n-tuples
std::string location
 description: the location for the unit test
SH::DiskOutputoutputDisk
 description: the output disk
bool testFileExecute
 whether to test the fileExecute method

Constructor & Destructor Documentation

EL::UnitTest::UnitTest ( const std::string &  val_name,
std::string  base_path = "" 
)

effects: standard constructor guarantee: storng failures: out of memory II


Member Function Documentation

int EL::UnitTest::run ( const Driver driver  )  const

effects: perform a unit test with the given driver returns: EXIT_SUCCESS on success, EXIT_FAILURE on failure guarantee: basic failures: unit test failures requires: !sample.empty()


Member Data Documentation

description: whether we clean up the submit directory afterwards


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1