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

Commit cc940f42 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Mark flaky tests as @Ignore.

This is to make sure the behavior is consistent locally, on apct,
and on treehugger. Also marking a couple of tests as @FlakyTest.

Test: runtest --path frameworks/opt/telephony/tests/telephonytests
Bug: 29579544
Change-Id: I75b4d12a0c84d5629cf4b6646ea0e5a35bd2bf71
parent 86efdde1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -185,6 +185,7 @@ public class GsmCdmaCallTrackerTest extends TelephonyTest {
    }

    @FlakyTest
    @Ignore
    @Test
    @MediumTest
    public void testMOCallPendingHangUp() {
@@ -295,6 +296,7 @@ public class GsmCdmaCallTrackerTest extends TelephonyTest {
    }

    @FlakyTest
    @Ignore
    @Test
    @MediumTest
    public void testMOCallSwitchHangupForeGround() {
+1 −0
Original line number Diff line number Diff line
@@ -513,6 +513,7 @@ public class GsmCdmaPhoneTest extends TelephonyTest {
     * received when obj is created and that are received on phone type switch
     */
    @FlakyTest
    @Ignore
    @Test
    @SmallTest
    public void testHandleInitialMessages() {
+1 −0
Original line number Diff line number Diff line
@@ -428,6 +428,7 @@ public class PhoneNumberUtilsTest {

    // To run this test, the device has to be registered with network
    @FlakyTest
    @Ignore
    public void testCheckAndProcessPlusCode() {
        assertEquals("0118475797000",
                PhoneNumberUtils.cdmaCheckAndProcessPlusCode("+8475797000"));
+2 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ import com.android.internal.telephony.uicc.IccCardApplicationStatus;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.ArgumentCaptor;
import org.mockito.Mock;
@@ -239,6 +240,7 @@ public class ServiceStateTrackerTest extends TelephonyTest {
    }

    @FlakyTest
    @Ignore
    @Test
    @MediumTest
    public void testSpnUpdateShowPlmnOnly() {
+7 −5
Original line number Diff line number Diff line
@@ -16,21 +16,23 @@

package com.android.internal.telephony;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.Matchers.anyInt;
import static org.mockito.Mockito.doReturn;

import android.support.test.filters.FlakyTest;
import android.test.suitebuilder.annotation.SmallTest;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.Mock;

import java.io.UnsupportedEncodingException;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.Matchers.anyInt;
import static org.mockito.Mockito.doReturn;

@Ignore
public class Sms7BitEncodingTranslatorTest extends TelephonyTest {

    @Mock
Loading