Home
last modified time | relevance | path

Searched refs:expectedKey (Results 1 – 21 of 21) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java81 final int elementId, final ExpectedActionKey expectedKey) { in assertActionKey() argument
85 assertEquals(tag + " label " + expectedKey, expectedKey.getLabel(), actualKey.getLabel()); in assertActionKey()
86 assertEquals(tag + " icon " + expectedKey, expectedKey.getIconId(), actualKey.getIconId()); in assertActionKey()
90 final int actionId, final ExpectedActionKey expectedKey) { in doTestActionKey() argument
93 doTestActionKey(tag, subtype, editorInfo, expectedKey); in doTestActionKey()
97 final EditorInfo editorInfo, final ExpectedActionKey expectedKey) { in doTestActionKey() argument
101 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_ALPHABET, expectedKey); in doTestActionKey()
102 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_SYMBOLS, expectedKey); in doTestActionKey()
103 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_SYMBOLS_SHIFTED, expectedKey); in doTestActionKey()
105 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_PHONE, expectedKey); in doTestActionKey()
[all …]
DLxxActionCustomTests.java33 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey("customLabel"); in testActionCustom() local
34 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
DKlpActionCustomTests.java33 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey("customLabel"); in testActionCustom() local
34 doTestActionKey(tag, subtype, editorInfo, expectedKey); in testActionCustom()
DLxxActionUnspecifiedTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionUnspecified() local
34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey); in testActionUnspecified()
DKlpActionNoneTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNone() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey); in testActionNone()
DKlpActionSearchTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSearch() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey); in testActionSearch()
DLxxActionSearchTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSearch() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEARCH, expectedKey); in testActionSearch()
DLxxActionNoneTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNone() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NONE, expectedKey); in testActionNone()
DKlpActionUnspecifiedTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionUnspecified() local
34 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_UNSPECIFIED, expectedKey); in testActionUnspecified()
DLxxActionGoTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionGo() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey); in testActionGo()
DLxxActionNextTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionNext() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
DLxxActionSendTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionSend() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey); in testActionSend()
DLxxActionDoneTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionDone() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey); in testActionDone()
DLxxActionPreviousTests.java29 final ExpectedActionKey expectedKey = ExpectedActionKey.newIconKey( in testActionPrevious() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey); in testActionPrevious()
DKlpActionPreviousTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionPrevious() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_PREVIOUS, expectedKey); in testActionPrevious()
DKlpActionDoneTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionDone() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_DONE, expectedKey); in testActionDone()
DKlpActionNextTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionNext() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_NEXT, expectedKey); in testActionNext()
DKlpActionGoTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionGo() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_GO, expectedKey); in testActionGo()
DKlpActionSendTests.java31 final ExpectedActionKey expectedKey = ExpectedActionKey.newLabelKey( in testActionSend() local
33 doTestActionKey(tag, subtype, EditorInfo.IME_ACTION_SEND, expectedKey); in testActionSend()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DLayoutTestsBase.java165 final ExpectedKey expectedKey = expectedKeyboard[r][c]; in doKeyboardTests() local
168 + "\nexpected=" + expectedKey in doKeyboardTests()
170 expectedKey.equalsTo(actualKey)); in doKeyboardTests()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java637 for (String expectedKey : expectedExtras.keySet()) { in addCallTestHelper()
638 assertTrue(intentExtras.containsKey(expectedKey)); in addCallTestHelper()
639 assertEquals(expectedExtras.get(expectedKey), intentExtras.get(expectedKey)); in addCallTestHelper()