Loading tests/robotests/src/com/android/settings/deletionhelper/AutomaticStorageManagerSwitchBarControllerTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ public class AutomaticStorageManagerSwitchBarControllerTest { mSwitchBar = new SwitchBar(mContext); Context fakeContextForFakeProvider = mock(Context.class, RETURNS_DEEP_STUBS); FakeFeatureFactory.setupForTest(fakeContextForFakeProvider); FeatureFactory featureFactory = FakeFeatureFactory.getFactory(fakeContextForFakeProvider); mMetricsFeatureProvider = featureFactory.getMetricsFeatureProvider(); mPreference = new Preference(mContext); Loading Loading
tests/robotests/src/com/android/settings/deletionhelper/AutomaticStorageManagerSwitchBarControllerTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ public class AutomaticStorageManagerSwitchBarControllerTest { mSwitchBar = new SwitchBar(mContext); Context fakeContextForFakeProvider = mock(Context.class, RETURNS_DEEP_STUBS); FakeFeatureFactory.setupForTest(fakeContextForFakeProvider); FeatureFactory featureFactory = FakeFeatureFactory.getFactory(fakeContextForFakeProvider); mMetricsFeatureProvider = featureFactory.getMetricsFeatureProvider(); mPreference = new Preference(mContext); Loading