diff options
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r-- | apex/apex_test.go | 12 |
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"}) }) } |