Loading tests/telephonytests/src/com/android/internal/telephony/Sms7BitEncodingTranslatorTest.java +4 −7 Original line number Diff line number Diff line Loading @@ -23,8 +23,6 @@ import static org.mockito.Mockito.doReturn; import android.test.suitebuilder.annotation.SmallTest; import androidx.test.filters.FlakyTest; import org.junit.After; import org.junit.Before; import org.junit.Ignore; Loading @@ -33,7 +31,6 @@ import org.mockito.Mock; import java.io.UnsupportedEncodingException; @Ignore public class Sms7BitEncodingTranslatorTest extends TelephonyTest { @Mock Loading @@ -53,14 +50,14 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest { super.tearDown(); } @FlakyTest @Ignore @Test @SmallTest public void testNoTranslate() { assertEquals("123", Sms7BitEncodingTranslator.translate("123")); } @FlakyTest @Ignore @Test @SmallTest public void testCommonTranslate() { Loading @@ -74,7 +71,7 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest { assertEquals("OIA", Sms7BitEncodingTranslator.translate(s)); } @FlakyTest @Ignore @Test @SmallTest public void testGsmTranslate() { Loading @@ -88,7 +85,7 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest { assertEquals("??Ç", Sms7BitEncodingTranslator.translate(s)); } @FlakyTest @Ignore @Test @SmallTest public void testCdmaTranslate() { Loading tests/telephonytests/src/com/android/internal/telephony/SmsUsageMonitorShortCodeTest.java +1 −4 Original line number Diff line number Diff line Loading @@ -26,14 +26,11 @@ import static org.junit.Assert.assertEquals; import android.os.Looper; import androidx.test.filters.FlakyTest; import org.junit.Ignore; /** * Test cases for SMS short code pattern matching in SmsUsageMonitor. */ @Ignore public class SmsUsageMonitorShortCodeTest { private static final class ShortCodeTest { Loading Loading @@ -461,7 +458,7 @@ public class SmsUsageMonitorShortCodeTest { new ShortCodeTest(null, "112", CATEGORY_NOT_SHORT_CODE), }; @FlakyTest @Ignore public void testSmsUsageMonitor() { // InstrumentationTestRunner prepares a looper, but AndroidJUnitRunner does not. // http://b/25897652 . Loading tests/telephonytests/src/com/android/internal/telephony/gsm/GsmCellBroadcastHandlerTest.java +1 −4 Original line number Diff line number Diff line Loading @@ -39,8 +39,6 @@ import android.os.UserHandle; import android.provider.Settings; import android.provider.Telephony; import androidx.test.filters.FlakyTest; import com.android.internal.telephony.SmsStorageMonitor; import com.android.internal.telephony.TelephonyTest; import com.android.internal.telephony.TelephonyTestUtils; Loading @@ -53,7 +51,6 @@ import org.mockito.Mock; import java.util.List; @Ignore public class GsmCellBroadcastHandlerTest extends TelephonyTest { @Mock private SmsStorageMonitor mSmsStorageMonitor; Loading Loading @@ -100,7 +97,7 @@ public class GsmCellBroadcastHandlerTest extends TelephonyTest { super.tearDown(); } @FlakyTest @Ignore public void testBroadcastSms() { mContextFixture.putResource( com.android.internal.R.string.config_defaultCellBroadcastReceiverPkg, Loading tests/telephonytests/src/com/android/internal/telephony/ims/ImsServiceControllerTest.java +16 −18 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ import android.os.RemoteException; import android.telephony.ims.ImsService; import android.telephony.ims.stub.ImsFeatureConfiguration; import androidx.test.filters.FlakyTest; import androidx.test.runner.AndroidJUnit4; import com.android.ims.internal.IImsServiceFeatureCallback; Loading @@ -59,7 +58,6 @@ import java.util.HashSet; * Unit tests for ImsServiceController */ @RunWith(AndroidJUnit4.class) @Ignore public class ImsServiceControllerTest extends ImsTestBase { private static final ImsServiceController.RebindRetry REBIND_RETRY = Loading Loading @@ -105,7 +103,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Tests that Context.bindService is called with the correct parameters when we call bind. */ @FlakyTest @Ignore @Test public void testBindService() { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -129,7 +127,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Verify that if bind is called multiple times, we only call bindService once. */ @FlakyTest @Ignore @Test public void testBindFailureWhenBound() { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -147,7 +145,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests ImsServiceController callbacks are properly called when an ImsService is bound and * connected. */ @FlakyTest @Ignore @Test public void testBindServiceAndConnected() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -176,7 +174,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests Emergency MMTEL ImsServiceController callbacks are properly called when an ImsService * is bound and connected. */ @FlakyTest @Ignore @Test public void testBindEmergencyMmTel() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -207,7 +205,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests that if a callback is added after the ImsServiceController is already bound, we get a * imsFeatureCreated callback. */ @FlakyTest @Ignore @Test public void testCallbacksHappenWhenAddedAfterBind() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -232,7 +230,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests ImsServiceController callbacks are properly called when an ImsService is bound and * connected. */ @FlakyTest @Ignore @Test public void testBindServiceAndConnectedDisconnected() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -260,7 +258,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests ImsServiceController callbacks are properly called when an ImsService is bound and * connected. */ @FlakyTest @Ignore @Test public void testBindServiceBindUnbind() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -288,7 +286,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensures that imsServiceFeatureRemoved is called when the binder dies in another process. */ @FlakyTest @Ignore @Test public void testBindServiceAndBinderDied() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -315,7 +313,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensures ImsService and ImsResolver are notified when a feature is added. */ @FlakyTest @Ignore @Test public void testBindServiceAndAddFeature() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -342,7 +340,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensures ImsService and ImsResolver are notified when a feature is added. */ @FlakyTest @Ignore @Test public void testBindServiceAndRemoveFeature() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -375,7 +373,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensures ImsService and ImsResolver are notified when all features are removed. */ @FlakyTest @Ignore @Test public void testBindServiceAndRemoveAllFeatures() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -409,7 +407,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Verifies that nothing is notified of a feature change if the service is not bound. */ @FlakyTest @Ignore @Test public void testBindUnbindServiceAndAddFeature() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -435,7 +433,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Verifies that the ImsServiceController automatically tries to bind again after an untimely * binder death. */ @FlakyTest @Ignore @Test public void testAutoBindAfterBinderDied() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -456,7 +454,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensure that bindService has only been called once before automatic rebind occurs. */ @FlakyTest @Ignore @Test public void testNoAutoBindBeforeTimeout() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -475,7 +473,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensure that calling unbind stops automatic rebind of the ImsService from occuring. */ @FlakyTest @Ignore @Test public void testUnbindCauseAutoBindCancelAfterBinderDied() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -499,7 +497,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Ensure that calling bind causes the automatic rebinding to be cancelled or not cause another * call to bindService. */ @FlakyTest @Ignore @Test public void testBindCauseAutoBindCancelAfterBinderDied() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading
tests/telephonytests/src/com/android/internal/telephony/Sms7BitEncodingTranslatorTest.java +4 −7 Original line number Diff line number Diff line Loading @@ -23,8 +23,6 @@ import static org.mockito.Mockito.doReturn; import android.test.suitebuilder.annotation.SmallTest; import androidx.test.filters.FlakyTest; import org.junit.After; import org.junit.Before; import org.junit.Ignore; Loading @@ -33,7 +31,6 @@ import org.mockito.Mock; import java.io.UnsupportedEncodingException; @Ignore public class Sms7BitEncodingTranslatorTest extends TelephonyTest { @Mock Loading @@ -53,14 +50,14 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest { super.tearDown(); } @FlakyTest @Ignore @Test @SmallTest public void testNoTranslate() { assertEquals("123", Sms7BitEncodingTranslator.translate("123")); } @FlakyTest @Ignore @Test @SmallTest public void testCommonTranslate() { Loading @@ -74,7 +71,7 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest { assertEquals("OIA", Sms7BitEncodingTranslator.translate(s)); } @FlakyTest @Ignore @Test @SmallTest public void testGsmTranslate() { Loading @@ -88,7 +85,7 @@ public class Sms7BitEncodingTranslatorTest extends TelephonyTest { assertEquals("??Ç", Sms7BitEncodingTranslator.translate(s)); } @FlakyTest @Ignore @Test @SmallTest public void testCdmaTranslate() { Loading
tests/telephonytests/src/com/android/internal/telephony/SmsUsageMonitorShortCodeTest.java +1 −4 Original line number Diff line number Diff line Loading @@ -26,14 +26,11 @@ import static org.junit.Assert.assertEquals; import android.os.Looper; import androidx.test.filters.FlakyTest; import org.junit.Ignore; /** * Test cases for SMS short code pattern matching in SmsUsageMonitor. */ @Ignore public class SmsUsageMonitorShortCodeTest { private static final class ShortCodeTest { Loading Loading @@ -461,7 +458,7 @@ public class SmsUsageMonitorShortCodeTest { new ShortCodeTest(null, "112", CATEGORY_NOT_SHORT_CODE), }; @FlakyTest @Ignore public void testSmsUsageMonitor() { // InstrumentationTestRunner prepares a looper, but AndroidJUnitRunner does not. // http://b/25897652 . Loading
tests/telephonytests/src/com/android/internal/telephony/gsm/GsmCellBroadcastHandlerTest.java +1 −4 Original line number Diff line number Diff line Loading @@ -39,8 +39,6 @@ import android.os.UserHandle; import android.provider.Settings; import android.provider.Telephony; import androidx.test.filters.FlakyTest; import com.android.internal.telephony.SmsStorageMonitor; import com.android.internal.telephony.TelephonyTest; import com.android.internal.telephony.TelephonyTestUtils; Loading @@ -53,7 +51,6 @@ import org.mockito.Mock; import java.util.List; @Ignore public class GsmCellBroadcastHandlerTest extends TelephonyTest { @Mock private SmsStorageMonitor mSmsStorageMonitor; Loading Loading @@ -100,7 +97,7 @@ public class GsmCellBroadcastHandlerTest extends TelephonyTest { super.tearDown(); } @FlakyTest @Ignore public void testBroadcastSms() { mContextFixture.putResource( com.android.internal.R.string.config_defaultCellBroadcastReceiverPkg, Loading
tests/telephonytests/src/com/android/internal/telephony/ims/ImsServiceControllerTest.java +16 −18 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ import android.os.RemoteException; import android.telephony.ims.ImsService; import android.telephony.ims.stub.ImsFeatureConfiguration; import androidx.test.filters.FlakyTest; import androidx.test.runner.AndroidJUnit4; import com.android.ims.internal.IImsServiceFeatureCallback; Loading @@ -59,7 +58,6 @@ import java.util.HashSet; * Unit tests for ImsServiceController */ @RunWith(AndroidJUnit4.class) @Ignore public class ImsServiceControllerTest extends ImsTestBase { private static final ImsServiceController.RebindRetry REBIND_RETRY = Loading Loading @@ -105,7 +103,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Tests that Context.bindService is called with the correct parameters when we call bind. */ @FlakyTest @Ignore @Test public void testBindService() { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -129,7 +127,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Verify that if bind is called multiple times, we only call bindService once. */ @FlakyTest @Ignore @Test public void testBindFailureWhenBound() { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -147,7 +145,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests ImsServiceController callbacks are properly called when an ImsService is bound and * connected. */ @FlakyTest @Ignore @Test public void testBindServiceAndConnected() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -176,7 +174,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests Emergency MMTEL ImsServiceController callbacks are properly called when an ImsService * is bound and connected. */ @FlakyTest @Ignore @Test public void testBindEmergencyMmTel() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -207,7 +205,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests that if a callback is added after the ImsServiceController is already bound, we get a * imsFeatureCreated callback. */ @FlakyTest @Ignore @Test public void testCallbacksHappenWhenAddedAfterBind() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -232,7 +230,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests ImsServiceController callbacks are properly called when an ImsService is bound and * connected. */ @FlakyTest @Ignore @Test public void testBindServiceAndConnectedDisconnected() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -260,7 +258,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Tests ImsServiceController callbacks are properly called when an ImsService is bound and * connected. */ @FlakyTest @Ignore @Test public void testBindServiceBindUnbind() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -288,7 +286,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensures that imsServiceFeatureRemoved is called when the binder dies in another process. */ @FlakyTest @Ignore @Test public void testBindServiceAndBinderDied() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -315,7 +313,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensures ImsService and ImsResolver are notified when a feature is added. */ @FlakyTest @Ignore @Test public void testBindServiceAndAddFeature() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -342,7 +340,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensures ImsService and ImsResolver are notified when a feature is added. */ @FlakyTest @Ignore @Test public void testBindServiceAndRemoveFeature() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -375,7 +373,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensures ImsService and ImsResolver are notified when all features are removed. */ @FlakyTest @Ignore @Test public void testBindServiceAndRemoveAllFeatures() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading Loading @@ -409,7 +407,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Verifies that nothing is notified of a feature change if the service is not bound. */ @FlakyTest @Ignore @Test public void testBindUnbindServiceAndAddFeature() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -435,7 +433,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Verifies that the ImsServiceController automatically tries to bind again after an untimely * binder death. */ @FlakyTest @Ignore @Test public void testAutoBindAfterBinderDied() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -456,7 +454,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensure that bindService has only been called once before automatic rebind occurs. */ @FlakyTest @Ignore @Test public void testNoAutoBindBeforeTimeout() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -475,7 +473,7 @@ public class ImsServiceControllerTest extends ImsTestBase { /** * Ensure that calling unbind stops automatic rebind of the ImsService from occuring. */ @FlakyTest @Ignore @Test public void testUnbindCauseAutoBindCancelAfterBinderDied() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading @@ -499,7 +497,7 @@ public class ImsServiceControllerTest extends ImsTestBase { * Ensure that calling bind causes the automatic rebinding to be cancelled or not cause another * call to bindService. */ @FlakyTest @Ignore @Test public void testBindCauseAutoBindCancelAfterBinderDied() throws RemoteException { HashSet<ImsFeatureConfiguration.FeatureSlotPair> testFeatures = new HashSet<>(); Loading