File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
src/test/java/com/google/devtools/build/lib/rules/java Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 1616import static com .google .common .truth .Truth .assertThat ;
1717
1818import com .google .common .collect .ImmutableMap ;
19- import com .google .devtools .build .lib .actions .util .ActionsTestUtil ;
2019import com .google .devtools .build .lib .analysis .ConfiguredTarget ;
2120import com .google .devtools .build .lib .analysis .ProviderCollection ;
22- import com .google .devtools .build .lib .analysis .RunfilesProvider ;
2321import com .google .devtools .build .lib .analysis .TemplateVariableInfo ;
2422import com .google .devtools .build .lib .analysis .platform .ToolchainInfo ;
2523import com .google .devtools .build .lib .analysis .util .BuildViewTestCase ;
@@ -58,17 +56,6 @@ private JavaRuntimeInfo getJavaRuntimeInfo(ProviderCollection collection)
5856 return JavaRuntimeInfo .wrap (toolchainInfo .getValue ("java_runtime" , Info .class ));
5957 }
6058
61- @ Test
62- public void simple () throws Exception {
63- ConfiguredTarget target = getConfiguredTarget ("//jvm:jvm-k8" );
64- assertThat (ActionsTestUtil .prettyArtifactNames (getJavaRuntimeInfo (target ).javaBaseInputs ()))
65- .containsExactly ("jvm/k8/a" , "jvm/k8/b" );
66- assertThat (
67- ActionsTestUtil .prettyArtifactNames (
68- target .getProvider (RunfilesProvider .class ).getDataRunfiles ().getArtifacts ()))
69- .containsExactly ("jvm/k8/a" , "jvm/k8/b" );
70- }
71-
7259 @ Test
7360 public void absoluteJavaHomeWithSrcs () throws Exception {
7461 scratch .file (
You can’t perform that action at this time.
0 commit comments