Merge "Fix tests to use correct fixtures for configuring (Apex)BootJars." am: 721f42d12a am: 9958b36643 am: 4d566bea9b am: e0a651cd6f am: 6e259ef3b0

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

Change-Id: Iffb91c2f1504bd94071ef55cdfd1457880884e7a
This commit is contained in:
satayev
2021-08-11 17:22:39 +00:00
committed by Automerger Merge Worker
8 changed files with 90 additions and 18 deletions

View File

@@ -164,6 +164,7 @@ func TestBootclasspathFragment_Coverage(t *testing.T) {
prepareForTestWithBootclasspathFragment,
PrepareForTestWithJavaSdkLibraryFiles,
FixtureWithLastReleaseApis("mysdklibrary", "mycoveragestubs"),
FixtureConfigureApexBootJars("someapex:mybootlib"),
prepareWithBp,
)
@@ -186,6 +187,7 @@ func TestBootclasspathFragment_StubLibs(t *testing.T) {
prepareForTestWithBootclasspathFragment,
PrepareForTestWithJavaSdkLibraryFiles,
FixtureWithLastReleaseApis("mysdklibrary", "myothersdklibrary", "mycoreplatform"),
FixtureConfigureApexBootJars("someapex:mysdklibrary"),
).RunTestWithBp(t, `
bootclasspath_fragment {
name: "myfragment",