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

Function TEST_F

common/value_test.cc:978–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976using ValueIteratorTest = common_internal::ValueTest<>;
977
978TEST_F(ValueIteratorTest, Empty) {
979 auto iterator = NewEmptyValueIterator();
980 EXPECT_FALSE(iterator->HasNext());
981 EXPECT_THAT(iterator->Next(descriptor_pool(), message_factory(), arena()),
982 StatusIs(absl::StatusCode::kFailedPrecondition));
983}
984
985TEST_F(ValueIteratorTest, Empty1) {
986 auto iterator = NewEmptyValueIterator();

Callers

nothing calls this directly

Calls 4

HasNextMethod · 0.45
NextMethod · 0.45
Next1Method · 0.45
Next2Method · 0.45

Tested by

no test coverage detected