Fix tests to use correct fixtures for configuring (Apex)BootJars.

This is in preparation to r.android.com/1740313 where setting correct
variables would be enforced (i.e. apex and non-apex boot jars must be in
config.ApexBootJars and config.BootJars correspondingly).

Bug: 191369843
Test: m nothing
Change-Id: Ic86680c1f7af53d229083b2cc58beb3ceccb4b6a
This commit is contained in:
satayev
2021-08-06 17:49:46 +01:00
parent 47c456228c
commit abcd59731e
8 changed files with 90 additions and 18 deletions

View File

@@ -552,6 +552,7 @@ func TestSnapshotWithBootClasspathFragment_Fragments(t *testing.T) {
java.PrepareForTestWithJavaDefaultModules,
java.PrepareForTestWithJavaSdkLibraryFiles,
java.FixtureWithLastReleaseApis("mysdklibrary", "myothersdklibrary"),
java.FixtureConfigureApexBootJars("someapex:mysdklibrary", "myotherapex:myotherlib"),
prepareForSdkTestWithApex,
// Some additional files needed for the myotherapex.