Skip to content

Commit 8364dac

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
Make changes to file_descriptor_set processing for OSS.
PiperOrigin-RevId: 751099450
1 parent 4803f75 commit 8364dac

File tree

1 file changed

+31
-0
lines changed
  • testing/src/test/resources/policy/protoextension_value_as_input

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
}

0 commit comments

Comments
 (0)