Teuchos::UnitTestRepository Class Reference

Singleton unit testing repository. More...

#include <Teuchos_UnitTestRepository.hpp>

List of all members.

Classes

class  InstanceData

Static Public Member Functions

static CommandLineProcessorgetCLP ()
 
static bool runUnitTests (FancyOStream &out)
 Run the registered unit tests.
static int runUnitTestsFromMain (int argc, char *argv[])
 Run the unit tests from main() passing in (argc, argv).
static void addUnitTest (UnitTestBase *unitTest, const std::string groupName, const std::string testName)
 

Private Member Functions

 UnitTestRepository ()

Static Private Member Functions

static void setUpCLP (const Ptr< CommandLineProcessor > &clp)
static InstanceDatagetData ()

Detailed Description

Singleton unit testing repository.

Definition at line 53 of file Teuchos_UnitTestRepository.hpp.


Constructor & Destructor Documentation

Teuchos::UnitTestRepository::UnitTestRepository (  )  [private]

Definition at line 368 of file Teuchos_UnitTestRepository.cpp.


Member Function Documentation

CommandLineProcessor & Teuchos::UnitTestRepository::getCLP (  )  [static]

Definition at line 175 of file Teuchos_UnitTestRepository.cpp.

bool Teuchos::UnitTestRepository::runUnitTests ( FancyOStream out  )  [static]

Run the registered unit tests.

Definition at line 181 of file Teuchos_UnitTestRepository.cpp.

int Teuchos::UnitTestRepository::runUnitTestsFromMain ( int  argc,
char *  argv[] 
) [static]

Run the unit tests from main() passing in (argc, argv).

Returns:
Returns the appropriate int for main()

Definition at line 331 of file Teuchos_UnitTestRepository.cpp.

void Teuchos::UnitTestRepository::addUnitTest ( UnitTestBase unitTest,
const std::string  groupName,
const std::string  testName 
) [static]

Definition at line 358 of file Teuchos_UnitTestRepository.cpp.

void Teuchos::UnitTestRepository::setUpCLP ( const Ptr< CommandLineProcessor > &  clp  )  [static, private]

Definition at line 372 of file Teuchos_UnitTestRepository.cpp.

UnitTestRepository::InstanceData & Teuchos::UnitTestRepository::getData (  )  [static, private]

Definition at line 431 of file Teuchos_UnitTestRepository.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 20 10:14:05 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1