HomeSort by relevance Sort by last modified time
    Searched refs:expectedIndex (Results 1 - 5 of 5) sorted by null

  /packages/apps/Contacts/tests/src/com/android/contacts/format/
FormatUtilsTests.java 109 * @param expectedIndex the expected value to be returned by the function
111 private void checkIndexOfWordPrefix(String text, String wordPrefix, int expectedIndex) {
112 assertEquals(expectedIndex, FormatUtils.indexOfWordPrefix(text, wordPrefix.toCharArray()));
  /external/icu4c/test/intltest/
utxttest.cpp 601 int64_t expectedIndex = 0;
608 expectedIndex = cpMap[i].nativeIdx;
610 TEST_ASSERT(expectedIndex == foundIndex);
615 TEST_ASSERT(expectedIndex == foundIndex);
626 expectedIndex = cpMap[i].nativeIdx;
628 TEST_ASSERT(expectedIndex == foundIndex);
654 expectedIndex = cpMap[i].nativeIdx;
658 TEST_ASSERT(expectedIndex == foundIndex);
688 expectedIndex = cpMap[i].nativeIdx;
691 TEST_ASSERT(expectedIndex == foundIndex)
    [all...]
rbbitst.cpp 216 int32_t expectedIndex = 0;
222 if (expectedIndex >= fExpectedBreakPositions.size() &&
228 if (expectedIndex >= fExpectedBreakPositions.size()) {
229 err(heading, test, expectedIndex-1, actualIndex);
235 err(heading, test, expectedIndex, actualIndex-1);
236 expectedIndex++;
240 if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIndex)) {
241 err(heading, test, expectedIndex, actualIndex);
243 if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedIndex)) {
246 expectedIndex++
    [all...]
  /external/webkit/Source/JavaScriptCore/qt/tests/qscriptstring/
tst_qscriptstring.cpp 133 QTest::addColumn<quint32>("expectedIndex");
160 QFETCH(quint32, expectedIndex);
168 QCOMPARE(result, expectedIndex);
  /external/guava/guava-tests/test/com/google/common/collect/
MultimapsTest.java 751 final Multimap<Integer, String> expectedIndex =
773 assertEquals(expectedIndex, index);
    [all...]

Completed in 358 milliseconds