34 os <<
"<testcase id='" <<
id <<
"' type='" <<
type <<
"'>\n";
36 os <<
"<call-parameters>\n";
39 os <<
"<param key='" << (*paramIt).first <<
"' value='" << (*paramIt).first <<
"'>\n";
43 const std::list<std::string>& list = (*paramIt).second;
44 os <<
"<list key='" << (*paramIt).first <<
"'>\n";
45 for( std::list<std::string>::const_iterator valueIt = list.begin() ;
46 valueIt != list.end() ; valueIt++ ) {
47 os <<
"<item value='" << (*valueIt) <<
"'/>\n";
53 const std::map<std::string,std::string>& map = (*paramIt).second;
54 os <<
"<map key='" << (*paramIt).first <<
"'>\n";
55 for( std::map<std::string,std::string>::const_iterator valueIt = map.begin() ;
56 valueIt != map.end() ; valueIt++ ) {
57 os <<
"<item attr='" << (*valueIt).first <<
"' val='" << (*valueIt).second <<
"'/>\n";
61 os <<
"</call-parameters>\n";
62 for(std::list<TestCase::TestUnit>::const_iterator testUnitIt =
tests.begin() ;
63 testUnitIt !=
tests.end() ; testUnitIt++ ) {
64 testUnitIt->print(os);
66 os <<
"</testcase>\n";