Generic interface of the testmark formatter.
More...
#include <testmarkformatter.h>
|
| TestMarkFormatter (const TestMarkFormatter &)=delete |
|
TestMarkFormatter & | operator= (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...
|
|
Generic interface of the testmark formatter.
Definition at line 32 of file testmarkformatter.h.
◆ TestMarkFormatter() [1/2]
◆ TestMarkFormatter() [2/2]
OTest2::TestMarkFormatter::TestMarkFormatter |
( |
| ) |
|
|
default |
◆ ~TestMarkFormatter()
OTest2::TestMarkFormatter::~TestMarkFormatter |
( |
| ) |
|
|
virtualdefault |
◆ 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 |
mark | The 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=()
◆ printSeparator()
virtual void OTest2::TestMarkFormatter::printSeparator |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: