mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Merge branch 'master' of https://github.com/awglyde/Catch
This commit is contained in:
		| @@ -150,6 +150,7 @@ namespace Catch { | ||||
|         } | ||||
|  | ||||
|         virtual void testCaseStarting( TestCaseInfo const& testInfo ) CATCH_OVERRIDE { | ||||
|             m_testTimer.start(); | ||||
|             StreamingReporterBase::testCaseStarting( testInfo ); | ||||
|             stream << "##teamcity[testStarted name='" | ||||
|                 << escape( testInfo.name ) << "']\n"; | ||||
| @@ -166,7 +167,8 @@ namespace Catch { | ||||
|                     << escape( testCaseStats.testInfo.name ) | ||||
|                     << "' out='" << escape( testCaseStats.stdErr ) << "']\n"; | ||||
|             stream << "##teamcity[testFinished name='" | ||||
|                 << escape( testCaseStats.testInfo.name ) << "']\n"; | ||||
|                     << escape( testCaseStats.testInfo.name ) << "' duration='" | ||||
|                     << m_testTimer.getElapsedMilliseconds() << "']\n"; | ||||
|         } | ||||
|  | ||||
|     private: | ||||
| @@ -205,6 +207,7 @@ namespace Catch { | ||||
|         } | ||||
|     private: | ||||
|         bool m_headerPrintedForThisSection; | ||||
|         Timer m_testTimer; | ||||
|     }; | ||||
|  | ||||
| #ifdef CATCH_IMPL | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský