From 30ac3e7ca75106d7f883558c46501296d4bffcfc Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Sat, 20 Mar 2021 00:36:14 +0000 Subject: Remove uses of FixtureFactory from android package Bug: 183235980 Test: m nothing Change-Id: I72898ada020ee1a73fd534c61afb5c22fa00c1e5 --- android/variable_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'android/variable_test.go') diff --git a/android/variable_test.go b/android/variable_test.go index d16e45880..928bca609 100644 --- a/android/variable_test.go +++ b/android/variable_test.go @@ -182,7 +182,7 @@ func TestProductVariables(t *testing.T) { } ` - emptyTestFixtureFactory.RunTest(t, + GroupFixturePreparers( FixtureModifyProductVariables(func(variables FixtureProductVariables) { variables.Eng = proptools.BoolPtr(true) }), @@ -204,7 +204,7 @@ func TestProductVariables(t *testing.T) { }) }), FixtureWithRootAndroidBp(bp), - ) + ).RunTest(t) } var testProductVariableDefaultsProperties = struct { @@ -288,7 +288,7 @@ func TestProductVariablesDefaults(t *testing.T) { } ` - result := emptyTestFixtureFactory.RunTest(t, + result := GroupFixturePreparers( FixtureModifyProductVariables(func(variables FixtureProductVariables) { variables.Eng = boolPtr(true) }), @@ -299,7 +299,7 @@ func TestProductVariablesDefaults(t *testing.T) { ctx.RegisterModuleType("defaults", productVariablesDefaultsTestDefaultsFactory) }), FixtureWithRootAndroidBp(bp), - ) + ).RunTest(t) foo := result.ModuleForTests("foo", "").Module().(*productVariablesDefaultsTestModule) -- cgit v1.2.3-59-g8ed1b