OTest2
A C++ testing framework
|
Go to the documentation of this file.
19 #ifndef OTest2__INCLUDE_OTEST2_TESTMARKLIST_H_
20 #define OTest2__INCLUDE_OTEST2_TESTMARKLIST_H_
36 typedef std::vector<TestMarkPtr> List;
40 virtual bool doIsEqualPrefixed(
42 long double precision_)
const;
43 virtual void doDiffArray(
45 std::vector<LinearizedRecord>& array_)
const;
46 virtual void doLinearizedMark(
48 const std::string& label_,
49 std::vector<LinearizedRecord>& array_)
const;
50 virtual const char* getParenthesis()
const;
51 virtual void serializeItems(
53 virtual void deserializeItems(
69 const std::string& prefix_);
virtual ~TestMarkList()
Dtor.
A generic interface of a testmark deserializer.
A generic test mark with string prefix.
void append(TestMarkPtr mark_)
Append a test mark into the list.
A generic interface of a serializer of test marks.
std::shared_ptr< TestMark > TestMarkPtr
TestMarkList & operator=(const TestMarkList &)=delete
static const char * typeMark()
Get serialization typemark.
Ordered list of nested test marks.
Generic interface of a test mark node.
A factory of testmark objects used for deserialization.