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

Function ListValueElements

common/value_testing.h:170–179  ·  view source on GitHub ↗

Returns a matcher that tests the elements of a cel::ListValue on a given matcher as if they were a std::vector . ValueManager* mgr must remain valid for the lifetime of the matcher.

Source from the content-addressed store, hash-verified

168// matcher as if they were a std::vector<cel::Value>.
169// ValueManager* mgr must remain valid for the lifetime of the matcher.
170inline ListValueElementsMatcher ListValueElements(
171 testing::Matcher<std::vector<Value>>&& m,
172 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool
173 ABSL_ATTRIBUTE_LIFETIME_BOUND,
174 google::protobuf::MessageFactory* absl_nonnull message_factory
175 ABSL_ATTRIBUTE_LIFETIME_BOUND,
176 google::protobuf::Arena* absl_nonnull arena ABSL_ATTRIBUTE_LIFETIME_BOUND) {
177 return ListValueElementsMatcher(std::move(m), descriptor_pool,
178 message_factory, arena);
179}
180
181class MapValueElementsMatcher {
182 public:

Callers 3

TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 1

Tested by

no test coverage detected