• Home
  • Raw
  • Download

Lines Matching refs:testCase

138     const UXMLElement *testCase;  in searchTest()  local
141 while((testCase = root->nextChildElement(tc)) != NULL) { in searchTest()
143 if (testCase->getTagName().compare("test-case") != 0) { in searchTest()
147 const UnicodeString *id = testCase->getAttribute("id"); in searchTest()
161 const UnicodeString *strength = testCase->getAttribute("strength"); in searchTest()
182 const UnicodeString *norm = testCase->getAttribute("norm"); in searchTest()
192 const UnicodeString *alt = testCase->getAttribute("alternate_handling"); in searchTest()
200 const UnicodeString *locale = testCase->getAttribute("locale"); in searchTest()
215 n = testCase->getChildElement("pattern"); in searchTest()
225 n = testCase->getChildElement("pre"); in searchTest()
233 n = testCase->getChildElement("m"); in searchTest()
243 n = testCase->getChildElement("post"); in searchTest()
252 TEST_ASSERT(nodeCount == testCase->countChildren()); in searchTest()
1045 void append(UnicodeString &testCase, UnicodeString &alternate);
1048 UnicodeString &generateAlternative(const UnicodeString &testCase, UnicodeString &alternate);
1066 void StringSetMonkey::append(UnicodeString &testCase, UnicodeString &alternate) in append() argument
1081 testCase.append(str); in append()
1087 testCase.append(str); in append()
1094 UnicodeString &StringSetMonkey::generateAlternative(const UnicodeString &testCase, UnicodeString &a… in generateAlternative() argument
1099 CEList ceList(coll, testCase, status); in generateAlternative()
1104 return alternate.append(testCase); in generateAlternative()
1112 return alternate.append(testCase); in generateAlternative()
1127 alternate.append(testCase); in generateAlternative()
1151 return alternate.append(testCase); in generateAlternative()
1154 …UCollator *coll, Monkey *monkeys[], int32_t monkeyCount, UnicodeString &testCase, UnicodeString &a… in generateTestCase() argument
1161 testCase.remove(); in generateTestCase()
1163 monkeys[0]->append(testCase, alternate); in generateTestCase()
1168 monkeys[monkey]->append(testCase, alternate); in generateTestCase()
1171 const CEList ceTest(coll, testCase, status); in generateTestCase()
1305 int32_t SSearchTest::monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeSt… in monkeyTestCase() argument
1314 testCase.getBuffer(), testCase.length(), in monkeyTestCase()
1320 simpleSearch(coll, testCase, 0, pattern, expectedStart, expectedEnd); in monkeyTestCase()
1335 simpleSearch(coll, testCase, 0, altPattern, expectedStart, expectedEnd); in monkeyTestCase()
1380 UnicodeString testCase; in monkeyTest() local
1461 testCase.remove(); in monkeyTest()
1462 testCase.append(prefix); in monkeyTest()
1463 testCase.append(/*alt*/pattern); in monkeyTest()
1466 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern", strengthN… in monkeyTest()
1468 testCase.append(suffix); in monkeyTest()
1471 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern + suffix", … in monkeyTest()
1473 testCase.remove(); in monkeyTest()
1474 testCase.append(pattern); in monkeyTest()
1475 testCase.append(suffix); in monkeyTest()
1478 …notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "pattern + suffix", strengthN… in monkeyTest()