Extract PrepareForTestWithJavaSdkLibraryFiles from javaMockFS()

Needed for tests in both java and sdk packages.

Bug: 182638834
Test: m nothing
Change-Id: Ia8c5e7db47d8b63bf8dcf2965b3af60a4d35a9e5
This commit is contained in:
Paul Duffin
2021-03-13 22:19:17 +00:00
parent 6bac49c560
commit bf028b533d
2 changed files with 18 additions and 13 deletions

View File

@@ -65,6 +65,7 @@ var javaFixtureFactory = android.NewFixtureFactory(
ctx.RegisterPreSingletonType("sdk_versions", sdkPreSingletonFactory)
}),
javaMockFS().AddToFixture(),
PrepareForTestWithJavaSdkLibraryFiles,
dexpreopt.PrepareForTestWithDexpreopt,
)