test::CounterTest< CounterType, ParaType, CLASS_NAME > Class Template Reference

#include <test_counter.h>

Inheritance diagram for test::CounterTest< CounterType, ParaType, CLASS_NAME >:

BaseTest< ParaType >

List of all members.

Public Member Functions

 CounterTest ()
CounterType * getCounter ()
void setUp ()
void reset ()
void tearDown ()
void testCounter ()

template<typename CounterType, typename ParaType, char const * CLASS_NAME>
class test::CounterTest< CounterType, ParaType, CLASS_NAME >


Constructor & Destructor Documentation

template<typename CounterType, typename ParaType, char const * CLASS_NAME>
test::CounterTest< CounterType, ParaType, CLASS_NAME >::CounterTest (  )  [inline]


Member Function Documentation

template<typename CounterType, typename ParaType, char const * CLASS_NAME>
CounterType* test::CounterTest< CounterType, ParaType, CLASS_NAME >::getCounter (  )  [inline]

template<typename CounterType, typename ParaType, char const * CLASS_NAME>
void test::CounterTest< CounterType, ParaType, CLASS_NAME >::setUp (  )  [inline]

template<typename CounterType, typename ParaType, char const * CLASS_NAME>
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 >.

template<typename CounterType, typename ParaType, char const * CLASS_NAME>
void test::CounterTest< CounterType, ParaType, CLASS_NAME >::tearDown (  )  [inline]

template<typename CounterType, typename ParaType, const char * CLASS_NAME>
void test::CounterTest< CounterType, ParaType, CLASS_NAME >::testCounter (  )  [inline]


The documentation for this class was generated from the following file:

Generated on Tue Dec 9 13:39:40 2008 for Amino by  doxygen 1.5.6