UnitTesting::UnitTestSuite Class Reference

List of all members.

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 &)
UnitTestSuiteoperator= (const UnitTestSuite &)

Private Attributes

std::string name
std::ostream * osptr
std::vector< UnitTest * > tests

Detailed Description

Definition at line 249 of file stressTMVA.cxx.


Constructor & Destructor Documentation

UnitTesting::UnitTestSuite::UnitTestSuite ( const std::string title,
std::ostream *  sptr = &std::cout 
) [inline]

Definition at line 274 of file stressTMVA.cxx.

References osptr.

UnitTesting::UnitTestSuite::UnitTestSuite ( const UnitTestSuite  )  [private]


Member Function Documentation

std::string UnitTesting::UnitTestSuite::getName (  )  const [inline]

Definition at line 279 of file stressTMVA.cxx.

References name.

long UnitTestSuite::getNumPassed (  )  const

Definition at line 387 of file stressTMVA.cxx.

References i, size_t, and tests.

long UnitTestSuite::getNumFailed (  )  const

Definition at line 398 of file stressTMVA.cxx.

References i, size_t, and tests.

Referenced by report().

const std::ostream * UnitTesting::UnitTestSuite::getStream (  )  const [inline]

Definition at line 284 of file stressTMVA.cxx.

References osptr.

void UnitTesting::UnitTestSuite::setStream ( std::ostream *  osptr  )  [inline]

Definition at line 289 of file stressTMVA.cxx.

References osptr.

void UnitTestSuite::addTest ( UnitTest t  )  throw (UnitTestSuiteError)

Definition at line 304 of file stressTMVA.cxx.

References t, and tests().

Referenced by addClassificationTests(), addComplexClassificationTests(), addDataInputTests(), addRegressionTests(), addSuite(), and main().

void UnitTestSuite::addSuite ( const UnitTestSuite  ) 

Definition at line 315 of file stressTMVA.cxx.

References addTest(), i, s, size_t, and tests.

void UnitTestSuite::run (  ) 

Definition at line 333 of file stressTMVA.cxx.

References i, reset(), size_t, and tests.

Referenced by main().

void UnitTestSuite::intro (  )  const

Definition at line 347 of file stressTMVA.cxx.

References osptr.

Referenced by main().

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 (  ) 

Definition at line 324 of file stressTMVA.cxx.

References i, size_t, and tests.

void UnitTestSuite::reset (  )  [private]

Definition at line 409 of file stressTMVA.cxx.

References i, size_t, and tests.

Referenced by run().

UnitTestSuite& UnitTesting::UnitTestSuite::operator= ( const UnitTestSuite  )  [private]


Member Data Documentation

std::string UnitTesting::UnitTestSuite::name [private]

Definition at line 265 of file stressTMVA.cxx.

Referenced by getName().

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().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 17:01:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1