Lines Matching defs:altPattern
1305 int32_t SSearchTest::monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
1310 //int32_t expectedStart = prefix.length(), expectedEnd = prefix.length() + altPattern.length();
1335 simpleSearch(coll, testCase, 0, altPattern, expectedStart, expectedEnd);
1337 usearch_setPattern(uss.getAlias(), altPattern.getBuffer(), altPattern.length(), &status);
1382 UnicodeString pattern, altPattern;
1454 generateTestCase(coll, monkeys, monkeyCount, pattern, altPattern);
1459 notFoundCount += monkeyTestCase(coll, pattern, pattern, altPattern, "pattern", strengthNames[s], seed);
1466 notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern", strengthNames[s], seed);
1471 notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "prefix + pattern + suffix", strengthNames[s], seed);
1478 notFoundCount += monkeyTestCase(coll, testCase, pattern, altPattern, "pattern + suffix", strengthNames[s], seed);