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

Commit 6749a92c authored by Fan Wu's avatar Fan Wu Committed by Android (Google) Code Review
Browse files

Merge "Ignore failing tests in PreviouslyConnectedDevicePreferenceControllerTest" into main

parents 872c7a0f 9b823d8a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ import com.android.settings.widget.SingleTargetGearPreference;
import com.android.settingslib.bluetooth.CachedBluetoothDevice;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -222,6 +223,7 @@ public class PreviouslyConnectedDevicePreferenceControllerTest {
            AVAILABLE);
    }

    @Ignore("b/322712259")
    @Test
    public void onDeviceAdded_addDevicePreference_displayIt() {
        final BluetoothDevicePreference preference1 = new BluetoothDevicePreference(
@@ -232,6 +234,7 @@ public class PreviouslyConnectedDevicePreferenceControllerTest {
        assertThat(mPreferenceGroup.getPreferenceCount()).isEqualTo(2);
    }

    @Ignore("b/322712259")
    @Test
    public void onDeviceAdded_addDockDevicePreference_displayIt() {
        final SingleTargetGearPreference dockPreference = new SingleTargetGearPreference(
@@ -242,6 +245,7 @@ public class PreviouslyConnectedDevicePreferenceControllerTest {
        assertThat(mPreferenceGroup.getPreferenceCount()).isEqualTo(2);
    }

    @Ignore("b/322712259")
    @Test
    public void onDeviceAdded_addFourDevicePreference_onlyDisplayThree() {
        final BluetoothDevicePreference preference1 = new BluetoothDevicePreference(