Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a1d4514 authored by Paul Duffin's avatar Paul Duffin
Browse files

Convert boot_image_sdk_test.go to fixtures

Bug: 182638834
Test: m nothing
Change-Id: I8c9cb399b15d04ec8465a3b3bb4b43561aef46fd
parent cf3ee2f8
Loading
Loading
Loading
Loading
+19 −12
Original line number Diff line number Diff line
@@ -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(`