Merge "Fix testDexpreoptBoot to work without javaMockFS()"
This commit is contained in:
commit
64df56def9
|
@ -44,8 +44,11 @@ func testDexpreoptBoot(t *testing.T, ruleFile string, expectedInputs, expectedOu
|
||||||
`
|
`
|
||||||
|
|
||||||
result := javaFixtureFactory.
|
result := javaFixtureFactory.
|
||||||
Extend(dexpreopt.FixtureSetBootJars("platform:foo", "platform:bar", "platform:baz")).
|
Extend(
|
||||||
RunTestWithBp(t, bp)
|
PrepareForTestWithJavaSdkLibraryFiles,
|
||||||
|
FixtureWithLastReleaseApis("foo"),
|
||||||
|
dexpreopt.FixtureSetBootJars("platform:foo", "platform:bar", "platform:baz"),
|
||||||
|
).RunTestWithBp(t, bp)
|
||||||
|
|
||||||
dexpreoptBootJars := result.SingletonForTests("dex_bootjars")
|
dexpreoptBootJars := result.SingletonForTests("dex_bootjars")
|
||||||
rule := dexpreoptBootJars.Output(ruleFile)
|
rule := dexpreoptBootJars.Output(ruleFile)
|
||||||
|
|
Loading…
Reference in New Issue