#include <test_counter.h>
Public Member Functions | |
CounterTest () | |
CounterType * | getCounter () |
void | setUp () |
void | reset () |
void | tearDown () |
void | testCounter () |
test::CounterTest< CounterType, ParaType, CLASS_NAME >::CounterTest | ( | ) | [inline] |
CounterType* test::CounterTest< CounterType, ParaType, CLASS_NAME >::getCounter | ( | ) | [inline] |
void test::CounterTest< CounterType, ParaType, CLASS_NAME >::setUp | ( | ) | [inline] |
void test::CounterTest< CounterType, ParaType, CLASS_NAME >::reset | ( | ) | [inline, virtual] |
This function will be called by multi-thread test. It should clean the internal state. It should ensure that the test with i threads should NOT affect the execution with (i+1) threads.
Reimplemented from BaseTest< ParaType >.
void test::CounterTest< CounterType, ParaType, CLASS_NAME >::tearDown | ( | ) | [inline] |
void test::CounterTest< CounterType, ParaType, CLASS_NAME >::testCounter | ( | ) | [inline] |