Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members  

wxTestRunnerMT Class Reference

#include <TestRunner.h>

Inheritance diagram for wxTestRunnerMT::

wxTestRunner wxITestRunner List of all members.

Public Methods

 wxTestRunnerMT ()
virtual ~wxTestRunnerMT ()
void SetNumThreads (int nThreads)
virtual void OnThreadTerminated (TestRunnerThread *pThread)
virtual void SpawnThreads (wxITest *)
 Implementations of test-runners can implement this function to spawn additional threads to run test cases in a multi-threaded envoriment to check for thread saftey. More...


Public Attributes

int m_nThreads

Protected Attributes

TestRunnerThread ** m_threads

Constructor & Destructor Documentation

wxTestRunnerMT::wxTestRunnerMT  
 

virtual wxTestRunnerMT::~wxTestRunnerMT   [virtual]
 


Member Function Documentation

void wxTestRunnerMT::SetNumThreads int    nThreads
 

virtual void wxTestRunnerMT::OnThreadTerminated TestRunnerThread *    pThread [virtual]
 

virtual void wxTestRunnerMT::SpawnThreads wxITest   [virtual]
 

Implementations of test-runners can implement this function to spawn additional threads to run test cases in a multi-threaded envoriment to check for thread saftey.

This function is typically called from an a test's 'Run( wxITestRunner* )' function. It should spawn multiple threads and call the test's 'Run( wxITestRunner*, int nThreadId )' function

Parameters:
wxITest  The test currently running.

Reimplemented from wxTestRunner.


Member Data Documentation

int wxTestRunnerMT::m_nThreads
 

Definition at line 116 of file TestRunner.h.

TestRunnerThread** wxTestRunnerMT::m_threads [protected]
 

Definition at line 119 of file TestRunner.h.


The documentation for this class was generated from the following file:
ThunderCow Software (c) 2001 Marty Saxton, ThunderCow Software. Generated on Sat Nov 17 14:08:32 2001 for wxTest by Doxygen 1.2.11