diff options
author | 2021-03-20 00:36:14 +0000 | |
---|---|---|
committer | 2021-03-22 18:31:53 +0000 | |
commit | 30ac3e7ca75106d7f883558c46501296d4bffcfc (patch) | |
tree | 8fb0fadf5f85ff592c7ff56bdfb0a915d9ffa1b1 /android/variable_test.go | |
parent | ff2aa69a86e46429255ed812b2796a89635b9f26 (diff) |
Remove uses of FixtureFactory from android package
Bug: 183235980
Test: m nothing
Change-Id: I72898ada020ee1a73fd534c61afb5c22fa00c1e5
Diffstat (limited to 'android/variable_test.go')
-rw-r--r-- | android/variable_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
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) |