![]() |
ATLAS Offline Software
|
#include <UnitTestDir.h>
Public Member Functions | |
| void | testInvariant () const |
| effects: test the invariant of this object guarantee: no-fail | |
| UnitTestDir (const std::string &package, const std::string &name) | |
| effects: standard constructor guarantee: strong failures: out of memory failures: directory creation errors | |
| ~UnitTestDir () | |
| effects: standard destructor guarantee: no-fail | |
| const std::string & | path () const |
| description: the path to the directory guarantee: no-fail | |
| bool | cleanup () const |
| description: whether we clean up on completion guarantee: no-fail | |
| void | cleanup (bool val_cleanup) |
Private Member Functions | |
| UnitTestDir (const UnitTestDir &) | |
| rationale: I'm making these private to avoid copying | |
| UnitTestDir & | operator= (const UnitTestDir &) |
Private Attributes | |
| std::string | m_path |
| description: members directly corresponding to accessors | |
| bool | m_cleanup |
Definition at line 26 of file UnitTestDir.h.
| RCU::UnitTestDir::UnitTestDir | ( | const std::string & | package, |
| const std::string & | name ) |
effects: standard constructor guarantee: strong failures: out of memory failures: directory creation errors
Definition at line 36 of file UnitTestDir.cxx.
|
private |
rationale: I'm making these private to avoid copying
| RCU::UnitTestDir::~UnitTestDir | ( | ) |
effects: standard destructor guarantee: no-fail
Definition at line 56 of file UnitTestDir.cxx.
| bool RCU::UnitTestDir::cleanup | ( | ) | const |
description: whether we clean up on completion guarantee: no-fail
Definition at line 78 of file UnitTestDir.cxx.
| void RCU::UnitTestDir::cleanup | ( | bool | val_cleanup | ) |
Definition at line 87 of file UnitTestDir.cxx.
|
private |
| const std::string & RCU::UnitTestDir::path | ( | ) | const |
description: the path to the directory guarantee: no-fail
Definition at line 69 of file UnitTestDir.cxx.
| void RCU::UnitTestDir::testInvariant | ( | ) | const |
effects: test the invariant of this object guarantee: no-fail
Definition at line 28 of file UnitTestDir.cxx.
|
private |
Definition at line 80 of file UnitTestDir.h.
|
private |
description: members directly corresponding to accessors
Definition at line 78 of file UnitTestDir.h.