Merge "Simplify TestSdkInstall"

This commit is contained in:
Paul Duffin 2021-03-10 17:31:41 +00:00 committed by Gerrit Code Review
commit 19afb3c0c3

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`),