TestCase Class Reference
[Test Module]

Test Case. More...

#include <testCase.h>

List of all members.

Public Member Functions

std::string getName ()
 Get the name of the test case.
void operator= (bool result)
 assignment operator
bool operator== (bool input)
 comparitor
 TestCase (std::string name)
 Custom constructor.
 TestCase ()
 Default constructor.


Detailed Description

Test Case.

Encapsulate a test case input, expected output, actual output and result (pass or fail)


Constructor & Destructor Documentation

TestCase::TestCase ( std::string  name  ) 

Custom constructor.

Parameters:
name of the test case


Member Function Documentation

std::string TestCase::getName (  ) 

Get the name of the test case.

Returns:
the name of the test case

void TestCase::operator= ( bool  result  ) 

assignment operator

Sets the result of the test

Parameters:
result of the test (true for pass and false for fail)

bool TestCase::operator== ( bool  input  ) 

comparitor

Returns:
true if test results are equal


Generated on Mon Feb 23 16:42:01 2009 for Dragon Wings by  doxygen 1.5.5