Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9edcdeb7 authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Ignore more failing or flaky Bluetooth tests

Bug: 262201478
Bug: 263724420
Bug: 260202548
Bug: 228874625
Test: atest BluetoothInstrumentationTests
Change-Id: I6d34f9a9c785d595e9f6b88957df9c952dd98237
Merged-In: I6d34f9a9c785d595e9f6b88957df9c952dd98237
(cherry picked from commit 15912e63)
parent 1b079306
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -443,6 +443,7 @@ public class AdapterServiceTest {
     * Test: Turn Bluetooth on.
     * Check whether the AdapterService gets started.
     */
    @Ignore("b/228874625")
    @Test
    public void testEnable() {
        Log.e("AdapterServiceTest", "testEnable() start");
+2 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ import org.junit.After;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -100,6 +101,7 @@ public class HeadsetClientServiceTest {
        Assert.assertNotNull(HeadsetClientService.getHeadsetClientService());
    }

    @Ignore("b/260202548")
    @Test
    public void testSendBIEVtoStateMachineWhenBatteryChanged() {
        // Put mock state machine
+1 −0
Original line number Diff line number Diff line
@@ -139,6 +139,7 @@ public class BluetoothOppLauncherActivityTest {
        assertThat(argument.getValue().getData()).isEqualTo(Uri.EMPTY);
    }

    @Ignore("b/263724420")
    @Test
    public void launchDevicePicker_bluetoothNotEnabled_launchEnableActivity() throws Exception {
        doReturn(false).when(mMethodProxy).bluetoothAdapterIsEnabled(any());
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ import com.google.common.base.Objects;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -93,6 +94,7 @@ public class BluetoothOppReceiverTest {
        Intents.release();
    }

    @Ignore("b/262201478")
    @Test
    public void onReceive_withActionDeviceSelected_callsStartTransfer() {
        BluetoothOppManager bluetoothOppManager = spy(BluetoothOppManager.getInstance(mContext));