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
This commit is contained in:
@@ -38,7 +38,6 @@ import com.android.settings.testutils.FakeFeatureFactory;
|
|||||||
import com.android.settingslib.bluetooth.CachedBluetoothDevice;
|
import com.android.settingslib.bluetooth.CachedBluetoothDevice;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Ignore;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.mockito.Answers;
|
import org.mockito.Answers;
|
||||||
@@ -80,7 +79,6 @@ public class RemoteDeviceNameDialogFragmentTest {
|
|||||||
return (AlertDialog) ShadowDialog.getLatestDialog();
|
return (AlertDialog) ShadowDialog.getLatestDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore("b/119592320")
|
|
||||||
@Test
|
@Test
|
||||||
public void deviceNameDisplayIsCorrect() {
|
public void deviceNameDisplayIsCorrect() {
|
||||||
String deviceName = "ABC Corp Headphones";
|
String deviceName = "ABC Corp Headphones";
|
||||||
@@ -96,7 +94,6 @@ public class RemoteDeviceNameDialogFragmentTest {
|
|||||||
assertThat(negativeButton.isEnabled()).isTrue();
|
assertThat(negativeButton.isEnabled()).isTrue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore("b/119592320")
|
|
||||||
@Test
|
@Test
|
||||||
public void deviceNameEditSucceeds() {
|
public void deviceNameEditSucceeds() {
|
||||||
String deviceNameInitial = "ABC Corp Headphones";
|
String deviceNameInitial = "ABC Corp Headphones";
|
||||||
@@ -119,7 +116,6 @@ public class RemoteDeviceNameDialogFragmentTest {
|
|||||||
verify(mCachedDevice).setName(deviceNameModified);
|
verify(mCachedDevice).setName(deviceNameModified);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore("b/119592320")
|
|
||||||
@Test
|
@Test
|
||||||
public void deviceNameEditThenCancelDoesntRename() {
|
public void deviceNameEditThenCancelDoesntRename() {
|
||||||
String deviceNameInitial = "ABC Corp Headphones";
|
String deviceNameInitial = "ABC Corp Headphones";
|
||||||
|
Reference in New Issue
Block a user