First cut of StaticRegistries - separate from Context

This commit is contained in:
Phil Nash committed 2012-08-06 20:16:53 +01:00
1 parent 5234b15ff4
commit 1091ca81e6
21 files changed
+222 -141

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@
#define TWOBLUECUBES_CATCH_SELF_TEST_HPP_INCLUDED
#include "catch.hpp"
#include "catch_interfaces_static_registries.h"
#include "set"
@@ -145,7 +146,7 @@ namespace Catch {
static void runMatching( const std::string& testSpec,
Expected::Result expectedResult ) {
forEach( getCurrentContext().getTestCaseRegistry().getMatchingTestCases( testSpec ),
forEach( getStatics().getTestCaseRegistry().getMatchingTestCases( testSpec ),
MetaTestRunner( expectedResult ) );
}