Skip to content

Commit 5c00b16

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
Add support for running tests on raw/checked expression.
PiperOrigin-RevId: 750851126
1 parent bf3c392 commit 5c00b16

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package(
2+
default_applicable_licenses = [
3+
"//:license",
4+
],
5+
default_testonly = True,
6+
default_visibility = [
7+
"//testing:__pkg__",
8+
],
9+
)
10+
11+
exports_files(
12+
srcs = glob([
13+
"**/*.cel",
14+
"**/*.textproto",
15+
]),
16+
)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2 + 2 == 4
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
name: "expr_value_output_tests"
5+
description: "Value as expected output"
6+
sections {
7+
name: "basic value"
8+
description: "Basic value"
9+
tests {
10+
name: "basic value test"
11+
description: "Basic value test"
12+
output {
13+
result_value {
14+
bool_value: true
15+
}
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)