Simplify TestSdkInstall
Test: m nothing Change-Id: Iff59c8c331402b8d53323072213579ed9956cd90
This commit is contained in:
@@ -309,16 +309,13 @@ func TestPrebuiltVisibilityProperty_AddPrivate(t *testing.T) {
|
|||||||
`)
|
`)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSDkInstall(t *testing.T) {
|
func TestSdkInstall(t *testing.T) {
|
||||||
sdk := `
|
sdk := `
|
||||||
sdk {
|
sdk {
|
||||||
name: "mysdk",
|
name: "mysdk",
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
result := testSdkWithFs(t, ``,
|
result := testSdkWithFs(t, sdk, nil)
|
||||||
map[string][]byte{
|
|
||||||
"Android.bp": []byte(sdk),
|
|
||||||
})
|
|
||||||
|
|
||||||
result.CheckSnapshot("mysdk", "",
|
result.CheckSnapshot("mysdk", "",
|
||||||
checkAllOtherCopyRules(`.intermediates/mysdk/common_os/mysdk-current.zip -> mysdk-current.zip`),
|
checkAllOtherCopyRules(`.intermediates/mysdk/common_os/mysdk-current.zip -> mysdk-current.zip`),
|
||||||
|
Reference in New Issue
Block a user