summaryrefslogtreecommitdiff
path: root/java/platform_bootclasspath_test.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-06-09 14:39:28 +0100
committerPaul Duffin <paulduffin@google.com>2021-06-16 03:06:33 +0100
commitc45a86a65da19956c1dfaa18ad0b331130828f5b (patch)
treed0b2d955beb755c375afcff4a36e0dc661ee3667 /java/platform_bootclasspath_test.go
parent2aae98f02935201de438a3bc71e5c43229b9e847 (diff)
Export hidden api related types and fields
This will export some hidden api related types and fields so they can be used from outside the java package. This is needed to allow a follow up change to move the TestPlatformBootclasspath_Fragments from the java to the apex package. Bug: 179354495 Test: m nothing Merged-In: Ib69eea9d79cc83b8e3fc29919a29f071e1ec17b5 Change-Id: Ib69eea9d79cc83b8e3fc29919a29f071e1ec17b5 (cherry picked from commit 524c82c01acbd1f45a401d3444354cd69dd342e3)
Diffstat (limited to 'java/platform_bootclasspath_test.go')
-rw-r--r--java/platform_bootclasspath_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/platform_bootclasspath_test.go b/java/platform_bootclasspath_test.go
index ed5549d35..48304446a 100644
--- a/java/platform_bootclasspath_test.go
+++ b/java/platform_bootclasspath_test.go
@@ -245,10 +245,10 @@ func TestPlatformBootclasspath_Fragments(t *testing.T) {
).RunTest(t)
pbcp := result.Module("platform-bootclasspath", "android_common")
- info := result.ModuleProvider(pbcp, monolithicHiddenAPIInfoProvider).(MonolithicHiddenAPIInfo)
+ info := result.ModuleProvider(pbcp, MonolithicHiddenAPIInfoProvider).(MonolithicHiddenAPIInfo)
- for _, category := range hiddenAPIFlagFileCategories {
- name := category.propertyName
+ for _, category := range HiddenAPIFlagFileCategories {
+ name := category.PropertyName
message := fmt.Sprintf("category %s", name)
filename := strings.ReplaceAll(name, "_", "-")
expected := []string{fmt.Sprintf("%s.txt", filename), fmt.Sprintf("bar-%s.txt", filename)}