aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2011-12-13 23:31:00 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-12-13 23:31:00 -0800
commit689b90115633146bcdea81bf89cdfe2f9a88c0a7 (patch)
tree5d337d5c8dd0b791ce8084f2a98db86a1b926b4e /tests/src
parentdbdb385bb06ccd235b3b6445ceabf07ca893454b (diff)
parentf86109ca563df283b336c62853533c54134dfc56 (diff)
downloadlatinime-689b90115633146bcdea81bf89cdfe2f9a88c0a7.tar.gz
latinime-689b90115633146bcdea81bf89cdfe2f9a88c0a7.tar.xz
latinime-689b90115633146bcdea81bf89cdfe2f9a88c0a7.zip
Merge "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) {