Skip to content

Commit d1727e7

Browse files
l46kokcopybara-github
authored andcommitted
Rename CelLiteRuntimeTest to CelLiteRuntimeAndroidTest
PiperOrigin-RevId: 749946622
1 parent d6c550a commit d1727e7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

runtime/src/test/java/dev/cel/runtime/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ java_library(
162162

163163
cel_android_local_test(
164164
name = "android_tests",
165-
srcs = ["CelLiteRuntimeTest.java"],
165+
srcs = ["CelLiteRuntimeAndroidTest.java"],
166166
resources = [":compiled_exprs"],
167-
test_class = "dev.cel.runtime.CelLiteRuntimeTest",
167+
test_class = "dev.cel.runtime.CelLiteRuntimeAndroidTest",
168168
deps = [
169169
"//:java_truth",
170170
"//common:cel_ast_android",

runtime/src/test/java/dev/cel/runtime/CelLiteRuntimeTest.java renamed to runtime/src/test/java/dev/cel/runtime/CelLiteRuntimeAndroidTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import org.junit.runner.RunWith;
4040

4141
@RunWith(TestParameterInjector.class)
42-
public class CelLiteRuntimeTest {
42+
public class CelLiteRuntimeAndroidTest {
4343

4444
@Test
4545
public void runtimeConstruction() {
@@ -222,7 +222,8 @@ public void eval_customFunctions() throws Exception {
222222
}
223223

224224
private static CelAbstractSyntaxTree readCheckedExpr(String compiledCelTarget) throws Exception {
225-
URL url = Resources.getResource(CelLiteRuntimeTest.class, compiledCelTarget + ".binarypb");
225+
URL url =
226+
Resources.getResource(CelLiteRuntimeAndroidTest.class, compiledCelTarget + ".binarypb");
226227
byte[] checkedExprBytes = Resources.toByteArray(url);
227228
CheckedExpr checkedExpr =
228229
CheckedExpr.parseFrom(checkedExprBytes, ExtensionRegistryLite.getEmptyRegistry());

0 commit comments

Comments
 (0)