summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2019-01-17 10:01:37 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-01-17 10:01:37 +0000
commit18cc300204031072a0df361bd5c3d53b27ee79d3 (patch)
tree572c36835e38bbe8bd3e90dff1c2001a99eeeee4 /java/java_test.go
parentc22c1bf130a7c60c193aece472eab2ae648a1fcb (diff)
parent054b19a1312606226cd3c3664ce50616d0306569 (diff)
Merge "Support core library"
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/java/java_test.go b/java/java_test.go
index 570efb70c..7a37b7b93 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -861,7 +861,6 @@ func TestJavaSdkLibrary(t *testing.T) {
ctx.ModuleForTests("foo"+sdkDocsSuffix, "android_common")
ctx.ModuleForTests("foo"+sdkDocsSuffix+sdkSystemApiSuffix, "android_common")
ctx.ModuleForTests("foo"+sdkDocsSuffix+sdkTestApiSuffix, "android_common")
- ctx.ModuleForTests("foo"+sdkImplLibrarySuffix, "android_common")
ctx.ModuleForTests("foo"+sdkXmlFileSuffix, "android_common")
ctx.ModuleForTests("foo.api.public.28", "")
ctx.ModuleForTests("foo.api.system.28", "")
@@ -874,9 +873,9 @@ func TestJavaSdkLibrary(t *testing.T) {
"foo.stubs.system.jar")
}
// ... and not to the impl lib
- if strings.Contains(bazJavac.Args["classpath"], "foo.impl.jar") {
+ if strings.Contains(bazJavac.Args["classpath"], "foo.jar") {
t.Errorf("baz javac classpath %v should not contain %q", bazJavac.Args["classpath"],
- "foo.impl.jar")
+ "foo.jar")
}
// test if baz is not linked to the system variant of foo
if strings.Contains(bazJavac.Args["classpath"], "foo.stubs.jar") {