Public Member Functions | Static Public Member Functions

KDAB::UnitTest::TestRegistry Class Reference

#include <testregistry.h>

Collaboration diagram for KDAB::UnitTest::TestRegistry:
Collaboration graph

List of all members.

Public Member Functions

void registerTestFactory (const TestFactory *tf, const char *group)
unsigned int run (const char *group) const
unsigned int run () const

Static Public Member Functions

static void deleteInstance ()
static TestRegistryinstance ()

Detailed Description

Definition at line 42 of file testregistry.h.

Member Function Documentation

void KDAB::UnitTest::TestRegistry::deleteInstance (  ) [static]

Definition at line 52 of file testregistry.cpp.

Referenced by KDAB::UnitTest::Runner::~Runner().

KDAB::UnitTest::TestRegistry * KDAB::UnitTest::TestRegistry::instance (  ) [static]
void KDAB::UnitTest::TestRegistry::registerTestFactory ( const TestFactory tf,
const char *  group 
unsigned int KDAB::UnitTest::TestRegistry::run (  ) const

runs all tests in all groups.

the number of failed tests (if any)

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

the number of failed tests (if any)

Definition at line 79 of file testregistry.cpp.

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

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products