Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2014-12-30 18:25:27 +0000
committerPhil Nash2014-12-30 18:25:27 +0000
commitc6635a7b7933250a76f4eeb3e10b6a7e373b6026 (patch)
treec1d60526c1f65b3a632ae14372347e07029c32db /include
parent6817bb099db44744cc32da193cbe710ffcead8b8 (diff)
downloadcatch3-c6635a7b7933250a76f4eeb3e10b6a7e373b6026.tar.gz
Added type attribute to xml reporter output
- reports the macro used
Diffstat (limited to 'include')
-rw-r--r--include/reporters/catch_reporter_xml.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reporters/catch_reporter_xml.hpp b/include/reporters/catch_reporter_xml.hpp
index 08971d1f..d8cb1dd1 100644
--- a/include/reporters/catch_reporter_xml.hpp
+++ b/include/reporters/catch_reporter_xml.hpp
@@ -99,7 +99,7 @@ namespace Catch {
if( assertionResult.hasExpression() ) {
m_xml.startElement( "Expression" )
.writeAttribute( "success", assertionResult.succeeded() )
-// .writeAttribute( "type", assertionResult.getTestMacroName() )
+ .writeAttribute( "type", assertionResult.getTestMacroName() )
.writeAttribute( "filename", assertionResult.getSourceInfo().file )
.writeAttribute( "line", assertionResult.getSourceInfo().line );