summaryrefslogtreecommitdiff
path: root/apex/apex_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-06-11 11:32:11 -0700
committer Colin Cross <ccross@android.com> 2020-06-11 15:33:16 -0700
commit440e0d0542043de48f66771f00b67be0de588476 (patch)
tree6befabdd495818decaa7c283c99b743ed48acd0c /apex/apex_test.go
parent1adc63ec3d42022f891e4aa941748ca8ad6e64f3 (diff)
Use inclusive language in build/soong
Test: m checkbuild Change-Id: Id07890b7cbc2397291a658ca00e86b43c743aafc
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r--apex/apex_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go
index 7bd037481..609e6516b 100644
--- a/apex/apex_test.go
+++ b/apex/apex_test.go
@@ -1143,7 +1143,7 @@ func TestApexDependsOnLLNDKTransitively(t *testing.T) {
symbol_file: "",
}
`, func(fs map[string][]byte, config android.Config) {
- setUseVendorWhitelistForTest(config, []string{"myapex"})
+ setUseVendorAllowListForTest(config, []string{"myapex"})
}, withUnbundledBuild)
// Ensure that LLNDK dep is not included
@@ -1870,7 +1870,7 @@ func TestUseVendor(t *testing.T) {
apex_available: [ "myapex" ],
}
`, func(fs map[string][]byte, config android.Config) {
- setUseVendorWhitelistForTest(config, []string{"myapex"})
+ setUseVendorAllowListForTest(config, []string{"myapex"})
})
inputsList := []string{}
@@ -1903,9 +1903,9 @@ func TestUseVendorRestriction(t *testing.T) {
private_key: "testkey.pem",
}
`, func(fs map[string][]byte, config android.Config) {
- setUseVendorWhitelistForTest(config, []string{""})
+ setUseVendorAllowListForTest(config, []string{""})
})
- // no error with whitelist
+ // no error with allow list
testApex(t, `
apex {
name: "myapex",
@@ -1918,7 +1918,7 @@ func TestUseVendorRestriction(t *testing.T) {
private_key: "testkey.pem",
}
`, func(fs map[string][]byte, config android.Config) {
- setUseVendorWhitelistForTest(config, []string{"myapex"})
+ setUseVendorAllowListForTest(config, []string{"myapex"})
})
}
@@ -3683,7 +3683,7 @@ func TestApexUsesFailsIfUseVenderMismatch(t *testing.T) {
private_key: "testkey.pem",
}
`, func(fs map[string][]byte, config android.Config) {
- setUseVendorWhitelistForTest(config, []string{"myapex"})
+ setUseVendorAllowListForTest(config, []string{"myapex"})
})
}