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::DiskOutput * | outputDisk |
| description: the output disk | |
| bool | testFileExecute |
| whether to test the fileExecute method | |
| EL::UnitTest::UnitTest | ( | const std::string & | val_name, | |
| std::string | base_path = "" | |||
| ) |
effects: standard constructor guarantee: storng failures: out of memory II
| 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()
description: whether we clean up the submit directory afterwards
1.6.1