Skip to content

Commit 94e0b44

Browse files
hvadehracopybara-github
authored andcommitted
Migrate the JavaImportConfiguredTargetTest.testPermitsEmptyJars test to Starlark
The test is removed from Bazel and added to rules_java (ignore-relnotes) PiperOrigin-RevId: 756255370 Change-Id: I1d5556ddd3e45e77983eec33f4e36bd623254bc0
1 parent a11de6c commit 94e0b44

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/test/java/com/google/devtools/build/lib/view/java/JavaImportConfiguredTargetTest.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,6 @@ public void testRequiresJars() throws Exception {
8686
""");
8787
}
8888

89-
@Test
90-
public void testPermitsEmptyJars() throws Exception {
91-
useConfiguration("--incompatible_disallow_java_import_empty_jars=0");
92-
scratchConfiguredTarget(
93-
"pkg",
94-
"rule",
95-
"""
96-
load("@rules_java//java:defs.bzl", "java_import")
97-
java_import(name = 'rule', jars = [])
98-
""");
99-
assertNoEvents();
100-
}
101-
10289
@Test
10390
public void testDisallowsFilesInExports() throws Exception {
10491
scratch.file("pkg/bad.jar", "");

0 commit comments

Comments
 (0)