Temporary failing tests under com.android.settings.bluetooth
Bug: 313014781 Bug: 293405483 Test: atest Change-Id: Ib2f4504dacd8f16acd23871e3ff26e87cab99e65
This commit is contained in:
@@ -59,6 +59,7 @@ import org.robolectric.annotation.Config;
|
|||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
@Ignore("b/313014781")
|
||||||
@RunWith(RobolectricTestRunner.class)
|
@RunWith(RobolectricTestRunner.class)
|
||||||
@Config(shadows = {ShadowEntityHeaderController.class, ShadowDeviceConfig.class})
|
@Config(shadows = {ShadowEntityHeaderController.class, ShadowDeviceConfig.class})
|
||||||
public class AdvancedBluetoothDetailsHeaderControllerTest {
|
public class AdvancedBluetoothDetailsHeaderControllerTest {
|
||||||
|
@@ -50,6 +50,7 @@ import com.android.settingslib.bluetooth.CachedBluetoothDevice;
|
|||||||
import com.android.settingslib.bluetooth.LocalBluetoothManager;
|
import com.android.settingslib.bluetooth.LocalBluetoothManager;
|
||||||
|
|
||||||
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;
|
||||||
@@ -62,6 +63,7 @@ import org.robolectric.RuntimeEnvironment;
|
|||||||
import org.robolectric.annotation.Config;
|
import org.robolectric.annotation.Config;
|
||||||
import org.robolectric.fakes.RoboMenu;
|
import org.robolectric.fakes.RoboMenu;
|
||||||
|
|
||||||
|
@Ignore("b/313014781")
|
||||||
@RunWith(RobolectricTestRunner.class)
|
@RunWith(RobolectricTestRunner.class)
|
||||||
@Config(shadows = {
|
@Config(shadows = {
|
||||||
com.android.settings.testutils.shadow.ShadowUserManager.class,
|
com.android.settings.testutils.shadow.ShadowUserManager.class,
|
||||||
|
@@ -24,6 +24,7 @@ import android.content.Context;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
|
||||||
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.ArgumentCaptor;
|
import org.mockito.ArgumentCaptor;
|
||||||
@@ -32,6 +33,7 @@ import org.robolectric.RobolectricTestRunner;
|
|||||||
import org.robolectric.RuntimeEnvironment;
|
import org.robolectric.RuntimeEnvironment;
|
||||||
import org.robolectric.util.ReflectionHelpers;
|
import org.robolectric.util.ReflectionHelpers;
|
||||||
|
|
||||||
|
@Ignore("b/313014781")
|
||||||
@RunWith(RobolectricTestRunner.class)
|
@RunWith(RobolectricTestRunner.class)
|
||||||
public class BluetoothPermissionActivityTest {
|
public class BluetoothPermissionActivityTest {
|
||||||
|
|
||||||
|
@@ -33,6 +33,7 @@ import com.android.settings.widget.SwitchWidgetController;
|
|||||||
import com.android.settingslib.widget.FooterPreference;
|
import com.android.settingslib.widget.FooterPreference;
|
||||||
|
|
||||||
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.Mock;
|
import org.mockito.Mock;
|
||||||
@@ -82,6 +83,7 @@ public class BluetoothSwitchPreferenceControllerTest {
|
|||||||
assertThat(TextUtils.equals(mFooterPreference.getTitle(), text)).isTrue();
|
assertThat(TextUtils.equals(mFooterPreference.getTitle(), text)).isTrue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313014781")
|
||||||
@Test
|
@Test
|
||||||
public void updateText_bluetoothOffScanningOff() {
|
public void updateText_bluetoothOffScanningOff() {
|
||||||
Settings.Global.putInt(mContext.getContentResolver(),
|
Settings.Global.putInt(mContext.getContentResolver(),
|
||||||
@@ -91,6 +93,7 @@ public class BluetoothSwitchPreferenceControllerTest {
|
|||||||
assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING);
|
assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313014781")
|
||||||
@Test
|
@Test
|
||||||
public void updateText_bluetoothOnScanningOff() {
|
public void updateText_bluetoothOnScanningOff() {
|
||||||
Settings.Global.putInt(mContext.getContentResolver(),
|
Settings.Global.putInt(mContext.getContentResolver(),
|
||||||
@@ -100,6 +103,7 @@ public class BluetoothSwitchPreferenceControllerTest {
|
|||||||
assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING);
|
assertThat(mFooterPreference.getTitle()).isEqualTo(BLUETOOTH_INFO_STRING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313014781")
|
||||||
@Test
|
@Test
|
||||||
public void updateText_bluetoothOnScanningOn() {
|
public void updateText_bluetoothOnScanningOn() {
|
||||||
Settings.Global.putInt(mContext.getContentResolver(),
|
Settings.Global.putInt(mContext.getContentResolver(),
|
||||||
|
Reference in New Issue
Block a user