Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Darray_unittest.cc95 int expectedIndex = 0; in TEST() local
98 EXPECT_EQ(expectedIndex, i); in TEST()
100 expectedIndex++; in TEST()
103 EXPECT_EQ(expectedIndex, 100); in TEST()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp602 int64_t expectedIndex = 0; in TestAccessNoClone() local
609 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
611 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
616 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
627 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
629 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
655 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
659 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
689 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
692 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
[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/cldr/tools/java/org/unicode/cldr/util/
DStringRangeTest.java107 int expectedIndex = 3; in TestSimple() local
111 String expectedCompact = test[expectedIndex++]; in TestSimple()
/external/icu/icu4c/source/test/cintltst/
Dutf16tst.c420 int32_t i0, i=0, j, k, expectedIndex; in TestNulTerminated() local
448 expectedIndex= (c==0) ? i-1 : i; in TestNulTerminated()
451 if(k!=expectedIndex) { in TestNulTerminated()
452 … log_err("U16_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
Dutf8tst.c485 int32_t i0, i=0, j, k, expectedIndex; in TestNulTerminated() local
513 expectedIndex= (c==0) ? i-1 : i; in TestNulTerminated()
516 if(k!=expectedIndex) { in TestNulTerminated()
517 … log_err("U8_FWD_N(code points from 0) moved to index %d but expected %d\n", k, expectedIndex); in TestNulTerminated()
/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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java488 int expectedIndex = (Integer) cas[1]; in TestSpaceParsingStrict() local
492 assertEquals("Failed on index: '" + input + "'", expectedIndex, ppos.getIndex()); in TestSpaceParsingStrict()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java485 int expectedIndex = (Integer) cas[1]; in TestSpaceParsingStrict() local
489 assertEquals("Failed on index: '" + input + "'", expectedIndex, ppos.getIndex()); in TestSpaceParsingStrict()