gather and run all regression tests More...
#include <test.h>
Static Public Member Functions | |
static void | EnableVerbose (void) |
static bool | RunTests (void) |
Private Types | |
typedef std::list< std::pair < Test *, std::string * > > | Tests |
typedef std::list< std::pair < Test *, std::string * > >::iterator | TestsI |
typedef std::list< std::pair < Test *, std::string * > >::const_iterator | TestsCI |
Private Member Functions | |
bool | RealRunTests (void) |
TestManager () | |
~TestManager () | |
Static Private Member Functions | |
static void | Add (Test *test, char const *name) |
static std::ostream & | Failure (void) |
static TestManager * | Get (void) |
Private Attributes | |
Tests | m_tests |
bool | m_verbose |
Friends | |
class | Test |
gather and run all regression tests
Definition at line 78 of file test.h.
typedef std::list<std::pair<Test *,std::string *> > ns3::TestManager::Tests [private] |
typedef std::list<std::pair<Test *,std::string *> >::const_iterator ns3::TestManager::TestsCI [private] |
typedef std::list<std::pair<Test *,std::string *> >::iterator ns3::TestManager::TestsI [private] |
ns3::TestManager::~TestManager | ( | ) | [private] |
void ns3::TestManager::Add | ( | Test * | test, | |
char const * | name | |||
) | [static, private] |
Definition at line 49 of file test.cc.
References Get(), and m_tests.
Referenced by ns3::Test::Test().
void ns3::TestManager::EnableVerbose | ( | void | ) | [static] |
std::ostream & ns3::TestManager::Failure | ( | void | ) | [static, private] |
TestManager * ns3::TestManager::Get | ( | void | ) | [static, private] |
Definition at line 29 of file test.cc.
Referenced by Add(), EnableVerbose(), and RunTests().
bool ns3::TestManager::RealRunTests | ( | void | ) | [private] |
bool ns3::TestManager::RunTests | ( | void | ) | [static] |
run all registered regression tests
Definition at line 64 of file test.cc.
References Get(), and RealRunTests().
Tests ns3::TestManager::m_tests [private] |
Definition at line 106 of file test.h.
Referenced by Add(), RealRunTests(), and ~TestManager().
bool ns3::TestManager::m_verbose [private] |
Definition at line 107 of file test.h.
Referenced by EnableVerbose(), and RealRunTests().