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 @@
#include "catch_test_registry.hpp"
#include "catch_test_case_info.hpp"
#include "catch_hub.h"
#include "catch_context.h"
#include <vector>
#include <set>
@@ -179,7 +179,7 @@ namespace Catch
const SourceLineInfo& lineInfo
)
{
Hub::getTestCaseRegistry().registerTest( TestCaseInfo( testCase, name, description, lineInfo ) );
Context::getTestCaseRegistry().registerTest( TestCaseInfo( testCase, name, description, lineInfo ) );
}
} // end namespace Catch