#include <test_stack.h>
Public Member Functions | |
StackTest () | |
TestType * | getStack () |
void | setUp () |
void | reset () |
void | tearDown () |
void | testEmptyST () |
void | testPushST () |
void | testPopST () |
void | testPushMT () |
void | testPopMT () |
void | testPushPopPairMT () |
test::StackTest< TestType, ParaType, CLASS_NAME >::StackTest | ( | ) | [inline] |
TestType* test::StackTest< TestType, ParaType, CLASS_NAME >::getStack | ( | ) | [inline] |
void test::StackTest< TestType, ParaType, CLASS_NAME >::setUp | ( | ) | [inline] |
void test::StackTest< TestType, 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::StackTest< TestType, ParaType, CLASS_NAME >::tearDown | ( | ) | [inline] |
void test::StackTest< TestType, ParaType, CLASS_NAME >::testEmptyST | ( | ) | [inline] |
void test::StackTest< TestType, ParaType, CLASS_NAME >::testPushST | ( | ) | [inline] |
void test::StackTest< TestType, ParaType, CLASS_NAME >::testPopST | ( | ) | [inline] |
void test::StackTest< TestType, ParaType, CLASS_NAME >::testPushMT | ( | ) | [inline] |
void test::StackTest< TestType, ParaType, CLASS_NAME >::testPopMT | ( | ) | [inline] |
void test::StackTest< TestType, ParaType, CLASS_NAME >::testPushPopPairMT | ( | ) | [inline] |