#include <test_deque.h>
Public Member Functions | |
DequeTest () | |
DequeType * | getDeque () |
void | setUp () |
void | reset () |
void | tearDown () |
void | testPushRightMT () |
void | test4DirectionMT () |
void | testBoundLeft () |
void | testBoundRight () |
test::DequeTest< DequeType, ParaType, CLASS_NAME >::DequeTest | ( | ) | [inline] |
DequeType* test::DequeTest< DequeType, ParaType, CLASS_NAME >::getDeque | ( | ) | [inline] |
void test::DequeTest< DequeType, ParaType, CLASS_NAME >::setUp | ( | ) | [inline] |
void test::DequeTest< 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::DequeTest< DequeType, ParaType, CLASS_NAME >::tearDown | ( | ) | [inline] |
void test::DequeTest< DequeType, ParaType, CLASS_NAME >::testPushRightMT | ( | ) | [inline] |
This function tests push&pop in both ends of deque with multiple-threads.
void test::DequeTest< DequeType, ParaType, CLASS_NAME >::test4DirectionMT | ( | ) | [inline] |
void test::DequeTest< DequeType, ParaType, CLASS_NAME >::testBoundLeft | ( | ) | [inline] |
void test::DequeTest< DequeType, ParaType, CLASS_NAME >::testBoundRight | ( | ) | [inline] |