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

Commit f4f792ef authored by Tarandeep Singh's avatar Tarandeep Singh
Browse files

Make InputMethod core tests presubmit

Enable presubmit on all InputMethod core tests.
Bug: 77807859
Bug: 78296014
Test: atest com.android.internal.inputmethod
Test: atest android.view.inputmethod

Change-Id: I69cd55b332b90a94cc6c4ac11a224fe6661a502d
parent 7e3d67b5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import static org.junit.Assert.assertTrue;
import android.graphics.Matrix;
import android.graphics.RectF;
import android.os.Parcel;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.text.TextUtils;
@@ -39,6 +40,7 @@ import org.junit.runner.RunWith;
import java.util.Objects;

@SmallTest
@Presubmit
@RunWith(AndroidJUnit4.class)
public class CursorAnchorInfoTest {
    private static final float EPSILON = 0.0000001f;
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import android.content.pm.ResolveInfo;
import android.content.pm.ServiceInfo;
import android.os.Bundle;
import android.os.Parcel;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.LargeTest;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
@@ -36,6 +37,7 @@ import org.junit.Test;
import org.junit.runner.RunWith;

@LargeTest
@Presubmit
@RunWith(AndroidJUnit4.class)
public class InputMethodInfoTest {

+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package android.view.inputmethod;
import static org.junit.Assert.assertEquals;

import android.os.Parcel;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
@@ -29,6 +30,7 @@ import org.junit.runner.RunWith;
import java.util.ArrayList;

@SmallTest
@Presubmit
@RunWith(AndroidJUnit4.class)
public class InputMethodSubtypeArrayTest {

+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

import android.os.Parcel;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder;
@@ -34,6 +35,7 @@ import java.util.Locale;
import java.util.Objects;

@SmallTest
@Presubmit
@RunWith(AndroidJUnit4.class)
public class InputMethodSubtypeTest {

+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import static org.junit.Assert.assertTrue;

import android.graphics.RectF;
import android.os.Parcel;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.view.inputmethod.SparseRectFArray.SparseRectFArrayBuilder;
@@ -33,6 +34,7 @@ import org.junit.runner.RunWith;
import java.util.Objects;

@SmallTest
@Presubmit
@RunWith(AndroidJUnit4.class)
public class SparseRectFArrayTest {
    // A test data for {@link SparseRectFArray}. null represents the gap of indices.
Loading