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

Commit 455f0677 authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Remove flaky tests from Presubmit"

parents dae587b5 040e6c43
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -562,6 +562,7 @@ public class PhoneNumberUtilsTest extends AndroidTestCase {
                PhoneNumberUtils.formatNumber("011861088880000", "", "GB"));
    }

    @Postsubmit
    @SmallTest
    public void testIsEmergencyNumber() {
        // There are two parallel sets of tests here: one for the
+1 −0
Original line number Diff line number Diff line
@@ -352,6 +352,7 @@ public class GsmInboundSmsHandlerTest extends TelephonyTest {
        doReturn(mInboundSmsTrackerCVPart2).when(mInboundSmsTrackerPart2).getContentValues();
    }

    @Postsubmit
    @Test
    @MediumTest
    public void testMultiPartSms() {
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import android.location.CountryDetector;
import android.os.HandlerThread;
import android.os.Message;
import android.os.SystemProperties;
import android.platform.test.annotations.Postsubmit;
import android.provider.Telephony;
import android.test.suitebuilder.annotation.MediumTest;
import android.test.suitebuilder.annotation.SmallTest;
@@ -119,6 +120,7 @@ public class GsmSmsDispatcherTest extends TelephonyTest {
        assertEquals(0, mFakeBlockedNumberContentProvider.mNumEmergencyContactNotifications);
    }

    @Postsubmit
    @Test @MediumTest
    public void testSendSmsToEmergencyNumber_notifiesBlockedNumberProvider() throws Exception {
        setupMockPackagePermissionChecks();