A generic test mark with string prefix.
More...
#include <testmarkprefix.h>
|
| TestMarkPrefix (const TestMarkPrefix &)=delete |
|
TestMarkPrefix & | operator= (const TestMarkPrefix &)=delete |
|
virtual void | doLinearizedMark (int level_, const std::string &label_, std::vector< LinearizedRecord > &array_) const =0 |
| Create linearized test mark. More...
|
|
| TestMark () |
| Ctor. More...
|
|
virtual | ~TestMark () |
| Dtor. More...
|
|
| TestMark (const TestMark &)=delete |
|
TestMark & | operator= (const TestMark &)=delete |
|
TestMarkHashCode | getHashCode () const noexcept |
| Get testmarks' hash code. More...
|
|
bool | isEqual (const TestMark &other_, long double precision_=DEFAULT_FLOAT_PRECISION) const |
| Compare two marks for equality. More...
|
|
bool | isEqualValue (const TestMark &other_, long double precision_=DEFAULT_FLOAT_PRECISION) const |
| Compare values of 2 test mark nodes. More...
|
|
bool | isEqualValueHash (const TestMark &other_, long double precision_=DEFAULT_FLOAT_PRECISION) const |
| Compare values of 2 testmark nodes and their hash codes. More...
|
|
void | linearizedMark (std::vector< LinearizedRecord > &array_) const |
| Create the linearized test mark. More...
|
|
void | printOpen (std::ostream &os_, const std::string &prefix_) const |
| Print opening of the node into a stream. More...
|
|
void | printClose (std::ostream &os_, const std::string &prefix_) const |
| Print closing of the node into a stream. More...
|
|
void | serializeMark (TestMarkOut &serializer_) const |
| Serialize the testmark into a serializer. More...
|
|
void | deserializeMark (TestMarkFactory &factory_, TestMarkIn &deserializer_) |
| Deserialize the testmark. More...
|
|
void | computeDiff (const TestMark &other_, std::vector< LinearizedRecord > &left_, std::vector< LinearizedRecord > &right_, DiffLogBuilder &diff_) const |
| Compute difference of two test marks. More...
|
|
void | printMark (TestMarkFormatter &formatter_) const |
| Print the testmark. More...
|
|
void | printAddMark (TestMarkFormatter &formatter_) const |
| Print the testmark as it's completely new. More...
|
|
A generic test mark with string prefix.
Definition at line 35 of file testmarkprefix.h.
◆ TestMarkPrefix() [1/3]
OTest2::TestMarkPrefix::TestMarkPrefix |
( |
const char * |
serialize_type_mark_, |
|
|
const std::string & |
prefix_ |
|
) |
| |
|
explicitprotected |
Ctor.
- Parameters
-
serialize_type_mark_ | A type mark used for serialization. The ownership is not taken! |
prefix_ | The prefix. It can be empty. |
Definition at line 29 of file testmarkprefix.cpp.
◆ TestMarkPrefix() [2/3]
OTest2::TestMarkPrefix::TestMarkPrefix |
( |
const CtorMark * |
, |
|
|
const char * |
serialize_type_mark_ |
|
) |
| |
|
explicitprotected |
◆ ~TestMarkPrefix()
OTest2::TestMarkPrefix::~TestMarkPrefix |
( |
| ) |
|
|
protectedvirtual |
◆ TestMarkPrefix() [3/3]
◆ operator=()
◆ hash
The documentation for this class was generated from the following files: