-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathtests.textproto
More file actions
31 lines (29 loc) · 877 Bytes
/
tests.textproto
File metadata and controls
31 lines (29 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# proto-file: google3/third_party/cel/spec/proto/cel/expr/conformance/test/suite.proto
# proto-message: cel.expr.conformance.test.TestSuite
# The input binding is not used for evaluation, but rather to ensure
# extension registry generation and support for `Any` typed inputs with
# extensions.
name: "protoextension_value_as_input"
description: "Valid proto extension value as input"
sections {
name: "valid"
description: "Valid proto extension value as input"
tests {
name: "value_extension_input"
input {
key: "spec"
value {
value {
object_value {
[type.googleapis.com/cel.expr.conformance.proto2.TestAllTypes] {
[cel.expr.conformance.proto2.Proto2ExtensionScopedMessage.message_scoped_nested_ext]: {}
}
}
}
}
}
output {
result_expr: "true"
}
}
}