Give (currently not used, so global only) group a name

This commit is contained in:
Phil Nash 2014-09-08 08:14:22 +01:00
parent 886ef1620a
commit 3e1d3c7271
3 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ namespace Catch {
Totals totals;
context.testGroupStarting( "", 1, 1 ); // deprecated?
context.testGroupStarting( "all tests", 1, 1 ); // deprecated?
TestSpec testSpec = m_config->testSpec();
if( !testSpec.hasFilters() )
@ -60,7 +60,7 @@ namespace Catch {
m_testsAlreadyRun.insert( *it );
}
}
context.testGroupEnded( "", totals, 1, 1 );
context.testGroupEnded( "all tests", totals, 1, 1 );
return totals;
}

View File

@ -1,5 +1,5 @@
<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 w/operator&lt;&lt;)" time="{duration}"/>
<testcase classname="global" name="toString(enum class)" time="{duration}"/>

View File

@ -1,5 +1,5 @@
<Catch name="CatchSelfTest">
<Group>
<Group name="all tests">
<TestCase name="toString(enum)">
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch-Dev/projects/SelfTest/EnumToString.cpp" >
<Original>