OTest2
A C++ testing framework
|
Go to the documentation of this file.
19 #ifndef OTest2__INCLUDE_OTEST2_TESTMARKMAP_H_
20 #define OTest2__INCLUDE_OTEST2_TESTMARKMAP_H_
37 typedef std::multimap<std::string, TestMarkPtr> Map;
41 virtual bool doIsEqualPrefixed(
43 long double precision_)
const;
44 virtual void doDiffArray(
46 std::vector<LinearizedRecord>& array_)
const;
47 virtual void doLinearizedMark(
49 const std::string& label_,
50 std::vector<LinearizedRecord>& array_)
const;
51 virtual const char* getParenthesis()
const;
52 virtual void serializeItems(
54 virtual void deserializeItems(
70 const std::string& prefix_);
101 const std::string& key_,
A generic interface of a testmark deserializer.
A generic test mark with string prefix.
Unordered indexed multimap of test marks.
static const char * typeMark()
Get serialization typemark.
A generic interface of a serializer of test marks.
TestMarkMap & operator=(const TestMarkMap &)=delete
std::shared_ptr< TestMark > TestMarkPtr
void append(const std::string &key_, TestMarkPtr mark_)
Append a mark.
virtual ~TestMarkMap()
Dtor.
Generic interface of a test mark node.
A factory of testmark objects used for deserialization.