$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Mikhail Gusarov (mgusarov_at_[hidden])
Date: 2005-01-17 23:57:17
Unit testing library creates invalid XML when asked about XML logging
output, like this:
---------------------------------------
<TestSuite name="TaskQueue tests">
</TestSuite="TaskQueue tests">
---------------------------------------
This is a trivial 'missing braces' bug which can be fixed by the
patching libs/test/src/supplied_log_formatters.cpp. Patch is attached.
-- Mikhail Gusarov ICQ UIN: 111575219 JID dottedmag_at_[hidden]
--- supplied_log_formatters.cpp.old 2005-01-17 17:29:51.000000000 +0600
+++ supplied_log_formatters.cpp 2005-01-17 17:31:13.000000000 +0600
@@ -203,8 +203,9 @@
output << (in_out ? "<" : "</") << ( tc.p_type ? "TestCase" : "TestSuite" );
- if( in_out )
+ if( in_out ) {
output << " name"; print_attr_value( output, tc.p_name );
+ }
output << ">";