diff options
author | 2020-11-16 23:11:41 +0000 | |
---|---|---|
committer | 2020-11-16 23:11:41 +0000 | |
commit | 1af783fae74715bcf1a94733bd75b2e6cc688e8c (patch) | |
tree | 4fbc5ddf90574db61a533fd1d3e3b227ced2dd53 /apex/apex_test.go | |
parent | f15c0558bfdd87b2b04f6f074142bd9b35ee1011 (diff) | |
parent | cf371cc1f73f2c4ac0dc824d16160648b9b1d952 (diff) |
Merge "Replace android.WriteFile rule with android.WriteFileRule"
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r-- | apex/apex_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index 524549a2d..33e50770a 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -5447,7 +5447,7 @@ func TestAppBundle(t *testing.T) { } `, withManifestPackageNameOverrides([]string{"AppFoo:com.android.foo"})) - bundleConfigRule := ctx.ModuleForTests("myapex", "android_common_myapex_image").Description("Bundle Config") + bundleConfigRule := ctx.ModuleForTests("myapex", "android_common_myapex_image").Output("bundle_config.json") content := bundleConfigRule.Args["content"] ensureContains(t, content, `"compression":{"uncompressed_glob":["apex_payload.img","apex_manifest.*"]}`) @@ -5473,7 +5473,7 @@ func TestAppSetBundle(t *testing.T) { set: "AppSet.apks", }`) mod := ctx.ModuleForTests("myapex", "android_common_myapex_image") - bundleConfigRule := mod.Description("Bundle Config") + bundleConfigRule := mod.Output("bundle_config.json") content := bundleConfigRule.Args["content"] ensureContains(t, content, `"compression":{"uncompressed_glob":["apex_payload.img","apex_manifest.*"]}`) s := mod.Rule("apexRule").Args["copy_commands"] |