/external/chromium_org/third_party/icu/source/test/intltest/ |
D | utxttest.cpp | 599 int64_t expectedIndex = 0; in TestAccessNoClone() local 606 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone() 608 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() 613 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() 624 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone() 626 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() 652 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone() 656 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() 686 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone() 689 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() [all …]
|
D | rbbitst.cpp | 220 int32_t expectedIndex = 0; in checkResults() local 226 if (expectedIndex >= fExpectedBreakPositions.size() && in checkResults() 232 if (expectedIndex >= fExpectedBreakPositions.size()) { in checkResults() 233 err(heading, test, expectedIndex-1, actualIndex); in checkResults() 239 err(heading, test, expectedIndex, actualIndex-1); in checkResults() 240 expectedIndex++; in checkResults() 244 …ctualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIndex)) { in checkResults() 245 err(heading, test, expectedIndex, actualIndex); in checkResults() 247 …ActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedIndex)) { in checkResults() 250 expectedIndex++; in checkResults() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | utxttest.cpp | 601 int64_t expectedIndex = 0; in TestAccessNoClone() local 608 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone() 610 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() 615 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() 626 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone() 628 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() 654 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone() 658 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() 688 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone() 691 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone() [all …]
|
D | rbbitst.cpp | 220 int32_t expectedIndex = 0; in checkResults() local 226 if (expectedIndex >= fExpectedBreakPositions.size() && in checkResults() 232 if (expectedIndex >= fExpectedBreakPositions.size()) { in checkResults() 233 err(heading, test, expectedIndex-1, actualIndex); in checkResults() 239 err(heading, test, expectedIndex, actualIndex-1); in checkResults() 240 expectedIndex++; in checkResults() 244 …ctualBreakPositions.elementAti(actualIndex) != fExpectedBreakPositions.elementAti(expectedIndex)) { in checkResults() 245 err(heading, test, expectedIndex, actualIndex); in checkResults() 247 …ActualBreakPositions.elementAti(actualIndex) < fExpectedBreakPositions.elementAti(expectedIndex)) { in checkResults() 250 expectedIndex++; in checkResults() [all …]
|
/external/smali/util/src/test/java/org/jf/util/ |
D | LinearSearchTest.java | 97 int expectedIndex = Ordering.natural().binarySearch(list, key); in doTest() local 99 …Assert.assertEquals(expectedIndex, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), ke… in doTest()
|
/external/chromium_org/extensions/test/data/ |
D | data_sender_unittest.js | 86 function createOrderChecker(promise, expectedIndex) { argument 88 test.assertEq(nextIndex, expectedIndex);
|
/external/icu/icu4c/source/test/cintltst/ |
D | utf16tst.c | 353 int32_t i0, i=0, j, k, expectedIndex; in TestNulTerminated() local 371 expectedIndex= (c==0) ? i-1 : i; in TestNulTerminated() 374 if(k!=expectedIndex) { in TestNulTerminated() 375 … log_err("U16_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
|
D | utf8tst.c | 416 int32_t i0, i=0, j, k, expectedIndex; in TestNulTerminated() local 444 expectedIndex= (c==0) ? i-1 : i; in TestNulTerminated() 447 if(k!=expectedIndex) { in TestNulTerminated() 448 … log_err("U8_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | utf16tst.c | 353 int32_t i0, i=0, j, k, expectedIndex; in TestNulTerminated() local 371 expectedIndex= (c==0) ? i-1 : i; in TestNulTerminated() 374 if(k!=expectedIndex) { in TestNulTerminated() 375 … log_err("U16_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
|
D | utf8tst.c | 416 int32_t i0, i=0, j, k, expectedIndex; in TestNulTerminated() local 444 expectedIndex= (c==0) ? i-1 : i; in TestNulTerminated() 447 if(k!=expectedIndex) { in TestNulTerminated() 448 … log_err("U8_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MultimapsTest.java | 751 final Multimap<Integer, String> expectedIndex = in testIndex_ordering() local 773 assertEquals(expectedIndex, index); in testIndex_ordering()
|