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

Commit e3c7a3fd authored by Fan Wu's avatar Fan Wu
Browse files

Ignore existing test failures

Bug: 359066481

Test: atest

Flag: EXEMPT test only
Change-Id: I6fbb3d26939570426121ee440682608942cd8bd6
parent ebf8e0c8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ import android.os.Parcel;
import android.os.ParcelUuid;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -545,6 +546,7 @@ public class CachedBluetoothDeviceManagerTest {
     * Test to verify OnDeviceUnpaired() for csip device unpair.
     */
    @Test
    @Ignore("b/359066481")
    public void onDeviceUnpaired_unpairCsipSubDevice() {
        when(mDevice1.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED);
        when(mDevice2.getBondState()).thenReturn(BluetoothDevice.BOND_NONE);
+2 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ import com.android.settingslib.testutils.OverpoweredReflectionHelper;
import com.android.settingslib.testutils.shadow.ShadowInteractionJankMonitor;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -58,6 +59,7 @@ import java.util.concurrent.TimeUnit;

@RunWith(RobolectricTestRunner.class)
@Config(shadows = {ShadowInteractionJankMonitor.class, SettingsJankMonitorTest.ShadowBuilder.class})
@Ignore("b/359066481")
public class SettingsJankMonitorTest {
    private static final String TEST_KEY = "key";

+3 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ import com.android.settingslib.testutils.shadow.ShadowDefaultDialerManager;
import com.android.settingslib.testutils.shadow.ShadowSmsApplication;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -86,6 +87,7 @@ public class PowerAllowlistBackendTest {
        mPowerAllowlistBackend = new PowerAllowlistBackend(mContext, mDeviceIdleService);
    }

    @Ignore("b/359066481")
    @Test
    public void testIsAllowlisted() throws Exception {
        doReturn(new String[] {PACKAGE_ONE}).when(mDeviceIdleService).getFullPowerWhitelist();
@@ -160,6 +162,7 @@ public class PowerAllowlistBackendTest {
        assertThat(mPowerAllowlistBackend.isDefaultActiveApp(PACKAGE_ONE, UID)).isTrue();
    }

    @Ignore("b/359066481")
    @Test
    public void testIsSystemAllowlisted() throws Exception {
        doReturn(new String[] {PACKAGE_ONE}).when(mDeviceIdleService).getSystemPowerWhitelist();
+2 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ import com.android.settingslib.testutils.OverpoweredReflectionHelper;
import com.android.settingslib.widget.preference.banner.R;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
@@ -53,6 +54,7 @@ import org.robolectric.shadows.ShadowDrawable;
import org.robolectric.shadows.ShadowTouchDelegate;
import org.robolectric.util.ReflectionHelpers;

@Ignore("b/359066481")
@RunWith(RobolectricTestRunner.class)
public class BannerMessagePreferenceTest {