aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-03-11 02:46:22 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-11 02:46:22 -0700
commit7af3e8421f29061706683eab0dece193d51330a0 (patch)
treef74325a136eb1c9d065496dc1a9bf79f54326e4d
parent022d0414a920b3fceaff375860520f3af7aaae29 (diff)
parente6b992d9be4d4844279745c032c40bf414b3ae8c (diff)
downloadlatinime-7af3e8421f29061706683eab0dece193d51330a0.tar.gz
latinime-7af3e8421f29061706683eab0dece193d51330a0.tar.xz
latinime-7af3e8421f29061706683eab0dece193d51330a0.zip
am e6b992d9: Merge "Add keyboard layout name constant"
* commit 'e6b992d9be4d4844279745c032c40bf414b3ae8c': Add keyboard layout name constant
-rw-r--r--tests/src/com/android/inputmethod/keyboard/layout/Qwerty.java2
-rw-r--r--tests/src/com/android/inputmethod/keyboard/layout/tests/TestsEnglishUS.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/keyboard/layout/Qwerty.java b/tests/src/com/android/inputmethod/keyboard/layout/Qwerty.java
index e07237512..325b78450 100644
--- a/tests/src/com/android/inputmethod/keyboard/layout/Qwerty.java
+++ b/tests/src/com/android/inputmethod/keyboard/layout/Qwerty.java
@@ -24,6 +24,8 @@ import com.android.inputmethod.keyboard.layout.expected.LayoutBase;
* The QWERTY alphabet keyboard.
*/
public final class Qwerty extends LayoutBase {
+ public static final String LAYOUT_NAME = "qwerty";
+
public static ExpectedKey[][] getLayout(final boolean isPhone) {
return getDefaultAlphabetLayout(ALPHABET_COMMON, isPhone);
}
diff --git a/tests/src/com/android/inputmethod/keyboard/layout/tests/TestsEnglishUS.java b/tests/src/com/android/inputmethod/keyboard/layout/tests/TestsEnglishUS.java
index e160ae84f..fd1a60619 100644
--- a/tests/src/com/android/inputmethod/keyboard/layout/tests/TestsEnglishUS.java
+++ b/tests/src/com/android/inputmethod/keyboard/layout/tests/TestsEnglishUS.java
@@ -36,7 +36,7 @@ public final class TestsEnglishUS extends LayoutTestsBase {
@Override
String getTestKeyboardLayout() {
- return "qwerty";
+ return Qwerty.LAYOUT_NAME;
}
@Override