36 const std::string& reason,
37 const std::string& pipeline,
39 m_type(type), m_reason(reason), m_conditional(tu.conditional)
41 std::ostringstream out;
44 out <<
"TestCase " << tc.
id <<
" succeeded ! " << std::endl;
46 out <<
" explanation : " << tc.
explanation << std::endl;
47 out <<
"in TestUnit " << tu.
id <<
" on trace " << tu.
trace << std::endl;
48 out <<
" comment : " << tu.
comment << std::endl;
49 out <<
" left : " << tu.
left << std::endl;
50 out <<
" operator : " << tu.
op << std::endl;
51 out <<
" right : " << tu.
right << std::endl;
52 out <<
" conditional : " << tu.
conditional << std::endl;
53 out <<
"operator '" << tu.
op <<
"' is unknown !" << std::endl;
57 out <<
" test unit : " << tu.
id << std::endl;
58 out <<
" pipeline : " << pipeline << std::endl;
59 out <<
" reason : " << reason << std::endl;
60 out <<
" type : " << tc.
type <<
", id : " << tc.
id << std::endl;
63 out <<
" " << (*paramIt).first <<
" = " << (*paramIt).second<< std::endl;
67 out <<
" " << (*paramIt).first <<
" = ";
68 const std::list<std::string>& list = (*paramIt).second;
69 for( std::list<std::string>::const_iterator valIt = list.begin() ;
70 valIt != list.end() ; valIt++ ) {
75 for( MapValCallParams::const_iterator paramIt = tc.
mapValCallParams.begin() ;
77 const std::map<std::string,std::string>& map = (*paramIt).second;
78 out <<
" " << (*paramIt).first <<
" = ";
79 for( std::map<std::string,std::string>::const_iterator valueIt = map.begin() ;
80 valueIt != map.end() ; valueIt++ ) {
81 out <<
" attr='" << (*valueIt).first <<
"' val='" << (*valueIt).second <<
"'";
88 out <<
"TestCase " << tc.
id <<
" is invalid ! " << std::endl;
90 out <<
" explanation : " << tc.
explanation << std::endl;
91 out <<
"in TestUnit " << tu.
id <<
" on trace " << tu.
trace << std::endl;
92 out <<
" comment : " << tu.
comment << std::endl;
93 out <<
" left : " << tu.
left << std::endl;
94 out <<
" operator : " << tu.
op << std::endl;
95 out <<
" right : " << tu.
right << std::endl;
96 out <<
" conditional : " << tu.
conditional << std::endl;
97 out <<
"operator '" << tu.
op <<
"' is unknown !" << std::endl;
101 out <<
"TestCase " << tc.
id <<
" failed ! " << std::endl;
103 out <<
" explanation : " << tc.
explanation << std::endl;
104 out <<
"in pipeline : " << pipeline << std::endl;
105 out <<
"in TestUnit " << tu.
id <<
" on trace " << tu.
trace << std::endl;
106 out <<
" comment : " << tu.
comment << std::endl;
107 out <<
" left : " << tu.
left << std::endl;
108 out <<
" operator : " << tu.
op << std::endl;
109 out <<
" right : " << tu.
right << std::endl;
110 out <<
" conditional : " << tu.
conditional << std::endl;