File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
testing/src/test/resources/policy/protoextension_value_as_input Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # proto-file: google3/third_party/cel/spec/proto/cel/expr/conformance/test/suite.proto
2+ # proto-message: cel.expr.conformance.test.TestSuite
3+
4+ # The input binding is not used for evaluation, but rather to ensure
5+ # extension registry generation and support for `Any` typed inputs with
6+ # extensions.
7+
8+ name: " protoextension_value_as_input"
9+ description: " Valid proto extension value as input"
10+ sections {
11+ name: " valid"
12+ description: " Valid proto extension value as input"
13+ tests {
14+ name: " value_extension_input"
15+ input {
16+ key: " spec"
17+ value {
18+ value {
19+ object_value {
20+ [type.googleapis.com/cel.expr.conformance.proto2.TestAllTypes] {
21+ [cel.expr.conformance.proto2.Proto2ExtensionScopedMessage.message_scoped_nested_ext]: {}
22+ }
23+ }
24+ }
25+ }
26+ }
27+ output {
28+ result_expr: " true"
29+ }
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments