OKlibrary  0.2.1.6
OKlib::TestSystem::messages::ErrorDescription Class Reference

The unit to describe the point in call history leading to a test failure. More...

#include <TestExceptions.hpp>

Inheritance diagram for OKlib::TestSystem::messages::ErrorDescription:
OKlib::Messages::MessagesPrePost OKlib::Messages::MessagesLines OKlib::Messages::MessagesBase

List of all members.

Classes

struct  ClassIdentificationHeading
struct  ExceptionIdentificationHeading

Public Member Functions

 ErrorDescription (const ::OKlib::TestSystem::messages::BasicTestDescription &test,::OKlib::Messages::Utilities::FileIdentification *const file_,::OKlib::Messages::Utilities::LineIdentification *const line_, const size_type indent_=1)
void print (std::ostream &out, L< en_GB >, S< Basic >) const
void print (std::ostream &out, L< en_GB >, S< Full >) const

Detailed Description

The unit to describe the point in call history leading to a test failure.

A message class; an object contains shared pointers to message objects for the test class identification and the file name and line number for identifying the place where the exception was thrown (class ErrorDescription takes over ownership of these message-object-pointers).

Todo:
Provide different output-languages.

Definition at line 48 of file TestExceptions.hpp.


Constructor & Destructor Documentation


Member Function Documentation

void OKlib::TestSystem::messages::ErrorDescription::print ( std::ostream &  out,
L< en_GB >  ,
S< Basic  
) const [inline]
void OKlib::TestSystem::messages::ErrorDescription::print ( std::ostream &  out,
L< en_GB >  ,
S< Full  
) const [inline]

The documentation for this class was generated from the following file: