Implementation of the testmark formatter based on an IO stream.
More...
#include <testmarkformatterios.h>
|
| | TestMarkFormatterIOS (const TestMarkFormatterIOS &)=delete |
| |
| TestMarkFormatterIOS & | operator= (const TestMarkFormatterIOS &)=delete |
| |
| | TestMarkFormatterIOS (std::ostream *os_, const std::string &prefix_) |
| | Ctor. More...
|
| |
| virtual | ~TestMarkFormatterIOS () |
| | Dtor. More...
|
| |
| virtual void | openMark (const std::string &label_, const TestMark *mark_, int indent_) override |
| | Print opening of a testmark. More...
|
| |
| virtual void | closeMark (const std::string &label_, const TestMark *mark_, int indent_) override |
| | Print closing of a testmark. More...
|
| |
| virtual void | openDeleted (const std::string &label_, const TestMark *mark_, int indent_) override |
| | Print opening of a deleted testmark. More...
|
| |
| virtual void | closeDeleted (const std::string &label_, const TestMark *mark_, int indent_) override |
| | Print closing of a deleted testmark. More...
|
| |
| virtual void | openAdded (const std::string &label_, const TestMark *mark_, int indent_) override |
| | Print opening of an added testmark. More...
|
| |
| virtual void | closeAdded (const std::string &label_, const TestMark *mark_, int indent_) override |
| | Print closing of an added testmark. More...
|
| |
| virtual void | printSeparator () override |
| | Print separator (used for unchanged blocks) More...
|
| |
| | TestMarkFormatter (const TestMarkFormatter &)=delete |
| |
| TestMarkFormatter & | operator= (const TestMarkFormatter &)=delete |
| |
| | TestMarkFormatter () |
| | Ctor. More...
|
| |
| virtual | ~TestMarkFormatter () |
| | Dtor. More...
|
| |
Implementation of the testmark formatter based on an IO stream.
Definition at line 33 of file testmarkformatterios.h.
◆ TestMarkFormatterIOS() [1/2]
◆ TestMarkFormatterIOS() [2/2]
| OTest2::TestMarkFormatterIOS::TestMarkFormatterIOS |
( |
std::ostream * |
os_, |
|
|
const std::string & |
prefix_ |
|
) |
| |
|
explicit |
Ctor.
- Parameters
-
| os_ | An output stream. The ownership is not taken. |
| prefix_ | A prefix prepended to each line |
Definition at line 30 of file testmarkformatterios.cpp.
◆ ~TestMarkFormatterIOS()
| OTest2::TestMarkFormatterIOS::~TestMarkFormatterIOS |
( |
| ) |
|
|
virtualdefault |
◆ closeAdded()
| void OTest2::TestMarkFormatterIOS::closeAdded |
( |
const std::string & |
label_, |
|
|
const TestMark * |
mark_, |
|
|
int |
indent_ |
|
) |
| |
|
overridevirtual |
◆ closeDeleted()
| void OTest2::TestMarkFormatterIOS::closeDeleted |
( |
const std::string & |
label_, |
|
|
const TestMark * |
mark_, |
|
|
int |
indent_ |
|
) |
| |
|
overridevirtual |
◆ closeMark()
| void OTest2::TestMarkFormatterIOS::closeMark |
( |
const std::string & |
label_, |
|
|
const TestMark * |
mark_, |
|
|
int |
indent_ |
|
) |
| |
|
overridevirtual |
◆ openAdded()
| void OTest2::TestMarkFormatterIOS::openAdded |
( |
const std::string & |
label_, |
|
|
const TestMark * |
mark_, |
|
|
int |
indent_ |
|
) |
| |
|
overridevirtual |
◆ openDeleted()
| void OTest2::TestMarkFormatterIOS::openDeleted |
( |
const std::string & |
label_, |
|
|
const TestMark * |
mark_, |
|
|
int |
indent_ |
|
) |
| |
|
overridevirtual |
◆ openMark()
| void OTest2::TestMarkFormatterIOS::openMark |
( |
const std::string & |
label_, |
|
|
const TestMark * |
mark_, |
|
|
int |
indent_ |
|
) |
| |
|
overridevirtual |
◆ operator=()
◆ printSeparator()
| void OTest2::TestMarkFormatterIOS::printSeparator |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: