OTest2
A C++ testing framework
Public Member Functions | List of all members
OTest2::AssertBufferListener Class Referenceabstract

Listener of the string assertion buffer. More...

#include <assertbufferstr.h>

Inheritance diagram for OTest2::AssertBufferListener:
Inheritance graph
[legend]

Public Member Functions

 AssertBufferListener (const AssertBufferListener &)=delete
 
AssertBufferListeneroperator= (const AssertBufferListener &)=delete
 
 AssertBufferListener ()
 Ctor. More...
 
virtual ~AssertBufferListener ()
 Dtor. More...
 
virtual void assertionOpeningMessage (const Context &context_, const AssertBufferAssertData &data_, const std::string &message_)=0
 First composed message of an assertion. More...
 
virtual void assertionAdditionalMessage (const Context &context_, const AssertBufferAssertData &data_, const std::string &message_)=0
 Additional assertion message. More...
 
virtual void assertionClose (const Context &context_, const AssertBufferAssertData &data_)=0
 Closing of the assertion. More...
 
virtual void errorOpeningMessage (const Context &context_, const std::string &message_)=0
 First composed message of an internal error. More...
 
virtual void errorAdditionalMessage (const Context &context_, const std::string &message_)=0
 Additional error message. More...
 
virtual void errorClose (const Context &context_)=0
 Closing of the internal error. More...
 

Detailed Description

Listener of the string assertion buffer.

Definition at line 44 of file assertbufferstr.h.

Constructor & Destructor Documentation

◆ AssertBufferListener() [1/2]

OTest2::AssertBufferListener::AssertBufferListener ( const AssertBufferListener )
delete

◆ AssertBufferListener() [2/2]

OTest2::AssertBufferListener::AssertBufferListener ( )
default

Ctor.

◆ ~AssertBufferListener()

OTest2::AssertBufferListener::~AssertBufferListener ( )
virtualdefault

Dtor.

Member Function Documentation

◆ assertionAdditionalMessage()

virtual void OTest2::AssertBufferListener::assertionAdditionalMessage ( const Context context_,
const AssertBufferAssertData data_,
const std::string &  message_ 
)
pure virtual

Additional assertion message.

Implemented in OTest2::AssertBufferBase.

◆ assertionClose()

virtual void OTest2::AssertBufferListener::assertionClose ( const Context context_,
const AssertBufferAssertData data_ 
)
pure virtual

Closing of the assertion.

Implemented in OTest2::AssertBufferBase.

◆ assertionOpeningMessage()

virtual void OTest2::AssertBufferListener::assertionOpeningMessage ( const Context context_,
const AssertBufferAssertData data_,
const std::string &  message_ 
)
pure virtual

First composed message of an assertion.

Parameters
context_OTest2 context
data_Data about the assertion
message_The composed message

Implemented in OTest2::AssertBufferBase.

◆ errorAdditionalMessage()

virtual void OTest2::AssertBufferListener::errorAdditionalMessage ( const Context context_,
const std::string &  message_ 
)
pure virtual

Additional error message.

Implemented in OTest2::AssertBufferBase.

◆ errorClose()

virtual void OTest2::AssertBufferListener::errorClose ( const Context context_)
pure virtual

Closing of the internal error.

Implemented in OTest2::AssertBufferBase.

◆ errorOpeningMessage()

virtual void OTest2::AssertBufferListener::errorOpeningMessage ( const Context context_,
const std::string &  message_ 
)
pure virtual

First composed message of an internal error.

Parameters
context_OTest2 context
message_The composed message

Implemented in OTest2::AssertBufferBase.

◆ operator=()

AssertBufferListener& OTest2::AssertBufferListener::operator= ( const AssertBufferListener )
delete

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