- xmlfile << " <FailedTest id=\"" << failed_tests[i].test << "\">" << std::endl\r
- << " <Name>" << encode(failed_tests[i].group) + "::" + encode(failed_tests[i].name) << "</Name>" << std::endl\r
- << " <FailureType>" << failure_type << "</FailureType>" << std::endl\r
- << " <Location>" << std::endl\r
- << " <File>Unknown</File>" << std::endl\r
- << " <Line>Unknown</Line>" << std::endl\r
- << " </Location>" << std::endl\r
- << " <Message>" << encode(failure_msg + failed_tests[i].message) << "</Message>" << std::endl\r
- << " </FailedTest>" << std::endl;\r
+ *stream_ << " <FailedTest id=\"" << failed_tests_[i].test << "\">" << std::endl\r
+ << " <Name>" << encode(failed_tests_[i].group) + "::" + encode(failed_tests_[i].name) << "</Name>" << std::endl\r
+ << " <FailureType>" << failure_type << "</FailureType>" << std::endl\r
+ << " <Location>" << std::endl\r
+ << " <File>Unknown</File>" << std::endl\r
+ << " <Line>Unknown</Line>" << std::endl\r
+ << " </Location>" << std::endl\r
+ << " <Message>" << encode(failure_msg + failed_tests_[i].message) << "</Message>" << std::endl\r
+ << " </FailedTest>" << std::endl;\r