mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 19:53:28 +01:00
perform startRun() at the start of each test case
This commit is contained in:
parent
52a417df7b
commit
aa49823bc0
@ -70,7 +70,6 @@ namespace Catch {
|
|||||||
m_context.setConfig( m_config );
|
m_context.setConfig( m_config );
|
||||||
m_context.setResultCapture( this );
|
m_context.setResultCapture( this );
|
||||||
m_reporter->testRunStarting( m_runInfo );
|
m_reporter->testRunStarting( m_runInfo );
|
||||||
m_trackerContext.startRun();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~RunContext() {
|
virtual ~RunContext() {
|
||||||
@ -98,6 +97,7 @@ namespace Catch {
|
|||||||
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
m_trackerContext.startRun();
|
||||||
do {
|
do {
|
||||||
m_trackerContext.startCycle();
|
m_trackerContext.startCycle();
|
||||||
m_testCaseTracker = &SectionTracker::acquire( m_trackerContext, testInfo.name );
|
m_testCaseTracker = &SectionTracker::acquire( m_trackerContext, testInfo.name );
|
||||||
|
Loading…
Reference in New Issue
Block a user