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

Commit 9947f6e1 authored by Jordan Liu's avatar Jordan Liu Committed by Android (Google) Code Review
Browse files

Merge "Remove old @Postsubmit annotation"

parents addd3f7d 92428df5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -16,9 +16,6 @@
package com.android.internal.telephony;

import android.os.HandlerThread;
import android.os.PersistableBundle;
import android.telephony.CarrierConfigManager;
import android.platform.test.annotations.Postsubmit;
import android.support.test.filters.FlakyTest;
import android.telephony.DisconnectCause;
import android.telephony.PhoneNumberUtils;
@@ -177,6 +174,7 @@ public class GsmCdmaCallTrackerTest extends TelephonyTest {

    }

    @FlakyTest
    @Test
    @MediumTest
    public void testMOCallPendingHangUp() {
+1 −3
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
package com.android.internal.telephony;

import android.net.Uri;
import android.platform.test.annotations.Postsubmit;
import android.support.test.filters.FlakyTest;
import android.telephony.PhoneNumberUtils;
import android.test.AndroidTestCase;
@@ -415,7 +414,6 @@ public class PhoneNumberUtilsTest extends AndroidTestCase {

    // To run this test, the device has to be registered with network
    @FlakyTest
    @Postsubmit
    public void testCheckAndProcessPlusCode() {
        assertEquals("0118475797000",
                PhoneNumberUtils.cdmaCheckAndProcessPlusCode("+8475797000"));
@@ -586,7 +584,7 @@ public class PhoneNumberUtilsTest extends AndroidTestCase {
                PhoneNumberUtils.formatNumber("011861088880000", "", "GB"));
    }

    @Postsubmit
    @FlakyTest
    @SmallTest
    public void testIsEmergencyNumber() {
        // There are two parallel sets of tests here: one for the
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,6 @@ import android.os.Parcel;
import android.os.Process;
import android.os.UserHandle;
import android.os.WorkSource;
import android.platform.test.annotations.Postsubmit;
import android.support.test.filters.FlakyTest;
import android.telephony.CellInfo;
import android.telephony.CellInfoGsm;
@@ -317,6 +316,7 @@ public class ServiceStateTrackerTest extends TelephonyTest {
        assertFalse(sst.isImsRegistered());
    }

    @FlakyTest
    @Test
    @MediumTest
    public void testSignalStrength() {
+0 −5
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

package com.android.internal.telephony;

import android.platform.test.annotations.Postsubmit;
import android.support.test.filters.FlakyTest;
import android.test.suitebuilder.annotation.SmallTest;

@@ -52,7 +51,6 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest {
    }

    @FlakyTest
    @Postsubmit
    @Test
    @SmallTest
    public void testNoTranslate() {
@@ -60,7 +58,6 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest {
    }

    @FlakyTest
    @Postsubmit
    @Test
    @SmallTest
    public void testCommonTranslate() {
@@ -75,7 +72,6 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest {
    }

    @FlakyTest
    @Postsubmit
    @Test
    @SmallTest
    public void testGsmTranslate() {
@@ -90,7 +86,6 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest {
    }

    @FlakyTest
    @Postsubmit
    @Test
    @SmallTest
    public void testCdmaTranslate() {
+0 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
package com.android.internal.telephony;

import android.os.Looper;
import android.platform.test.annotations.Postsubmit;
import android.support.test.filters.FlakyTest;
import android.test.AndroidTestCase;
import android.test.suitebuilder.annotation.SmallTest;
@@ -459,7 +458,6 @@ public class SmsUsageMonitorShortCodeTest extends AndroidTestCase {
    };

    @FlakyTest
    @Postsubmit
    @SmallTest
    public void testSmsUsageMonitor() {
        // InstrumentationTestRunner prepares a looper, but AndroidJUnitRunner does not.
Loading