test::BDequeTest< DequeType, ParaType, CLASS_NAME > Class Template Reference

#include <test_bdeque.h>

Inheritance diagram for test::BDequeTest< DequeType, ParaType, CLASS_NAME >:

BaseTest< ParaType >

List of all members.

Public Member Functions

 BDequeTest ()
DequeType * getDeque ()
void setUp ()
void reset ()
void tearDown ()
void testPushRightMT ()
void test4DirectionMT ()
void testProducerConsumer ()

template<typename DequeType, typename ParaType, char const * CLASS_NAME>
class test::BDequeTest< DequeType, ParaType, CLASS_NAME >


Constructor & Destructor Documentation

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


Member Function Documentation

template<typename DequeType, typename ParaType, char const * CLASS_NAME>
DequeType* test::BDequeTest< DequeType, ParaType, CLASS_NAME >::getDeque (  )  [inline]

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

template<typename DequeType, typename ParaType, char const * CLASS_NAME>
void test::BDequeTest< DequeType, 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 DequeType, typename ParaType, char const * CLASS_NAME>
void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::tearDown (  )  [inline]

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::testPushRightMT (  )  [inline]

This function tests push&take in both ends of deque with multiple-threads.

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::test4DirectionMT (  )  [inline]

template<typename DequeType, typename ParaType, const char * CLASS_NAME>
void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::testProducerConsumer (  )  [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