aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-03-11 09:42:50 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-03-11 09:42:51 +0000
commite6b992d9be4d4844279745c032c40bf414b3ae8c (patch)
treef74325a136eb1c9d065496dc1a9bf79f54326e4d /tests/src
parent34ab0384148205a21a9e7c8c775e097fa8a25662 (diff)
parent8c1965ba048f64ca58e24a87144f19f34d3ca3ae (diff)
downloadlatinime-e6b992d9be4d4844279745c032c40bf414b3ae8c.tar.gz
latinime-e6b992d9be4d4844279745c032c40bf414b3ae8c.tar.xz
latinime-e6b992d9be4d4844279745c032c40bf414b3ae8c.zip
Merge "Add keyboard layout name constant"
Diffstat (limited to 'tests/src')
-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