Skip to content

Commit a8c7479

Browse files
ChinmayMadeshicopybara-github
authored andcommitted
Internal Changes
PiperOrigin-RevId: 776239229
1 parent 9a139c7 commit a8c7479

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

testing/src/main/java/dev/cel/testing/testrunner/CelTestSuite.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public abstract static class Builder {
4747

4848
public abstract Builder setSections(Set<CelTestSection> section);
4949

50+
public abstract Builder setSections(CelTestSection... sections);
51+
5052
public abstract Builder setSource(Source source);
5153

5254
@CheckReturnValue
@@ -80,6 +82,8 @@ public abstract static class Builder {
8082

8183
public abstract Builder setTests(Set<CelTestCase> tests);
8284

85+
public abstract Builder setTests(CelTestCase... tests);
86+
8387
public abstract Builder setDescription(String description);
8488

8589
@CheckReturnValue

testing/src/test/java/dev/cel/testing/testrunner/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ package(
1111
],
1212
)
1313

14-
# Since the user test class is triggered by the cel_test_runner rule, we should not add it to the
14+
# Since the user test class is triggered by the cel_test rule, we should not add it to the
1515
# junit4_test_suite.
16-
# This is just a sample test class for the cel_test_runner rule.
16+
# This is just a sample test class for the cel_test rule.
1717
java_library(
1818
name = "user_test",
1919
srcs = ["UserTest.java"],
@@ -26,7 +26,7 @@ java_library(
2626
],
2727
)
2828

29-
# This is just a sample test class for the cel_test_runner rule.
29+
# This is just a sample test class for the cel_test rule.
3030
java_library(
3131
name = "env_config_user_test",
3232
srcs = ["EnvConfigUserTest.java"],

0 commit comments

Comments
 (0)