Public Member Functions | |
UnitTestSuite (const std::string &title, std::ostream *sptr=&std::cout) | |
std::string | getName () const |
long | getNumPassed () const |
long | getNumFailed () const |
const std::ostream * | getStream () const |
void | setStream (std::ostream *osptr) |
void | addTest (UnitTest *t) throw (UnitTestSuiteError) |
void | addSuite (const UnitTestSuite &) |
void | run () |
void | intro () const |
long | report () const |
void | free () |
Private Member Functions | |
void | reset () |
UnitTestSuite (const UnitTestSuite &) | |
UnitTestSuite & | operator= (const UnitTestSuite &) |
Private Attributes | |
std::string | name |
std::ostream * | osptr |
std::vector< UnitTest * > | tests |
Definition at line 249 of file stressTMVA.cxx.
UnitTesting::UnitTestSuite::UnitTestSuite | ( | const std::string & | title, | |
std::ostream * | sptr = &std::cout | |||
) | [inline] |
UnitTesting::UnitTestSuite::UnitTestSuite | ( | const UnitTestSuite & | ) | [private] |
std::string UnitTesting::UnitTestSuite::getName | ( | ) | const [inline] |
long UnitTestSuite::getNumPassed | ( | ) | const |
long UnitTestSuite::getNumFailed | ( | ) | const |
const std::ostream * UnitTesting::UnitTestSuite::getStream | ( | ) | const [inline] |
void UnitTesting::UnitTestSuite::setStream | ( | std::ostream * | osptr | ) | [inline] |
void UnitTestSuite::addTest | ( | UnitTest * | t | ) | throw (UnitTestSuiteError) |
Definition at line 304 of file stressTMVA.cxx.
Referenced by addClassificationTests(), addComplexClassificationTests(), addDataInputTests(), addRegressionTests(), addSuite(), and main().
void UnitTestSuite::addSuite | ( | const UnitTestSuite & | ) |
void UnitTestSuite::run | ( | ) |
void UnitTestSuite::intro | ( | ) | const |
long UnitTestSuite::report | ( | ) | const |
Definition at line 363 of file stressTMVA.cxx.
References getNumFailed(), i, osptr, size_t, and tests.
Referenced by main().
void UnitTestSuite::free | ( | ) |
void UnitTestSuite::reset | ( | ) | [private] |
UnitTestSuite& UnitTesting::UnitTestSuite::operator= | ( | const UnitTestSuite & | ) | [private] |
std::string UnitTesting::UnitTestSuite::name [private] |
std::ostream* UnitTesting::UnitTestSuite::osptr [private] |
Definition at line 266 of file stressTMVA.cxx.
Referenced by getStream(), intro(), report(), setStream(), and UnitTestSuite().
std::vector<UnitTest*> UnitTesting::UnitTestSuite::tests [private] |
Definition at line 267 of file stressTMVA.cxx.
Referenced by addSuite(), free(), getNumFailed(), getNumPassed(), report(), reset(), and run().