diff options
author | Ulya Trafimovich <skvadrik@google.com> | 2020-10-08 12:53:58 +0100 |
---|---|---|
committer | Ulya Trafimovich <skvadrik@google.com> | 2020-11-16 14:59:07 +0000 |
commit | b23d28c6e25aeeefa52f6d2569970be2a6de222c (patch) | |
tree | f506dcc183bde40758e4b2cd7f532802370d04b3 /java/java_test.go | |
parent | a8c28e27bc60e7f595def374edd2c7b1e1516b77 (diff) |
Rename fields and methods to reflect class loader context changes.
Test: lunch aosp_cf_x86_phone-userdebug && m
Bug: 132357300
Change-Id: Iebfbf2ffdac5ee48476d2aac312b3b8f4471fc85
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go index 81c4f22a8..4d7cff66a 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) } |