Convert boot_image_sdk_test.go to fixtures am: 4a1d451405

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

Change-Id: Ib0c44f2606238f9e438bfbeeda9a9929c87cd7bf
This commit is contained in:
Paul Duffin
2021-03-22 23:01:38 +00:00
committed by Automerger Merge Worker

View File

@@ -14,10 +14,16 @@
package sdk
import "testing"
import (
"testing"
"android/soong/android"
)
func TestSnapshotWithBootImage(t *testing.T) {
result := testSdkWithJava(t, `
result := android.GroupFixturePreparers(
prepareForSdkTestWithJava,
android.FixtureWithRootAndroidBp(`
sdk {
name: "mysdk",
boot_images: ["mybootimage"],
@@ -27,7 +33,8 @@ func TestSnapshotWithBootImage(t *testing.T) {
name: "mybootimage",
image_name: "art",
}
`)
`),
).RunTest(t)
CheckSnapshot(t, result, "mysdk", "",
checkUnversionedAndroidBpContents(`