mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
First cut of StaticRegistries - separate from Context
This commit is contained in:
@@ -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 ) );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user