MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / TEST

Function TEST

tests/integration/StepRegistrationTest.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19);
20
21TEST(StepRegistrationTest, manualRegistration) {
22 // static_cast is necessary for GTest <= 1.7 and C++ >= 2011 because it
23 // doesn't support contextually-convertible-to-bool
24 EXPECT_TRUE(static_cast<bool>(StepManager::stepMatches(MANUAL_STEP_MATCHER)));
25 EXPECT_EQ("Slashes.cpp:42", StepManager::getStep(ManualStep::cukeRegId)->source);
26}
27
28#define GIVEN_MATCHER "given matcher"
29#define WHEN_MATCHER "when matcher"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected