#include <test_pqueue.h>
Public Member Functions | |
PQueueTest () | |
QueueType * | getQueue () |
void | setUp () |
void | reset () |
void | tearDown () |
void | testEmptyST () |
void | testEnqueueST () |
void | testDequeueST () |
void | testEnqueueMT () |
void | testDequeueMT () |
void | testEnDequeuePairMT () |
void | testBound () |
test::PQueueTest< QueueType, ParaType, CLASS_NAME >::PQueueTest | ( | ) | [inline] |
QueueType* test::PQueueTest< QueueType, ParaType, CLASS_NAME >::getQueue | ( | ) | [inline] |
void test::PQueueTest< QueueType, ParaType, CLASS_NAME >::setUp | ( | ) | [inline] |
void test::PQueueTest< QueueType, 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::PQueueTest< QueueType, ParaType, CLASS_NAME >::tearDown | ( | ) | [inline] |
void test::PQueueTest< QueueType, ParaType, CLASS_NAME >::testEmptyST | ( | ) | [inline] |
void test::PQueueTest< QueueType, ParaType, CLASS_NAME >::testEnqueueST | ( | ) | [inline] |
void test::PQueueTest< QueueType, ParaType, CLASS_NAME >::testDequeueST | ( | ) | [inline] |
void test::PQueueTest< QueueType, ParaType, CLASS_NAME >::testEnqueueMT | ( | ) | [inline] |
void test::PQueueTest< QueueType, ParaType, CLASS_NAME >::testDequeueMT | ( | ) | [inline] |
void test::PQueueTest< QueueType, ParaType, CLASS_NAME >::testEnDequeuePairMT | ( | ) | [inline] |
void test::PQueueTest< QueueType, ParaType, CLASS_NAME >::testBound | ( | ) | [inline] |