Boost-Graph
view release on metacpan or search on metacpan
include/boost/test/impl/xml_log_formatter.ipp view on Meta::CPAN
<< " skipped" << attr_value() << "yes"
<< "/>";
}
//____________________________________________________________________________//
void
xml_log_formatter::log_exception( std::ostream& ostr, log_checkpoint_data const& checkpoint_data, const_string explanation )
{
ostr << "<Exception name" << attr_value() << framework::current_test_case().p_name.get() << ">"
<< pcdata() << explanation;
if( !checkpoint_data.m_message.empty() ) {
ostr << "<LastCheckpoint file" << attr_value() << checkpoint_data.m_file
<< " line" << attr_value() << checkpoint_data.m_line
<< ">"
<< pcdata() << checkpoint_data.m_message
<< "</LastCheckpoint>";
}
ostr << "</Exception>";
}
//____________________________________________________________________________//
void
xml_log_formatter::log_entry_start( std::ostream& ostr, log_entry_data const& entry_data, log_entry_types let )
include/boost/test/impl/xml_log_formatter.ipp view on Meta::CPAN
<< " file" << attr_value() << entry_data.m_file
<< " line" << attr_value() << entry_data.m_line
<< ">";
}
//____________________________________________________________________________//
void
xml_log_formatter::log_entry_value( std::ostream& ostr, const_string value )
{
ostr << pcdata() << value;
}
//____________________________________________________________________________//
void
xml_log_formatter::log_entry_finish( std::ostream& ostr )
{
ostr << "</" << m_curr_tag << ">";
m_curr_tag.clear();
include/boost/test/utils/xml_printer.hpp view on Meta::CPAN
{
*p << "=\"";
print_escaped( *p, value );
*p << '"';
return *p;
}
//____________________________________________________________________________//
typedef custom_manip<struct pcdata_t> pcdata;
inline std::ostream&
operator<<( custom_printer<pcdata> const& p, const_string value )
{
print_escaped( *p, value );
return *p;
}
//____________________________________________________________________________//
} // namespace unit_test
( run in 1.176 second using v1.01-cache-2.11-cpan-454fe037f31 )