diff options
author | 2012-04-13 13:07:28 +0900 | |
---|---|---|
committer | 2012-04-13 16:24:11 +0900 | |
commit | 8abde7db6bacbd5726a87e924ec8aea7fbb10d9a (patch) | |
tree | 61dea371f5f261d4eb8cd0620dfdfb3a34eccfcd /tests/src | |
parent | 35b5a7babb2f22a67342813c122ebe39a5dc6623 (diff) | |
download | latinime-8abde7db6bacbd5726a87e924ec8aea7fbb10d9a.tar.gz latinime-8abde7db6bacbd5726a87e924ec8aea7fbb10d9a.tar.xz latinime-8abde7db6bacbd5726a87e924ec8aea7fbb10d9a.zip |
Refatcor InputMethodSubtype related stuff a bit
Change-Id: Iaded72331660afbaeddda085f2b633b681d4b6df
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java b/tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java index 4ac765782..911429ddf 100644 --- a/tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java +++ b/tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java @@ -22,8 +22,6 @@ import android.view.inputmethod.InputMethodInfo; import android.view.inputmethod.InputMethodManager; import android.view.inputmethod.InputMethodSubtype; -import com.android.inputmethod.keyboard.KeyboardLayoutSet; - import java.util.ArrayList; import java.util.Locale; @@ -64,7 +62,7 @@ public class SubtypeLocaleTests extends AndroidTestCase { final StringBuilder messages = new StringBuilder(); int failedCount = 0; for (final InputMethodSubtype subtype : mSubtypesList) { - final Locale locale = KeyboardLayoutSet.getKeyboardLayoutSetLocale(subtype); + final Locale locale = SubtypeLocale.getKeyboardLayoutSetLocale(subtype); if (locale.getLanguage().equals(SubtypeLocale.NO_LANGUAGE)) { // This is special language name for language agnostic usage. continue; @@ -94,7 +92,7 @@ public class SubtypeLocaleTests extends AndroidTestCase { final StringBuilder messages = new StringBuilder(); int failedCount = 0; for (final InputMethodSubtype subtype : mSubtypesList) { - final Locale locale = KeyboardLayoutSet.getKeyboardLayoutSetLocale(subtype); + final Locale locale = SubtypeLocale.getKeyboardLayoutSetLocale(subtype); if (locale.getLanguage().equals(SubtypeLocale.NO_LANGUAGE)) { // This is special language name for language agnostic usage. continue; @@ -121,7 +119,7 @@ public class SubtypeLocaleTests extends AndroidTestCase { final StringBuilder messages = new StringBuilder(); int failedCount = 0; for (final InputMethodSubtype subtype : mSubtypesList) { - final Locale locale = KeyboardLayoutSet.getKeyboardLayoutSetLocale(subtype); + final Locale locale = SubtypeLocale.getKeyboardLayoutSetLocale(subtype); if (locale.getCountry().equals(SubtypeLocale.QWERTY)) { // This is special country code for QWERTY keyboard. continue; |