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

Commit 818b6008 authored by David Duarte's avatar David Duarte
Browse files

Revert "Disable MapClientContentTest when sms is not supported"

This reverts commit b406d2b5.

Reason for revert: This disable the tests on phone as well
Bug: 266850093

Change-Id: Ie5927591f292e932715538d27d852f82cb74ff9c
parent 88a24ff0
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ import android.os.Bundle;
import android.os.Handler;
import android.provider.Telephony.Mms;
import android.provider.Telephony.Sms;
import android.telephony.SmsManager;
import android.telephony.SubscriptionInfo;
import android.telephony.SubscriptionManager;
import android.test.mock.MockContentProvider;
@@ -56,7 +55,6 @@ import com.android.vcard.VCardProperty;

import org.junit.After;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -109,7 +107,6 @@ public class MapClientContentTest {
    private FakeContentProvider mMockSmsContentProvider;
    private FakeContentProvider mMockMmsContentProvider;
    private FakeContentProvider mMockThreadContentProvider;
    private SmsManager mSmsManager = SmsManager.getDefault();

    @Mock
    private SubscriptionManager mMockSubscriptionManager;
@@ -118,8 +115,6 @@ public class MapClientContentTest {

    @Before
    public void setUp() throws Exception {
        // Do not run test if sms is not supported
        Assume.assumeTrue(mSmsManager.isImsSmsSupported());
        MockitoAnnotations.initMocks(this);
        mTargetContext = InstrumentationRegistry.getTargetContext();