#include <test_bdeque.h>

Public Member Functions | |
| BDequeTest () | |
| DequeType * | getDeque () |
| void | setUp () |
| void | reset () |
| void | tearDown () |
| void | testPushRightMT () |
| void | test4DirectionMT () |
| void | testProducerConsumer () |
| test::BDequeTest< DequeType, ParaType, CLASS_NAME >::BDequeTest | ( | ) | [inline] |
| DequeType* test::BDequeTest< DequeType, ParaType, CLASS_NAME >::getDeque | ( | ) | [inline] |
| void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::setUp | ( | ) | [inline] |
| 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 >.
| void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::tearDown | ( | ) | [inline] |
| void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::testPushRightMT | ( | ) | [inline] |
This function tests push&take in both ends of deque with multiple-threads.
| void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::test4DirectionMT | ( | ) | [inline] |
| void test::BDequeTest< DequeType, ParaType, CLASS_NAME >::testProducerConsumer | ( | ) | [inline] |
1.5.6