utest_Error Class Reference

List of all members.

Public Member Functions

void setUp (void)
void tearDown (void)

Protected Member Functions

void defaultConstructor (void)
 tests the default constructor
void secondConstructor (void)
 tests the constructor with parameters
void line (void)
 tests the set and get methods for line number
void file (void)
 tests the set and get methods for the file name
void message (void)
 tests the set and get methods for the message

Private Member Functions

 CPPUNIT_TEST_SUITE (utest_Error)
 CPPUNIT_TEST (defaultConstructor)
 CPPUNIT_TEST (secondConstructor)
 CPPUNIT_TEST (line)
 CPPUNIT_TEST (file)
 CPPUNIT_TEST (message)
 CPPUNIT_TEST_SUITE_END ()

Private Attributes

green::ErrormDefCon
 for testing the default constructor
green::ErrormSecCon
 for testing the paramaterized constructor
green::Error mLine
 for testing setting and getting of the line
green::Error mFile
 for testing setting and getting of the file
green::Error mMessage
 for testing setting and getting of the message

Detailed Description

Test Fixture for the Error class


Member Function Documentation

void utest_Error::setUp ( void   ) 

Basically sets up a few Errors to test later

void utest_Error::tearDown ( void   ) 

cleans up any allocated Errors


The documentation for this class was generated from the following file:
Generated on Fri Apr 27 10:27:38 2007 for Green Engine by  doxygen 1.5.1