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

Function TEST_F

tests/unit/StepManagerTest.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76const char* StepManagerTest::no_match = "no match";
77
78TEST_F(StepManagerTest, holdsNonConflictingSteps) {
79 ASSERT_EQ(0, StepManager::count());
80 StepManager::addStepDefinition(a_matcher);
81 StepManager::addStepDefinition(another_matcher);
82 StepManager::addStepDefinition(a_third_matcher);
83 ASSERT_EQ(3, StepManager::count());
84}
85
86TEST_F(StepManagerTest, holdsConflictingSteps) {
87 ASSERT_EQ(0, StepManager::count());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected