Home
last modified time | relevance | path

Searched refs:expectedIndex (Results 1 – 11 of 11) 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.cpp606 int64_t expectedIndex = 0; in TestAccessNoClone() local
613 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
615 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
620 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
631 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
633 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
659 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
663 TEST_ASSERT(expectedIndex == foundIndex); in TestAccessNoClone()
693 expectedIndex = cpMap[i].nativeIdx; in TestAccessNoClone()
696 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/angle/src/tests/gl_tests/
DBlendFuncExtendedTest.cpp236 virtual void checkOutputIndexQuery(const char *name, GLint expectedIndex) in checkOutputIndexQuery() argument
239 EXPECT_EQ(expectedIndex, index); in checkOutputIndexQuery()
243 EXPECT_EQ(expectedIndex, index); in checkOutputIndexQuery()
289 void checkOutputIndexQuery(const char *name, GLint expectedIndex) override in checkOutputIndexQuery() argument
292 EXPECT_EQ(expectedIndex, index); in checkOutputIndexQuery()
294 EXPECT_EQ(expectedIndex, index); in checkOutputIndexQuery()
/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/android/guava-tests/test/com/google/common/collect/
DMultimapsTest.java774 final Multimap<Integer, String> expectedIndex = in testIndex_ordering() local
794 assertEquals(expectedIndex, index); in testIndex_ordering()
/external/guava/guava-tests/test/com/google/common/collect/
DMultimapsTest.java831 final Multimap<Integer, String> expectedIndex = in testIndex_ordering() local
851 assertEquals(expectedIndex, index); in testIndex_ordering()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java506 int expectedIndex = (Integer) cas[1]; in TestSpaceParsingStrict() local
510 assertEquals("Failed on index: '" + input + "'", expectedIndex, ppos.getIndex()); in TestSpaceParsingStrict()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java509 int expectedIndex = (Integer) cas[1]; in TestSpaceParsingStrict() local
513 assertEquals("Failed on index: '" + input + "'", expectedIndex, ppos.getIndex()); in TestSpaceParsingStrict()