|
ATLAS Offline Software
|
Go to the documentation of this file.
38 : m_cleanup (
getenv (
"ROOTCORE_AUTO_UT") != 0)
46 output += (
"/ut-" +
package + "-" + name + ".$$").c_str();
47 gSystem->ExpandPathName (
output);
50 if (gSystem->MakeDirectory (
output.Data()) != 0)
62 gSystem->Exec ((
"rm -rf " +
m_path).c_str());
UnitTestDir(const std::string &package, const std::string &name)
effects: standard constructor guarantee: strong failures: out of memory failures: directory creation ...
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
std::string m_path
description: members directly corresponding to accessors
This module defines a variety of assert style macros.
~UnitTestDir()
effects: standard destructor guarantee: no-fail
#define RCU_PRINT_MSG(message)
bool cleanup() const
description: whether we clean up on completion guarantee: no-fail
std::string getenv(const std::string &variableName)
get an environment variable
#define RCU_DESTROY_INVARIANT(x)
const std::string & path() const
description: the path to the directory guarantee: no-fail
#define RCU_CHANGE_INVARIANT(x)
#define RCU_THROW_MSG(message)
#define RCU_READ_INVARIANT(x)