mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	 Nathaniel Dosé
					Nathaniel Dosé
				
			
				
					committed by
					
						 Jozef Grajciar
						Jozef Grajciar
					
				
			
			
				
	
			
			
			 Jozef Grajciar
						Jozef Grajciar
					
				
			
						parent
						
							d75e9b3c0f
						
					
				
				
					commit
					17686ba571
				
			| @@ -76,6 +76,13 @@ namespace Catch { | ||||
|     void JunitReporter::testRunStarting( TestRunInfo const& runInfo )  { | ||||
|         CumulativeReporterBase::testRunStarting( runInfo ); | ||||
|         xml.startElement( "testsuites" ); | ||||
|         if( m_config->rngSeed() != 0 ) { | ||||
|             xml.startElement( "properties" ); | ||||
|             xml.scopedElement( "property" ) | ||||
|                 .writeAttribute( "name", "random-seed" ) | ||||
|                 .writeAttribute( "value", m_config->rngSeed() ); | ||||
|             xml.endElement(); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     void JunitReporter::testGroupStarting( GroupInfo const& groupInfo ) { | ||||
|   | ||||
| @@ -1,6 +1,9 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <testsuitesloose text artifact | ||||
| > | ||||
| <testsuites> | ||||
|   <properties> | ||||
|     <property name="random-seed" value="1"/> | ||||
|   </properties> | ||||
| loose text artifact | ||||
|   <testsuite name="<exe-name>" errors="17" failures="113" tests="1312" hostname="tbd" time="{duration}" timestamp="{iso8601-timestamp}"> | ||||
|     <testcase classname="<exe-name>.global" name="# A test name that starts with a #" time="{duration}"/> | ||||
|     <testcase classname="<exe-name>.global" name="#1005: Comparing pointer to int and long (NULL can be either on various systems)" time="{duration}"/> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user