#include <baseTest.h>
Public Member Functions | |
BaseTest () | |
virtual void | reset () |
virtual | ~BaseTest () |
DataType & | getData (int index) |
Public Attributes | |
int | NELEMENT |
int | NOPERATION |
int | MAXTHREADN |
ConcurrentRunner * | runner |
DataType * | data |
virtual void BaseTest< DataType >::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 in test::AASortTest, test::BDequeTest< DequeType, ParaType, CLASS_NAME >, test::CounterTest< CounterType, ParaType, CLASS_NAME >, test::DequeTest< DequeType, ParaType, CLASS_NAME >, test::DictionaryTest< DictType, ParaType, CLASS_NAME >, test::ExecutorTest< Executor >, test::FutureTest< Executor >, test::IteratorTest< ListType, ParaType, CLASS_NAME >, test::ListTest< ListType, ParaType, CLASS_NAME >, test::PatternTest< ElementT, CLASS_NAME >, test::PQueueTest< QueueType, ParaType, CLASS_NAME >, test::ParallelSortTest< ParaType, CLASS_NAME >, test::QueueTest< QueueType, ParaType, CLASS_NAME >, test::SetTest< SetType, ParaType, CLASS_NAME >, and test::StackTest< TestType, ParaType, CLASS_NAME >.
DataType& BaseTest< DataType >::getData | ( | int | index | ) | [inline] |
int BaseTest< DataType >::NOPERATION |
int BaseTest< DataType >::MAXTHREADN |
ConcurrentRunner* BaseTest< DataType >::runner |