KD Chart 2
[rev.2.5.1]
|
#include <testregistry.h>
Public Member Functions | |
void | registerTestFactory (const TestFactory *tf, const char *group) |
unsigned int | run () const |
unsigned int | run (const char *group) const |
Static Public Member Functions | |
static void | deleteInstance () |
static TestRegistry * | instance () |
Definition at line 41 of file testregistry.h.
|
static |
Definition at line 52 of file testregistry.cpp.
Referenced by KDAB::UnitTest::Runner::~Runner().
|
static |
Definition at line 45 of file testregistry.cpp.
Referenced by KDAB::UnitTest::GenericFactory< T_Test >::GenericFactory(), and KDAB::UnitTest::Runner::run().
void KDAB::UnitTest::TestRegistry::registerTestFactory | ( | const TestFactory * | tf, |
const char * | group | ||
) |
Definition at line 56 of file testregistry.cpp.
Referenced by KDAB::UnitTest::GenericFactory< T_Test >::GenericFactory().
unsigned int KDAB::UnitTest::TestRegistry::run | ( | ) | const |
runs all tests in all groups.
Definition at line 61 of file testregistry.cpp.
Referenced by KDAB::UnitTest::Runner::run().
unsigned int KDAB::UnitTest::TestRegistry::run | ( | const char * | group | ) | const |
runs only tests in group group
Definition at line 79 of file testregistry.cpp.