renamed hub -> context

(also did some reformatting)
This commit is contained in:
Phil Nash
2012-05-10 07:58:48 +01:00
parent aec1e5ed86
commit 5ec53b2788
19 changed files with 146 additions and 225 deletions

View File

@@ -12,7 +12,7 @@
#ifndef TWOBLUECUBES_CATCH_REPORTER_REGISTRARS_HPP_INCLUDED
#define TWOBLUECUBES_CATCH_REPORTER_REGISTRARS_HPP_INCLUDED
#include "catch_hub.h"
#include "catch_context.h"
namespace Catch
{
@@ -47,7 +47,7 @@ namespace Catch
const std::string& name
)
{
Hub::getReporterRegistry().registerReporter( name, new ReporterFactory() );
Context::getReporterRegistry().registerReporter( name, new ReporterFactory() );
}
};
}