diff options
author | 2022-11-17 23:47:43 +0000 | |
---|---|---|
committer | 2022-11-19 01:03:03 +0000 | |
commit | 60d4a09cb5de9258f673e5aa38e83a3926334fb8 (patch) | |
tree | f755ccd5f2e99aa36bd2273b7175f8cab7dad1b8 /java/java_test.go | |
parent | 148917e5ab4336fb281878e9524cfbc9cef5fc97 (diff) |
Update java_api_library prop name
Context
- Update java_api_library module's prop name from api_providers to
api_contributions to adjust to module rename
- Update variables name correspondingly to enhance readability
Test: m
Change-Id: I93b941a572e04bed6084109d151ba83a82715651
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/java_test.go b/java/java_test.go index 3f8cd8e90..62c284595 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -1823,13 +1823,13 @@ func TestJavaApiLibraryAndProviderLink(t *testing.T) { java_api_library { name: "bar1", api_surface: "public", - api_providers: ["foo1"], + api_contributions: ["foo1"], } java_api_library { name: "bar2", api_surface: "system", - api_providers: ["foo1", "foo2"], + api_contributions: ["foo1", "foo2"], } `, map[string][]byte{ @@ -1876,13 +1876,13 @@ func TestJavaApiLibraryJarGeneration(t *testing.T) { java_api_library { name: "bar1", api_surface: "public", - api_providers: ["foo1"], + api_contributions: ["foo1"], } java_api_library { name: "bar2", api_surface: "system", - api_providers: ["foo1", "foo2"], + api_contributions: ["foo1", "foo2"], } `, map[string][]byte{ |