Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

wx::Test Class Reference

#include <test.h>

List of all members.

Public Member Functions

 Test (wxString const &sNewTestName, int nNewTestCount)
virtual ~Test ()

Protected Member Functions

virtual bool Run ()=0
wxString GetName ()
bool Ok ()
int GetTestCount ()
int GetCurrentIndex ()
bool Pass (int nSubTestIndex)

Private Attributes

wxString m_sTestName
int m_nTestCount
int m_nCurrentIndex

Friends

class TestHarness


Constructor & Destructor Documentation

wx::Test::Test wxString const &  sNewTestName,
int  nNewTestCount
[inline]
 

Definition at line 50 of file test.h.

References m_nCurrentIndex, m_nTestCount, and m_sTestName.

virtual wx::Test::~Test  )  [inline, virtual]
 

Definition at line 55 of file test.h.


Member Function Documentation

int wx::Test::GetCurrentIndex  )  [inline, protected]
 

Definition at line 77 of file test.h.

References m_nCurrentIndex.

Referenced by wx::TestHarness::RunTest().

wxString wx::Test::GetName  )  [inline, protected]
 

Definition at line 61 of file test.h.

References m_sTestName.

Referenced by wx::TestHarness::RunTest().

int wx::Test::GetTestCount  )  [inline, protected]
 

Definition at line 72 of file test.h.

References m_nTestCount.

Referenced by wx::TestHarness::RunTest().

bool wx::Test::Ok  )  [inline, protected]
 

Definition at line 67 of file test.h.

References m_nCurrentIndex, and m_nTestCount.

Referenced by wx::TestHarness::RunTest().

bool wx::Test::Pass int  nSubTestIndex  )  [inline, protected]
 

Definition at line 82 of file test.h.

References m_nCurrentIndex, m_nTestCount, and m_sTestName.

virtual bool wx::Test::Run  )  [protected, pure virtual]
 

Referenced by wx::TestHarness::RunTest().


Friends And Related Function Documentation

friend class TestHarness [friend]
 

Definition at line 47 of file test.h.


Member Data Documentation

int wx::Test::m_nCurrentIndex [private]
 

Definition at line 106 of file test.h.

Referenced by GetCurrentIndex(), Ok(), Pass(), and Test().

int wx::Test::m_nTestCount [private]
 

Definition at line 105 of file test.h.

Referenced by GetTestCount(), Ok(), Pass(), and Test().

wxString wx::Test::m_sTestName [private]
 

Definition at line 104 of file test.h.

Referenced by GetName(), Pass(), and Test().


The documentation for this class was generated from the following file:
Generated on Wed Jan 25 08:13:17 2006 for Sherpa wxWidgets Classes by doxygen 1.3.6