Runner -> RunContext, Runner2 -> Runner and fixed issue with processName

This commit is contained in:
Phil Nash 2013-06-05 08:18:52 +01:00
parent 1b47e11387
commit cb60d130f8
6 changed files with 30 additions and 21 deletions

View file

@ -20,9 +20,9 @@ namespace Catch{
Totals totals;
// Scoped because Runner doesn't report EndTesting until its destructor
// Scoped because RunContext doesn't report EndTesting until its destructor
{
Runner runner( config.get(), m_reporter.get() );
RunContext runner( config.get(), m_reporter.get() );
totals = runner.runMatching( rawTestSpec, groupIndex, groupsCount );
}
return totals;