mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Some clean-up and a little more JUnit implementation
This commit is contained in:
@@ -108,6 +108,16 @@ namespace Catch
|
||||
return *this;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
XmlWriter& writeAttribute( const std::string& name, const T& attribute )
|
||||
{
|
||||
if( !name.empty() )
|
||||
{
|
||||
m_os << " " << name << "=\"" << attribute << "\"";
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
XmlWriter& writeText( const std::string& text )
|
||||
{
|
||||
if( !text.empty() )
|
||||
|
Reference in New Issue
Block a user