Opened 18 years ago
Closed 17 years ago
#381 closed Bugs (None)
Bad XML format outpout
| Reported by: | nobody | Owned by: | beman_dawes |
|---|---|---|---|
| Milestone: | Component: | test | |
| Version: | None | Severity: | |
| Keywords: | Cc: |
Description
IN FILE :
boost_1_32_0\libs\test\src\supplied_log_formatters.cpp
IN FUNCTION : xml_log_formatter::track_test_case_scope
Missing accodance in test…
void xml_log_formatter::track_test_case_scope(
std::ostream& output, test_case const& tc, bool in_out )
{
if( !in_out )
m_indent -= 2;
print_indent( output );
output << (in_out ? "<" : "</") << ( tc.p_type ?
"TestCase" : "TestSuite" );
// HERE MISSING ORIGINAL CODE : MISSING ‘{‘ !!
//if( in_out )
// output << " name"; print_attr_value( output,
tc.p_name );
// Patch
if( in_out ) {
output << " name"; print_attr_value( output,
tc.p_name );
}
output << ">";
if( in_out )
m_indent += 2;
}
Note:
See TracTickets
for help on using tickets.
