Lines Matching refs:testString
258 UnicodeString testString("boo."); in TestEndBehaviour() local
265 wb->setText(testString); in TestEndBehaviour()
718 UnicodeString testString(FALSE, testFile, len); in TestExtended() local
743 UChar c = testString.charAt(charIdx); in TestExtended()
745 if (c == u'\r' && charIdx<len && testString.charAt(charIdx) == u'\n') { in TestExtended()
773 if (testString.compare(charIdx-1, 6, u"<word>") == 0) { in TestExtended()
780 if (testString.compare(charIdx-1, 6, u"<char>") == 0) { in TestExtended()
787 if (testString.compare(charIdx-1, 6, u"<line>") == 0) { in TestExtended()
794 if (testString.compare(charIdx-1, 6, u"<sent>") == 0) { in TestExtended()
801 if (testString.compare(charIdx-1, 7, u"<title>") == 0) { in TestExtended()
808 if (testString.compare(charIdx-1, 7, u"<rules>") == 0 || in TestExtended()
809 testString.compare(charIdx-1, 10, u"<badrules>") == 0) { in TestExtended()
810 charIdx = testString.indexOf(u'>', charIdx) + 1; in TestExtended()
818 localeMatcher.reset(testString); in TestExtended()
828 if (testString.compare(charIdx-1, 6, u"<data>") == 0) { in TestExtended()
846 if (testString.compare(charIdx-1, 8, u"</rules>") == 0) { in TestExtended()
857 } else if (testString.compare(charIdx-1, 11, u"</badrules>") == 0) { in TestExtended()
884 if (testString.compare(charIdx-1, 7, u"</data>") == 0) { in TestExtended()
910 if (testString.compare(charIdx-1, 3, u"\\N{") == 0) { in TestExtended()
915 int32_t nameEndIdx = testString.indexOf(u'}', charIdx); in TestExtended()
921 testString.extract(charIdx+2, nameLength, charNameBuf, sizeof(charNameBuf)); in TestExtended()
949 if (testString.compare(charIdx-1, 2, u"<>") == 0) { in TestExtended()
976 UChar32 cp = testString.char32At(charIdx); in TestExtended()
977 if (cp == u'\r' && charIdx<len && testString.charAt(charIdx+1) == u'\n') { in TestExtended()
990 cp = testString.unescapeAt(charIdx); in TestExtended()
1006 c = testString.charAt(charIdx); in TestExtended()
1007 charIdx = testString.moveIndex32(charIdx, 1); in TestExtended()
1370 UnicodeString testString; in runUnicodeTestData() local
1394 if (testString.length()>0) { in runUnicodeTestData()
1395 breakPositions.addElement(testString.length(), status); in runUnicodeTestData()
1411 testString.append(c); in runUnicodeTestData()
1424 if (testString.length() > 0 && !testCaseIsKnownIssue(testString, fileName)) { in runUnicodeTestData()
1425 checkUnicodeTestCase(fileName, lineNumber, testString, &breakPositions, bi); in runUnicodeTestData()
1431 testString.remove(); in runUnicodeTestData()
1443 testString.remove(); in runUnicodeTestData()
1466 const UnicodeString &testString, // Text data to be broken in checkUnicodeTestCase() argument
1473 bi->setText(testString); in checkUnicodeTestCase()
4310 UnicodeString testString; // accumulates the emoji sequence. in TestEmoji() local
4321 testString.append(c); in TestEmoji()
4329 if (testString.length() > 1) { in TestEmoji()
4330 charBreaks->setText(testString); in TestEmoji()
4333 if (testString.length() != firstBreak) { in TestEmoji()
4337 wordBreaks->setText(testString); in TestEmoji()
4340 if (testString.length() != firstBreak) { in TestEmoji()
4344 lineBreaks->setText(testString); in TestEmoji()
4347 if (testString.length() != firstBreak) { in TestEmoji()
4544 UnicodeString testString; in TestReverse() local
4550 testString.append(cp); in TestReverse()
4556 bi->setText(testString); in TestReverse()
4557 for (int i=0; i<testString.length(); ++i) { in TestReverse()
4563 for (int i=testString.length()-1; i>=0; --i) { in TestReverse()
4564 bi->setText(testString); // clears the internal break cache in TestReverse()