summaryrefslogtreecommitdiff
path: root/apex/apex_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-11-16 23:11:41 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-11-16 23:11:41 +0000
commit1af783fae74715bcf1a94733bd75b2e6cc688e8c (patch)
tree4fbc5ddf90574db61a533fd1d3e3b227ced2dd53 /apex/apex_test.go
parentf15c0558bfdd87b2b04f6f074142bd9b35ee1011 (diff)
parentcf371cc1f73f2c4ac0dc824d16160648b9b1d952 (diff)
Merge "Replace android.WriteFile rule with android.WriteFileRule"
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r--apex/apex_test.go4
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"]