Skip to content

Class TempLat::TDDRegister

ClassList > TempLat > TDDRegister

A class which registers all unit tests in the currently linked binaries, and runs all the unit tests when called accordingly. More...

  • #include <tddregister.h>

Public Static Functions

Type Name
void Test (TestObjectUnknownHere & tdd)
void add (TDDContainerBase * ptr, const char * idName)
bool isSingleUnitTest ()
ptrdiff_t run ()

Detailed Description

Unit test: ctest -R test-tddregister

Public Static Functions Documentation

function Test

template<typename TestObjectUnknownHere>
static inline void TempLat::TDDRegister::Test (
    TestObjectUnknownHere & tdd
) 

function add

static inline void TempLat::TDDRegister::add (
    TDDContainerBase * ptr,
    const char * idName
) 

function isSingleUnitTest

static inline bool TempLat::TDDRegister::isSingleUnitTest () 

function run

static inline ptrdiff_t TempLat::TDDRegister::run () 


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/tdd/tddregister.h