29 testInvariant ()
const
37 UnitTestDir (
const std::string& package,
const std::string& name)
38 :
m_cleanup (getenv (
"ROOTCORE_AUTO_UT") != 0)
40 TString output =
"/tmp";
42 const char *tmpdir = getenv (
"TMPDIR");
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());
69 const std::string& UnitTestDir ::
88 cleanup (
bool val_cleanup)
#define RCU_DESTROY_INVARIANT(x)
#define RCU_CHANGE_INVARIANT(x)
#define RCU_READ_INVARIANT(x)
#define RCU_THROW_MSG(message)
#define RCU_PRINT_MSG(message)
std::string m_path
description: members directly corresponding to accessors
This module defines a variety of assert style macros.