mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
Give (currently not used, so global only) group a name
This commit is contained in:
parent
886ef1620a
commit
3e1d3c7271
@ -37,7 +37,7 @@ namespace Catch {
|
|||||||
|
|
||||||
Totals totals;
|
Totals totals;
|
||||||
|
|
||||||
context.testGroupStarting( "", 1, 1 ); // deprecated?
|
context.testGroupStarting( "all tests", 1, 1 ); // deprecated?
|
||||||
|
|
||||||
TestSpec testSpec = m_config->testSpec();
|
TestSpec testSpec = m_config->testSpec();
|
||||||
if( !testSpec.hasFilters() )
|
if( !testSpec.hasFilters() )
|
||||||
@ -60,7 +60,7 @@ namespace Catch {
|
|||||||
m_testsAlreadyRun.insert( *it );
|
m_testsAlreadyRun.insert( *it );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
context.testGroupEnded( "", totals, 1, 1 );
|
context.testGroupEnded( "all tests", totals, 1, 1 );
|
||||||
return totals;
|
return totals;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite errors="12" failures="87" tests="759" hostname="tbd" time="{duration}" timestamp="tbd">
|
<testsuite name="all tests" errors="12" failures="87" tests="759" hostname="tbd" time="{duration}" timestamp="tbd">
|
||||||
<testcase classname="global" name="toString(enum)" time="{duration}"/>
|
<testcase classname="global" name="toString(enum)" time="{duration}"/>
|
||||||
<testcase classname="global" name="toString(enum w/operator<<)" time="{duration}"/>
|
<testcase classname="global" name="toString(enum w/operator<<)" time="{duration}"/>
|
||||||
<testcase classname="global" name="toString(enum class)" time="{duration}"/>
|
<testcase classname="global" name="toString(enum class)" time="{duration}"/>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<Catch name="CatchSelfTest">
|
<Catch name="CatchSelfTest">
|
||||||
<Group>
|
<Group name="all tests">
|
||||||
<TestCase name="toString(enum)">
|
<TestCase name="toString(enum)">
|
||||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
|
||||||
<Original>
|
<Original>
|
||||||
|
Loading…
Reference in New Issue
Block a user