CppUnit project page FAQ CppUnit home page

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Creating custom assertions


Namespaces

namespace  CppUnit::Asserter
 A set of functions to help writing assertion macros.


Classes

class  SourceLine
 Represents a source line location. More...


Defines

#define CPPUNIT_SOURCELINE()   ::CppUnit::SourceLine( __FILE__, __LINE__ )
 Constructs a SourceLine object initialized with the location where the macro is expanded.

 CppUnit::SourceLine::CPPUNIT_SOURCELINE()
 Constructs a SourceLine object initialized with the location where the macro is expanded.


Define Documentation

 
CPPUNIT_SOURCELINE  )  [related, inherited]
 

Constructs a SourceLine object initialized with the location where the macro is expanded.

Used to write your own assertion macros.

See also:
Asserter for example of usage.

 
#define CPPUNIT_SOURCELINE  )     ::CppUnit::SourceLine( __FILE__, __LINE__ ) [related]
 

Constructs a SourceLine object initialized with the location where the macro is expanded.

Used to write your own assertion macros.

See also:
Asserter for example of usage.


SourceForge Logo hosts this site. Send comments to:
CppUnit Developers