Remove uses of FixtureFactory from android package
Bug: 183235980 Test: m nothing Change-Id: I72898ada020ee1a73fd534c61afb5c22fa00c1e5
This commit is contained in:
@@ -96,14 +96,14 @@ func runPackagingTest(t *testing.T, multitarget bool, bp string, expected []stri
|
||||
moduleFactory = packageTestModuleFactory
|
||||
}
|
||||
|
||||
result := emptyTestFixtureFactory.RunTest(t,
|
||||
result := GroupFixturePreparers(
|
||||
PrepareForTestWithArchMutator,
|
||||
FixtureRegisterWithContext(func(ctx RegistrationContext) {
|
||||
ctx.RegisterModuleType("component", componentTestModuleFactory)
|
||||
ctx.RegisterModuleType("package_module", moduleFactory)
|
||||
}),
|
||||
FixtureWithRootAndroidBp(bp),
|
||||
)
|
||||
).RunTest(t)
|
||||
|
||||
p := result.Module("package", archVariant).(*packageTestModule)
|
||||
actual := p.entries
|
||||
|
Reference in New Issue
Block a user