From ecc5bf11f19d00cbed77c8cbe81452542b3e1d17 Mon Sep 17 00:00:00 2001 From: Raff Tsai Date: Sat, 22 Dec 2018 17:06:52 +0800 Subject: [PATCH] Remove ignore in Robolectric test This was broken due to framework changes. Now framework works with this well. Change-Id: I2d862d4851efaefcd9866e9fd4b6deb6450f296c Fixes: 119592320 Test: make RunSettingsRoboTests --- .../bluetooth/RemoteDeviceNameDialogFragmentTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/robotests/src/com/android/settings/bluetooth/RemoteDeviceNameDialogFragmentTest.java b/tests/robotests/src/com/android/settings/bluetooth/RemoteDeviceNameDialogFragmentTest.java index bd7f79e96ee..c8467b2a57e 100644 --- a/tests/robotests/src/com/android/settings/bluetooth/RemoteDeviceNameDialogFragmentTest.java +++ b/tests/robotests/src/com/android/settings/bluetooth/RemoteDeviceNameDialogFragmentTest.java @@ -38,7 +38,6 @@ import com.android.settings.testutils.FakeFeatureFactory; import com.android.settingslib.bluetooth.CachedBluetoothDevice; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Answers; @@ -80,7 +79,6 @@ public class RemoteDeviceNameDialogFragmentTest { return (AlertDialog) ShadowDialog.getLatestDialog(); } - @Ignore("b/119592320") @Test public void deviceNameDisplayIsCorrect() { String deviceName = "ABC Corp Headphones"; @@ -96,7 +94,6 @@ public class RemoteDeviceNameDialogFragmentTest { assertThat(negativeButton.isEnabled()).isTrue(); } - @Ignore("b/119592320") @Test public void deviceNameEditSucceeds() { String deviceNameInitial = "ABC Corp Headphones"; @@ -119,7 +116,6 @@ public class RemoteDeviceNameDialogFragmentTest { verify(mCachedDevice).setName(deviceNameModified); } - @Ignore("b/119592320") @Test public void deviceNameEditThenCancelDoesntRename() { String deviceNameInitial = "ABC Corp Headphones";