File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
main/java/dev/cel/testing/testrunner
test/java/dev/cel/testing/testrunner Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
1717java_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.
3030java_library (
3131 name = "env_config_user_test" ,
3232 srcs = ["EnvConfigUserTest.java" ],
You can’t perform that action at this time.
0 commit comments