summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorUlyana Trafimovich <skvadrik@google.com>2020-11-17 10:22:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-11-17 10:22:00 +0000
commitd8d8e726a54ab4e3408b49faa322e38664048bbe (patch)
tree9713d02d9aa20d894eab3fbe5e37a4350d2f6ff0 /java/java_test.go
parente3d308b5a51b16fa951efe2a0fdbc392624c58f4 (diff)
parentb23d28c6e25aeeefa52f6d2569970be2a6de222c (diff)
Merge changes Iebfbf2ff,Ibd974268
* changes: Rename fields and methods to reflect class loader context changes. Do not add dependencies of shared SDK libraries to manifest_fixer.
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go
index 4594b8111..87d6ebbd4 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -1593,7 +1593,7 @@ func TestJavaSdkLibrary(t *testing.T) {
// test if baz has exported SDK lib names foo and bar to qux
qux := ctx.ModuleForTests("qux", "android_common")
if quxLib, ok := qux.Module().(*Library); ok {
- sdkLibs := quxLib.ExportedSdkLibs().UsesLibs()
+ sdkLibs := quxLib.ClassLoaderContexts().UsesLibs()
if w := []string{"foo", "bar", "fred", "quuz"}; !reflect.DeepEqual(w, sdkLibs) {
t.Errorf("qux should export %q but exports %q", w, sdkLibs)
}