#include <test_list.h>
Public Member Functions | |
ThreadRemoveFactory (ListType *l, ListTest< ListType, ParaType, CLASS_NAME > *lt) | |
virtual Runnable ** | createThreads (int threadNum, int elementNum, int operationNum) |
virtual void | verifyResult (int threadNum, int elementNum) |
ThreadRemoveFactory (SetType *s, SetTest< SetType, ParaType, CLASS_NAME > *st) | |
virtual Runnable ** | createThreads (int threadNum, int elementNum, int operationNum) |
virtual void | verifyResult (int threadNum, int elementNum) |
test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::ThreadRemoveFactory | ( | ListType * | l, | |
ListTest< ListType, ParaType, CLASS_NAME > * | lt | |||
) | [inline] |
test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::ThreadRemoveFactory | ( | SetType * | s, | |
SetTest< SetType, ParaType, CLASS_NAME > * | st | |||
) | [inline] |
virtual Runnable** test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::createThreads | ( | int | threadNum, | |
int | elementNum, | |||
int | operationNum | |||
) | [inline, virtual] |
Create multiple threads which can be used to run simultaneously. This method should also clean and setup internal state for next round of execution.
Implements test::ThreadFactory< ParaType >.
virtual void test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::verifyResult | ( | int | threadNum, | |
int | elementNum | |||
) | [inline, virtual] |
Verify result when created threads finished.
Reimplemented from test::ThreadFactory< ParaType >.
virtual Runnable** test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::createThreads | ( | int | threadNum, | |
int | elementNum, | |||
int | operationNum | |||
) | [inline, virtual] |
Create multiple threads which can be used to run simultaneously. This method should also clean and setup internal state for next round of execution.
Implements test::ThreadFactory< ParaType >.
virtual void test::ThreadRemoveFactory< ListType, ParaType, CLASS_NAME >::verifyResult | ( | int | threadNum, | |
int | elementNum | |||
) | [inline, virtual] |
Verify result when created threads finished.
Reimplemented from test::ThreadFactory< ParaType >.