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

EasyUnit namespace. More...


Classes

class  easyunit::DefaultTestPrinter
 This is the default testprinter used by easyunit testregistry when the user calls the runAndPrint() method without specifying a testprinter. More...
class  easyunit::SimpleString
 SimpleString is a simple implementation of the std class String and is provided to ease the manipulation of strings without using any other libraries. More...
class  easyunit::Test
 Test class containing all macros to do unit testing. More...
class  easyunit::TestCase
 A TestCase is a collection of unit tests (instance of Test) and is always specified by the first parameter of a Test declaration. More...
class  easyunit::TestPartResult
 This class contains details about assertion processed during the execution of a Test. More...
class  easyunit::TestPrinter
 A TestPrinter is a class used by the TestRegistry to print results of executed TestCases. More...
class  easyunit::TestRegistry
 The TestRegistry is the main class used to register all tests, and create appropriate TestCase. More...
class  easyunit::TestResult
class  easyunit::TestRunner
 Test runner used to determine which test to run. More...

Enumerations

enum  headerLevel { complete, normal, off }
 Complete header level means that a header will be printed before the test details with all information available in the test result. More...
enum  testType { failure, success, error }
 This enumeration contains the three states a TestPartResult can take. More...

Functions

SimpleString StringFrom (bool value)
SimpleString StringFrom (const char *value)
SimpleString StringFrom (long value)
SimpleString StringFrom (int value)
SimpleString StringFrom (double value)
SimpleString StringFrom (const SimpleString &other)


Detailed Description

EasyUnit namespace.

This is the namespace containing all easyunit classes.


Enumeration Type Documentation

enum headerLevel
 

Complete header level means that a header will be printed before the test details with all information available in the test result.

Normal header level means that a header will be printed before the test details with the most useful information available in the test result.

Off header level means that no header will be printed before the test details.

Whatever the level, there will always be a clear indication telling if there was a failure/error or not at the global level.

Enumeration values:
complete 
normal 
off 

enum testType
 

This enumeration contains the three states a TestPartResult can take.

A failure means that an assertion failed during the test.

A success means that all assertion succeeded during the test.

An error means that an exception was thrown during the test.

Enumeration values:
failure 
success 
error 


Function Documentation

SimpleString StringFrom const SimpleString &  other  ) 
 

SimpleString StringFrom double  value  ) 
 

SimpleString StringFrom int  value  ) 
 

SimpleString StringFrom long  value  ) 
 

SimpleString StringFrom const char *  value  ) 
 

SimpleString StringFrom bool  value  ) 
 


Generated on Fri Mar 4 09:51:25 2005 for EasyUnit by doxygen 1.3.8