MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / MockNeverCalledDirectStep

Function MockNeverCalledDirectStep

eval/eval/optional_or_step_test.cc:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65};
66
67std::unique_ptr<DirectExpressionStep> MockNeverCalledDirectStep() {
68 auto* mock = new NiceMock<MockDirectStep>();
69 EXPECT_CALL(*mock, Evaluate).Times(0);
70 return absl::WrapUnique(mock);
71}
72
73std::unique_ptr<DirectExpressionStep> MockExpectCallDirectStep() {
74 auto* mock = new NiceMock<MockDirectStep>();

Callers 1

TEST_FFunction · 0.85

Calls 1

WrapUniqueFunction · 0.85

Tested by

no test coverage detected