XmlReporter enhancement: Add an attribute for the macro name of an expression.

This commit is contained in:
Sean D. Cline 2014-10-11 20:01:14 -04:00
parent ea81e98d6a
commit 6e99695610
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ namespace Catch {
if( assertionResult.hasExpression() ) {
m_xml.startElement( "Expression" )
.writeAttribute( "success", assertionResult.succeeded() )
.writeAttribute( "type", assertionResult.getTestMacroName() )
.writeAttribute( "filename", assertionResult.getSourceInfo().file )
.writeAttribute( "line", assertionResult.getSourceInfo().line );