Merge "Remove unnecessary functions from AssistGestureFeatureProvider" into oc-dr1-dev

This commit is contained in:
TreeHugger Robot
2017-06-26 20:23:09 +00:00
committed by Android (Google) Code Review
4 changed files with 1 additions and 12 deletions

View File

@@ -57,7 +57,6 @@ public class AssistGestureSettingsTest {
@Test
public void testGetPreferenceScreenResId() {
when(mFeatureProvider.getPreferenceResourceId()).thenReturn(R.xml.assist_gesture_settings);
assertThat(mSettings.getPreferenceScreenResId())
.isEqualTo(R.xml.assist_gesture_settings);
}
@@ -76,7 +75,6 @@ public class AssistGestureSettingsTest {
ShadowApplication.getInstance().getApplicationContext(),
true /* enabled */);
when(mFeatureProvider.getPreferenceResourceId()).thenReturn(R.xml.assist_gesture_settings);
assertThat(indexRes).isNotNull();
assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId());
}