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

@@ -192,7 +192,7 @@ namespace Catch
std::string name = Detail::getAnnotation( cls, "Name", testCaseName );
std::string desc = Detail::getAnnotation( cls, "Description", testCaseName );
Hub::getTestCaseRegistry().registerTest( TestCaseInfo( new OcMethod( cls, selector ), name.c_str(), desc.c_str(), "", 0 ) );
Context::getTestCaseRegistry().registerTest( TestCaseInfo( new OcMethod( cls, selector ), name.c_str(), desc.c_str(), "", 0 ) );
noTestMethods++;
}