Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp603 int64_t expectedIndex = 0; in TestAccessNoClone() local
610 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
612 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
617 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
628 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
630 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
656 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
660 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
690 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
693 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
[all …]
Drbbitst.cpp225 int32_t expectedIndex = 0; in checkResults() local
231 if (expectedIndex >= fExpectedBreakPositions.size() && in checkResults()
237 if (expectedIndex >= fExpectedBreakPositions.size()) { in checkResults()
238 err(heading, test, expectedIndex-1, actualIndex); in checkResults()
244 err(heading, test, expectedIndex, actualIndex-1); in checkResults()
245 expectedIndex++; in checkResults()
249 …ctualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIndex)) { in checkResults()
250 err(heading, test, expectedIndex, actualIndex); in checkResults()
252 …ActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedIndex)) { in checkResults()
255 expectedIndex++; in checkResults()
[all …]
/external/smali/util/src/test/java/org/jf/util/
DLinearSearchTest.java97 int expectedIndex = Ordering.natural().binarySearch(list, key); in doTest() local
99 …Assert.assertEquals(expectedIndex, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), ke… in doTest()
/external/icu/icu4c/source/test/cintltst/
Dutf16tst.c351 int32_t i0, i=0, j, k, expectedIndex; in TestNulTerminated() local
369 expectedIndex= (c==0) ? i-1 : i; in TestNulTerminated()
372 if(k!=expectedIndex) { in TestNulTerminated()
373 … log_err("U16_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
Dutf8tst.c414 int32_t i0, i=0, j, k, expectedIndex; in TestNulTerminated() local
442 expectedIndex= (c==0) ? i-1 : i; in TestNulTerminated()
445 if(k!=expectedIndex) { in TestNulTerminated()
446 … log_err("U8_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
/external/v8/test/mjsunit/harmony/
Datomics.js127 var testOp = function(op, ia, index, expectedIndex, name) { argument
131 ia[expectedIndex] = 0;
134 assertEquals(0, ia[expectedIndex], name);
137 if (i == expectedIndex) continue;
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMultimapsTest.java647 final Multimap<Integer, String> expectedIndex = in testIndex_ordering() local
669 assertEquals(expectedIndex, index); in testIndex_ordering()
/external/guava/guava-tests/test/com/google/common/collect/
DMultimapsTest.java789 final Multimap<Integer, String> expectedIndex = in testIndex_ordering() local
811 assertEquals(expectedIndex, index); in testIndex_ordering()