Searched refs:expectedIndex (Results 1 - 8 of 8) sorted by relevance

/external/icu4c/test/intltest/
H A Dutxttest.cpp599 int64_t expectedIndex = 0; local
606 expectedIndex = cpMap[i].nativeIdx;
608 TEST_ASSERT(expectedIndex == foundIndex);
613 TEST_ASSERT(expectedIndex == foundIndex);
624 expectedIndex = cpMap[i].nativeIdx;
626 TEST_ASSERT(expectedIndex == foundIndex);
652 expectedIndex = cpMap[i].nativeIdx;
656 TEST_ASSERT(expectedIndex == foundIndex);
686 expectedIndex = cpMap[i].nativeIdx;
689 TEST_ASSERT(expectedIndex
[all...]
H A Drbbitst.cpp220 int32_t expectedIndex = 0; local
226 if (expectedIndex >= fExpectedBreakPositions.size() &&
232 if (expectedIndex >= fExpectedBreakPositions.size()) {
233 err(heading, test, expectedIndex-1, actualIndex);
239 err(heading, test, expectedIndex, actualIndex-1);
240 expectedIndex++;
244 if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIndex)) {
245 err(heading, test, expectedIndex, actualIndex);
247 if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedIndex)) {
250 expectedIndex
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dutxttest.cpp601 int64_t expectedIndex = 0; local
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
[all...]
H A Drbbitst.cpp222 int32_t expectedIndex = 0; local
228 if (expectedIndex >= fExpectedBreakPositions.size() &&
234 if (expectedIndex >= fExpectedBreakPositions.size()) {
235 err(heading, test, expectedIndex-1, actualIndex);
241 err(heading, test, expectedIndex, actualIndex-1);
242 expectedIndex++;
246 if (fActualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIndex)) {
247 err(heading, test, expectedIndex, actualIndex);
249 if (fActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedIndex)) {
252 expectedIndex
[all...]
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/
H A Dbase.js34 var expectedIndex = string.length - suffix.length;
35 return string.lastIndexOf(suffix) == expectedIndex;
/external/icu4c/test/cintltst/
H A Dutf16tst.c353 int32_t i0, i=0, j, k, expectedIndex; local
371 expectedIndex= (c==0) ? i-1 : i;
374 if(k!=expectedIndex) {
375 log_err("U16_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex);
H A Dutf8tst.c416 int32_t i0, i=0, j, k, expectedIndex; local
444 expectedIndex= (c==0) ? i-1 : i;
447 if(k!=expectedIndex) {
448 log_err("U8_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex);
/external/guava/guava-tests/test/com/google/common/collect/
H A DMultimapsTest.java751 final Multimap<Integer, String> expectedIndex =
773 assertEquals(expectedIndex, index);

Completed in 731 milliseconds