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

Function TEST

tests/unit/BasicStepTest.cpp:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21static const InvokeArgs NO_INVOKE_ARGS;
22
23TEST(BasicStepTest, handlesPendingSteps) {
24 PendingStep pendingStep;
25 PendingStepWithDescription pendingStepWithDescription;
26 InvokeResult result;
27
28 result = pendingStep.invoke(&NO_INVOKE_ARGS);
29 ASSERT_TRUE(result.isPending());
30 ASSERT_STREQ("", result.getDescription().c_str());
31
32 result = pendingStepWithDescription.invoke(&NO_INVOKE_ARGS);
33 ASSERT_TRUE(result.isPending());
34 ASSERT_STREQ(PENDING_STEP_DESCRIPTION, result.getDescription().c_str());
35}

Callers

nothing calls this directly

Calls 2

isPendingMethod · 0.80
invokeMethod · 0.45

Tested by

no test coverage detected