diff options
| author | 2022-11-17 23:47:43 +0000 | |
|---|---|---|
| committer | 2022-12-28 00:27:10 +0000 | |
| commit | 2913b4b626e949d3802ba26adf2e2932bd35ca62 (patch) | |
| tree | 1c98b136661f032f4c2adadf7547e212a98d9507 /java/java_test.go | |
| parent | 24756d7d9411db9fe588293998a305020728dbdd (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
Merged-In: 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 60e1210b2..d437a1723 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -1684,13 +1684,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{ @@ -1737,13 +1737,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{ |