Loading tests/robotests/src/com/android/settings/location/LocationInjectedServicesPreferenceControllerTest.java +2 −4 Original line number Diff line number Diff line Loading @@ -43,7 +43,6 @@ import com.android.settings.widget.RestrictedAppPreference; import com.android.settingslib.core.lifecycle.Lifecycle; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Answers; Loading Loading @@ -98,16 +97,15 @@ public class LocationInjectedServicesPreferenceControllerTest { } @Test @Ignore public void onResume_shouldRegisterListener() { mController.onResume(); verify(mContext).registerReceiver(eq(mController.mInjectedSettingsReceiver), eq(mController.INTENT_FILTER_INJECTED_SETTING_CHANGED)); eq(mController.INTENT_FILTER_INJECTED_SETTING_CHANGED), anyInt()); } @Test @Ignore public void onPause_shouldUnregisterListener() { mController.onResume(); mController.onPause(); Loading Loading
tests/robotests/src/com/android/settings/location/LocationInjectedServicesPreferenceControllerTest.java +2 −4 Original line number Diff line number Diff line Loading @@ -43,7 +43,6 @@ import com.android.settings.widget.RestrictedAppPreference; import com.android.settingslib.core.lifecycle.Lifecycle; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Answers; Loading Loading @@ -98,16 +97,15 @@ public class LocationInjectedServicesPreferenceControllerTest { } @Test @Ignore public void onResume_shouldRegisterListener() { mController.onResume(); verify(mContext).registerReceiver(eq(mController.mInjectedSettingsReceiver), eq(mController.INTENT_FILTER_INJECTED_SETTING_CHANGED)); eq(mController.INTENT_FILTER_INJECTED_SETTING_CHANGED), anyInt()); } @Test @Ignore public void onPause_shouldUnregisterListener() { mController.onResume(); mController.onPause(); Loading