Merge "Simplify TestSdkInstall" am: 19afb3c0c3 am: 1553539301 am: 9fb55797b4

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1625381

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie5fad8e24041577490b84c1548b6bf1de683c39c
This commit is contained in:
Paul Duffin 2021-03-10 21:02:57 +00:00 committed by Automerger Merge Worker
commit b1f797322c
1 changed files with 2 additions and 5 deletions

View File

@ -309,16 +309,13 @@ func TestPrebuiltVisibilityProperty_AddPrivate(t *testing.T) {
`)
}
func TestSDkInstall(t *testing.T) {
func TestSdkInstall(t *testing.T) {
sdk := `
sdk {
name: "mysdk",
}
`
result := testSdkWithFs(t, ``,
map[string][]byte{
"Android.bp": []byte(sdk),
})
result := testSdkWithFs(t, sdk, nil)
result.CheckSnapshot("mysdk", "",
checkAllOtherCopyRules(`.intermediates/mysdk/common_os/mysdk-current.zip -> mysdk-current.zip`),