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

Commit 659e512b authored by Chaohui Wang's avatar Chaohui Wang Committed by Android (Google) Code Review
Browse files

Merge "Fix CellDataPreferenceTest" into main

parents f91bd7ba 4520d136
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -20,22 +20,17 @@ import static com.google.common.truth.Truth.assertThat;

import android.content.Context;
import android.telephony.SubscriptionInfo;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;

@RunWith(AndroidJUnit4.class)
@Ignore("b/337417779")
public class CellDataPreferenceTest {

    @Mock
@@ -55,10 +50,6 @@ public class CellDataPreferenceTest {
                return mSubInfo;
            }
        };

        final LayoutInflater inflater = LayoutInflater.from(mContext);
        final View view = inflater.inflate(mPreference.getLayoutResource(),
                new LinearLayout(mContext), false);
    }

    @Test