OTest2
A C++ testing framework
|
Test mark node representing a null pointer. More...
#include <testmarknull.h>
Public Member Functions | |
TestMarkNull () | |
Ctor. More... | |
TestMarkNull (const CtorMark *) | |
Deserialization ctor. More... | |
virtual | ~TestMarkNull () |
Dtor. More... | |
TestMarkNull (const TestMarkNull &)=delete | |
TestMarkNull & | operator= (const TestMarkNull &)=delete |
![]() | |
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... | |
Static Public Member Functions | |
static const char * | typeMark () |
Get serialization typemark. More... | |
Test mark node representing a null pointer.
Definition at line 32 of file testmarknull.h.
OTest2::TestMarkNull::TestMarkNull | ( | ) |
Ctor.
Definition at line 36 of file testmarknull.cpp.
|
explicit |
Deserialization ctor.
Definition at line 40 of file testmarknull.cpp.
|
virtual |
Dtor.
Definition at line 45 of file testmarknull.cpp.
|
delete |
|
delete |
|
static |
Get serialization typemark.
Definition at line 49 of file testmarknull.cpp.