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

Generic interface of the testmark formatter. More...

#include <testmarkformatter.h>

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

Public Member Functions

 TestMarkFormatter (const TestMarkFormatter &)=delete
 
TestMarkFormatteroperator= (const TestMarkFormatter &)=delete
 
 TestMarkFormatter ()
 Ctor. More...
 
virtual ~TestMarkFormatter ()
 Dtor. More...
 
virtual void openMark (const std::string &label_, const TestMark *mark_, int indent_)=0
 Print opening of a testmark. More...
 
virtual void closeMark (const std::string &label_, const TestMark *mark_, int indent_)=0
 Print closing of a testmark. More...
 
virtual void openDeleted (const std::string &label_, const TestMark *mark_, int indent_)=0
 Print opening of a deleted testmark. More...
 
virtual void closeDeleted (const std::string &label_, const TestMark *mark_, int indent_)=0
 Print closing of a deleted testmark. More...
 
virtual void openAdded (const std::string &label_, const TestMark *mark_, int indent_)=0
 Print opening of an added testmark. More...
 
virtual void closeAdded (const std::string &label_, const TestMark *mark_, int indent_)=0
 Print closing of an added testmark. More...
 
virtual void printSeparator ()=0
 Print separator (used for unchanged blocks) More...
 

Detailed Description

Generic interface of the testmark formatter.

Definition at line 32 of file testmarkformatter.h.

Constructor & Destructor Documentation

◆ TestMarkFormatter() [1/2]

OTest2::TestMarkFormatter::TestMarkFormatter ( const TestMarkFormatter )
delete

◆ TestMarkFormatter() [2/2]

OTest2::TestMarkFormatter::TestMarkFormatter ( )
default

Ctor.

◆ ~TestMarkFormatter()

OTest2::TestMarkFormatter::~TestMarkFormatter ( )
virtualdefault

Dtor.

Member Function Documentation

◆ closeAdded()

virtual void OTest2::TestMarkFormatter::closeAdded ( const std::string &  label_,
const TestMark mark_,
int  indent_ 
)
pure virtual

Print closing of an added testmark.

Parameters
label_Label of the testmark
mark_The testmark
indent_Indentation level

Implemented in OTest2::TestMarkFormatterIOS.

◆ closeDeleted()

virtual void OTest2::TestMarkFormatter::closeDeleted ( const std::string &  label_,
const TestMark mark_,
int  indent_ 
)
pure virtual

Print closing of a deleted testmark.

Parameters
label_Label of the testmark
mark_The testmark
indent_Indentation level

Implemented in OTest2::TestMarkFormatterIOS.

◆ closeMark()

virtual void OTest2::TestMarkFormatter::closeMark ( const std::string &  label_,
const TestMark mark_,
int  indent_ 
)
pure virtual

Print closing of a testmark.

Parameters
label_Label of the testmark
mark_The mark
indent_Indentation level

Implemented in OTest2::TestMarkFormatterIOS.

◆ openAdded()

virtual void OTest2::TestMarkFormatter::openAdded ( const std::string &  label_,
const TestMark mark_,
int  indent_ 
)
pure virtual

Print opening of an added testmark.

Parameters
label_Label of the testmark
mark_The testmark
indent_Indentation level

Implemented in OTest2::TestMarkFormatterIOS.

◆ openDeleted()

virtual void OTest2::TestMarkFormatter::openDeleted ( const std::string &  label_,
const TestMark mark_,
int  indent_ 
)
pure virtual

Print opening of a deleted testmark.

Parameters
label_Label of the testmark
markThe testmark
indent_Indentation level

Implemented in OTest2::TestMarkFormatterIOS.

◆ openMark()

virtual void OTest2::TestMarkFormatter::openMark ( const std::string &  label_,
const TestMark mark_,
int  indent_ 
)
pure virtual

Print opening of a testmark.

Parameters
label_Label of the testmark
mark_The testmark
indent_Indentation level

Implemented in OTest2::TestMarkFormatterIOS.

◆ operator=()

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

◆ printSeparator()

virtual void OTest2::TestMarkFormatter::printSeparator ( )
pure virtual

Print separator (used for unchanged blocks)

Implemented in OTest2::TestMarkFormatterIOS.


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