Commit e79f3fdd authored by Marco Amagliani's avatar Marco Amagliani
Browse files

Merge from dev/amaglim. Many fixes related to the test system. Added an...

Merge from dev/amaglim. Many fixes related to the test system. Added an interface for Ostreams and used it for the debug and test system. Also improved the checksum reports.

[git-p4: depot-paths = "//ReForm/ReForm/main/CoMISo/": change = 14067]
parent ce2e0e78
......@@ -159,7 +159,7 @@ private:
PTree ptree_;
};
Debug::Stream& operator<<(Debug::Stream& _ds, const JsonTokens::PTree& _ptree)
Base::IOutputStream& operator<<(Base::IOutputStream& _ds, const JsonTokens::PTree& _ptree)
{
std::stringstream os;
boost::property_tree::json_parser::write_json(os, _ptree);
......@@ -167,7 +167,7 @@ Debug::Stream& operator<<(Debug::Stream& _ds, const JsonTokens::PTree& _ptree)
return _ds;
}
Debug::Stream& operator<<(Debug::Stream& _ds, const JsonTokens& _json_tkns)
Base::IOutputStream& operator<<(Base::IOutputStream& _ds, const JsonTokens& _json_tkns)
{
return _ds << _json_tkns.ptree();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment