aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-12-15 10:08:22 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-12-15 10:08:22 -0800
commitb0980f0d9029671e300a4bcfee50a0694b519368 (patch)
tree5d337d5c8dd0b791ce8084f2a98db86a1b926b4e /tests/src
parentd86696a110130b0f5d8f3007da02ae68b91f76f7 (diff)
parent689b90115633146bcdea81bf89cdfe2f9a88c0a7 (diff)
downloadlatinime-b0980f0d9029671e300a4bcfee50a0694b519368.tar.gz
latinime-b0980f0d9029671e300a4bcfee50a0694b519368.tar.xz
latinime-b0980f0d9029671e300a4bcfee50a0694b519368.zip
am 689b9011: Merge "Utilize KeyboardSet XML definitions"
* commit '689b90115633146bcdea81bf89cdfe2f9a88c0a7': Utilize KeyboardSet XML definitions
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/inputmethod/latin/SuggestTestsBase.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
index 058a3e7c0..7029dde6b 100644
--- a/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
+++ b/tests/src/com/android/inputmethod/latin/SuggestTestsBase.java
@@ -50,10 +50,9 @@ public class SuggestTestsBase extends AndroidTestCase {
+ "orientation=" + orientation);
return null;
}
- return new KeyboardId(locale.toString() + " keyboard",
- com.android.inputmethod.latin.R.xml.kbd_qwerty, locale, orientation, width,
- KeyboardId.MODE_TEXT, new EditorInfo(), false, KeyboardId.F2KEY_MODE_NONE,
- false, false, false);
+ return new KeyboardId(com.android.inputmethod.latin.R.xml.kbd_qwerty,
+ KeyboardId.ELEMENT_ALPHABET, locale, orientation, width, KeyboardId.MODE_TEXT,
+ new EditorInfo(), false, KeyboardId.F2KEY_MODE_NONE, false, false, false);
}
protected InputStream openTestRawResource(int resIdInTest) {