summaryrefslogtreecommitdiff
path: root/android/defaults_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/defaults_test.go')
-rw-r--r--android/defaults_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/android/defaults_test.go b/android/defaults_test.go
index b33cb527c..a7542abb3 100644
--- a/android/defaults_test.go
+++ b/android/defaults_test.go
@@ -83,10 +83,10 @@ func TestDefaults(t *testing.T) {
}
`
- result := emptyTestFixtureFactory.RunTest(t,
+ result := GroupFixturePreparers(
prepareForDefaultsTest,
FixtureWithRootAndroidBp(bp),
- )
+ ).RunTest(t)
foo := result.Module("foo", "").(*defaultsTestModule)
@@ -114,11 +114,11 @@ func TestDefaultsAllowMissingDependencies(t *testing.T) {
}
`
- result := emptyTestFixtureFactory.RunTest(t,
+ result := GroupFixturePreparers(
prepareForDefaultsTest,
PrepareForTestWithAllowMissingDependencies,
FixtureWithRootAndroidBp(bp),
- )
+ ).RunTest(t)
missingDefaults := result.ModuleForTests("missing_defaults", "").Output("out")
missingTransitiveDefaults := result.ModuleForTests("missing_transitive_defaults", "").Output("out")