Home
last modified time | relevance | path

Searched refs:expectedIndex (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dint_array_view_test.cpp39 size_t expectedIndex = 0; in TEST() local
41 EXPECT_EQ(intVector[expectedIndex], element); in TEST()
42 ++expectedIndex; in TEST()
44 EXPECT_EQ(expectedIndex, intArrayView.size()); in TEST()
/packages/apps/Contacts/tests/src/com/android/contacts/format/
DFormatUtilsTests.java111 private void checkIndexOfWordPrefix(String text, String wordPrefix, int expectedIndex) { in checkIndexOfWordPrefix() argument
112 assertEquals(expectedIndex, FormatUtils.indexOfWordPrefix(text, wordPrefix)); in checkIndexOfWordPrefix()