10#ifndef TEUCHOS_UNIT_TEST_REPOSITORY_HPP
11#define TEUCHOS_UNIT_TEST_REPOSITORY_HPP
19#include "Teuchos_FancyOStream.hpp"
21#include "Teuchos_Ptr.hpp"
41class TEUCHOSCORE_LIB_DLL_EXPORT UnitTestRepository {
67 const std::string testName);
86 static InstanceData& getData();
Macro that adds <<std member comp>> members as attribute members for any class.
Class that helps parse command line input arguments from (argc,argv[]) and set options.
Simple wrapper class for raw pointers to single objects where no persisting relationship exists.
static bool verboseUnitTests()
Returns if unit tests are verbose or not.
static bool runUnitTests(FancyOStream &out)
Run the registered unit tests.
static bool getGloballyReduceTestResult()
Get if the unit tests should reduce across processes or not.
static CommandLineProcessor & getCLP()
Return the CLP to add options to.
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)
Add an unit test (called indirectly through macros.
static void setGloballyReduceTestResult(const bool globallyReduceUnitTestResult)
Set if the unit tests should reduce pass/fail across processes.
basic_FancyOStream< char > FancyOStream
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...