| 19 | ); |
| 20 | |
| 21 | TEST(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" |
nothing calls this directly
no outgoing calls
no test coverage detected