mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 14:09:33 +01:00 
			
		
		
		
	XmlReporter enhancement: Add an attribute for the macro name of an expression.
This commit is contained in:
		@@ -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 );
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user