Remove uses of FixtureFactory from android package
Bug: 183235980 Test: m nothing Change-Id: I72898ada020ee1a73fd534c61afb5c22fa00c1e5
This commit is contained in:
@@ -179,11 +179,9 @@ func TestErrorDependsOnDisabledModule(t *testing.T) {
|
||||
}
|
||||
`
|
||||
|
||||
emptyTestFixtureFactory.
|
||||
prepareForModuleTests.
|
||||
ExtendWithErrorHandler(FixtureExpectsAtLeastOneErrorMatchingPattern(`module "foo": depends on disabled module "bar"`)).
|
||||
RunTest(t,
|
||||
prepareForModuleTests,
|
||||
FixtureWithRootAndroidBp(bp))
|
||||
RunTestWithBp(t, bp)
|
||||
}
|
||||
|
||||
func TestValidateCorrectBuildParams(t *testing.T) {
|
||||
@@ -268,9 +266,7 @@ func TestDistErrorChecking(t *testing.T) {
|
||||
"\\QAndroid.bp:18:17: module \"foo\": dists[1].suffix: Suffix may not contain a '/' character.\\E",
|
||||
}
|
||||
|
||||
emptyTestFixtureFactory.
|
||||
prepareForModuleTests.
|
||||
ExtendWithErrorHandler(FixtureExpectsAllErrorsToMatchAPattern(expectedErrs)).
|
||||
RunTest(t,
|
||||
prepareForModuleTests,
|
||||
FixtureWithRootAndroidBp(bp))
|
||||
RunTestWithBp(t, bp)
|
||||
}
|
||||
|
Reference in New Issue
Block a user