aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/common
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@google.com>2018-12-13 19:06:42 -0800
committerBrett Chabot <brettchabot@google.com>2018-12-13 19:06:42 -0800
commitc05a70a4ca769664f2315fff1f3bf3cb2ce3e300 (patch)
tree3a7b237b2281c04af97d305524e5196c3cc6239b /tests/src/com/android/inputmethod/latin/common
parentf7b80bb317e7be97a02975b54388d7f52c22c25c (diff)
downloadlatinime-c05a70a4ca769664f2315fff1f3bf3cb2ce3e300.tar.gz
latinime-c05a70a4ca769664f2315fff1f3bf3cb2ce3e300.tar.xz
latinime-c05a70a4ca769664f2315fff1f3bf3cb2ce3e300.zip
Migrate packages/inputmethods/LatinIME to androidx.test
See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/common')
-rw-r--r--tests/src/com/android/inputmethod/latin/common/InputPointersTests.java4
-rw-r--r--tests/src/com/android/inputmethod/latin/common/ResizableIntArrayTests.java8
-rw-r--r--tests/src/com/android/inputmethod/latin/common/StringUtilsTests.java8
-rw-r--r--tests/src/com/android/inputmethod/latin/common/UnicodeSurrogateTests.java5
4 files changed, 12 insertions, 13 deletions
diff --git a/tests/src/com/android/inputmethod/latin/common/InputPointersTests.java b/tests/src/com/android/inputmethod/latin/common/InputPointersTests.java
index 9ead0ae25..29abec365 100644
--- a/tests/src/com/android/inputmethod/latin/common/InputPointersTests.java
+++ b/tests/src/com/android/inputmethod/latin/common/InputPointersTests.java
@@ -23,8 +23,8 @@ import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
-import android.support.test.filters.SmallTest;
-import android.support.test.runner.AndroidJUnit4;
+import androidx.test.filters.SmallTest;
+import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
diff --git a/tests/src/com/android/inputmethod/latin/common/ResizableIntArrayTests.java b/tests/src/com/android/inputmethod/latin/common/ResizableIntArrayTests.java
index d9b6bad75..5151b6b2b 100644
--- a/tests/src/com/android/inputmethod/latin/common/ResizableIntArrayTests.java
+++ b/tests/src/com/android/inputmethod/latin/common/ResizableIntArrayTests.java
@@ -23,14 +23,14 @@ import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
-import android.support.test.filters.SmallTest;
-import android.support.test.runner.AndroidJUnit4;
-
-import java.util.Arrays;
+import androidx.test.filters.SmallTest;
+import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
+import java.util.Arrays;
+
@SmallTest
@RunWith(AndroidJUnit4.class)
public class ResizableIntArrayTests {
diff --git a/tests/src/com/android/inputmethod/latin/common/StringUtilsTests.java b/tests/src/com/android/inputmethod/latin/common/StringUtilsTests.java
index 393efe6eb..36a4b912d 100644
--- a/tests/src/com/android/inputmethod/latin/common/StringUtilsTests.java
+++ b/tests/src/com/android/inputmethod/latin/common/StringUtilsTests.java
@@ -20,14 +20,14 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
-import android.support.test.filters.SmallTest;
-import android.support.test.runner.AndroidJUnit4;
-
-import java.util.Locale;
+import androidx.test.filters.SmallTest;
+import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
+import java.util.Locale;
+
@SmallTest
@RunWith(AndroidJUnit4.class)
public class StringUtilsTests {
diff --git a/tests/src/com/android/inputmethod/latin/common/UnicodeSurrogateTests.java b/tests/src/com/android/inputmethod/latin/common/UnicodeSurrogateTests.java
index 43fdeec96..adfbbf418 100644
--- a/tests/src/com/android/inputmethod/latin/common/UnicodeSurrogateTests.java
+++ b/tests/src/com/android/inputmethod/latin/common/UnicodeSurrogateTests.java
@@ -19,10 +19,9 @@ package com.android.inputmethod.latin.common;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
-import android.support.test.filters.SmallTest;
-import android.support.test.runner.AndroidJUnit4;
+import androidx.test.filters.SmallTest;
+import androidx.test.runner.AndroidJUnit4;
-import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;