aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/ContactsDictionaryUtilsTest.java
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-08-13 14:36:49 -0700
committerYohei Yukawa <yukawa@google.com>2018-08-13 14:36:49 -0700
commitd6525756a12687c985fb9f23c9cfc9dd5b238f8c (patch)
tree443be06b80e1e135ed9a95d5c85b966734fc4c8d /tests/src/com/android/inputmethod/latin/ContactsDictionaryUtilsTest.java
parentc884b6631f5d13637167f6bc66bbb81e6a00bd8f (diff)
downloadlatinime-d6525756a12687c985fb9f23c9cfc9dd5b238f8c.tar.gz
latinime-d6525756a12687c985fb9f23c9cfc9dd5b238f8c.tar.xz
latinime-d6525756a12687c985fb9f23c9cfc9dd5b238f8c.zip
Add missing test runner annotations
These tests are supposed to run even withotu @RunWith annocation, but for better consistency we should have it there. Bug: 110805255 Test: verified as follows. No new test failures. tapas adb LatinIME LatinIMETests arm64 userdebug && \ DISABLE_PROGUARD=true make -j LatinIME && \ adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \ atest LatinIMETests:com.android.inputmethod.latin.ContactsDictionaryUtilsTest && \ atest LatinIMETests:com.android.inputmethod.latin.ContactsContentObserverTest Change-Id: I5c115d57b2ad41642f5f9b09b0c0d8f8c12480b0
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/ContactsDictionaryUtilsTest.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/ContactsDictionaryUtilsTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/ContactsDictionaryUtilsTest.java b/tests/src/com/android/inputmethod/latin/ContactsDictionaryUtilsTest.java
index 9b49f1abb..57d5def15 100644
--- a/tests/src/com/android/inputmethod/latin/ContactsDictionaryUtilsTest.java
+++ b/tests/src/com/android/inputmethod/latin/ContactsDictionaryUtilsTest.java
@@ -20,9 +20,11 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
-import android.test.suitebuilder.annotation.SmallTest;
+import android.support.test.filters.SmallTest;
+import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
+import org.junit.runner.RunWith;
import java.util.Locale;
@@ -30,6 +32,7 @@ import java.util.Locale;
* Tests for {@link ContactsDictionaryUtils}
*/
@SmallTest
+@RunWith(AndroidJUnit4.class)
public class ContactsDictionaryUtilsTest {
@Test