mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
XML Reporter reports file/ line in Exception element
This commit is contained in:
parent
02e597c2cc
commit
db2eda9009
@ -135,6 +135,8 @@ namespace Catch
|
||||
{
|
||||
case ResultWas::ThrewException:
|
||||
m_xml.scopedElement( "Exception" )
|
||||
.writeAttribute( "filename", resultInfo.getFilename() )
|
||||
.writeAttribute( "line", resultInfo.getLine() )
|
||||
.writeText( resultInfo.getMessage() );
|
||||
m_currentTestSuccess = false;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user