Home | History | Annotate | Download | only in intltest

Lines Matching refs:UnicodeString

40                               logln((UnicodeString)""); \
44 logln((UnicodeString)#test " took " + t/U_MILLIS_PER_DAY + " seconds"); \
53 logln((UnicodeString)""); \
117 virtual UBool is(const UnicodeString& /*sourceString*/) const {return TRUE;}
127 virtual UBool is(const UnicodeString& sourceString) const;
131 UBool LegalJamo::is(const UnicodeString& sourceString) const {
133 UnicodeString decomp;
171 virtual UBool is(const UnicodeString& sourceString) const;
178 UBool LegalGreek::is(const UnicodeString& sourceString) const {
179 UnicodeString decomp;
187 // if (sourceString == UnicodeString("\\u039C\\u03C0", "")) {
331 UnicodeString transliteratorID;
349 RTTest(const UnicodeString& transliteratorIDStr);
357 void test(const UnicodeString& sourceRange,
358 const UnicodeString& targetRange,
369 static UBool isSame(const UnicodeString& a, const UnicodeString& b);
371 static UBool isCamel(const UnicodeString& a);
373 UBool checkIrrelevants(Transliterator *t, const UnicodeString& irrelevants);
377 void logWrongScript(const UnicodeString& label,
378 const UnicodeString& from,
379 const UnicodeString& to);
381 void logNotCanonical(const UnicodeString& label,
382 const UnicodeString& from,
383 const UnicodeString& to,
384 const UnicodeString& fromCan,
385 const UnicodeString& toCan);
387 void logFails(const UnicodeString& label);
389 void logToRulesFails(const UnicodeString& label,
390 const UnicodeString& from,
391 const UnicodeString& to,
392 const UnicodeString& toCan);
394 void logRoundTripFailure(const UnicodeString& from,
395 const UnicodeString& toID,
396 const UnicodeString& to,
397 const UnicodeString& backID,
398 const UnicodeString& back);
408 RTTest::RTTest(const UnicodeString& transliteratorIDStr) {
426 UBool RTTest::isSame(const UnicodeString& a, const UnicodeString& b) {
429 UnicodeString aa, bb;
438 UBool RTTest::isCamel(const UnicodeString& a) {
460 void RTTest::test(const UnicodeString& sourceRangeVal,
461 const UnicodeString& targetRangeVal,
519 this->roundtripExclusionsSet.applyPattern(UnicodeString
549 const UnicodeString& irrelevants) {
552 UnicodeString srcStr(c);
553 UnicodeString targ = srcStr;
562 UnicodeString srcStr, targ, reverse;
590 UnicodeString irrelevants = CharsToUnicodeString("\\u2000\\u2001\\u2126\\u212A\\u212B\\u2329");
601 UnicodeString rules = "";
605 // parent->logln((UnicodeString)"toRules => " + rules);
630 UnicodeString srcStr((UChar32)c);
631 UnicodeString targ = srcStr;
633 UnicodeString targ2 = srcStr;
645 UnicodeString srcStr((UChar32)c);
646 UnicodeString targ = srcStr;
648 UnicodeString targ2 = srcStr;
664 UnicodeString srcStr((UChar32)c);
665 UnicodeString targ = srcStr;
669 UnicodeString targD;
683 UnicodeString cs2;
689 UnicodeString targ2 = cs2;
711 UnicodeString srcStr;
714 UnicodeString targ = srcStr;
719 UnicodeString targD;
731 UnicodeString cs2;
737 UnicodeString targ2 = cs2;
757 srcStr = (UnicodeString)usi.getCodepoint();
769 UnicodeString targD;
794 UnicodeString targ2;
800 UnicodeString reverse2 = targ2;
815 UnicodeString targ2;
816 UnicodeString reverse2;
817 UnicodeString targD;
824 parent->logln((UnicodeString)"Test truncated at " + pairLimit + " x 64k pairs");
884 void RTTest::logWrongScript(const UnicodeString& label,
885 const UnicodeString& from,
886 const UnicodeString& to) {
887 parent->errln((UnicodeString)"FAIL " +
894 void RTTest::logNotCanonical(const UnicodeString& label,
895 const UnicodeString& from,
896 const UnicodeString& to,
897 const UnicodeString& fromCan,
898 const UnicodeString& toCan) {
899 parent->errln((UnicodeString)"FAIL (can.equiv)" +
910 void RTTest::logFails(const UnicodeString& label) {
911 parent->errln((UnicodeString)"<br>FAIL " + label);
915 void RTTest::logToRulesFails(const UnicodeString& label,
916 const UnicodeString& from,
917 const UnicodeString& to,
918 const UnicodeString& otherTo)
920 parent->errln((UnicodeString)"FAIL: " +
932 void RTTest::logRoundTripFailure(const UnicodeString& from,
933 const UnicodeString& toID,
934 const UnicodeString& to,
935 const UnicodeString& backID,
936 const UnicodeString& back) {
939 parent->errln((UnicodeString)"FAIL Roundtrip: " +
981 test.test(KATAKANA, UnicodeString("[") + HIRAGANA + LENGTH + UnicodeString("]"),
990 test.test(UnicodeString("[a-zA-Z]", ""),
991 UnicodeString(HIRAGANA, -1, US_INV),
1004 test.test(UnicodeString("[a-zA-Z]", ""),
1005 UnicodeString(KATAKANA, -1, US_INV),
1014 t.test(UnicodeString("[a-zA-Z]", ""),
1015 UnicodeString("[\\u1100-\\u1112 \\u1161-\\u1175 \\u11A8-\\u11C2]",
1025 t.test(UnicodeString("[a-zA-Z]", ""),
1026 UnicodeString("[\\uAC00-\\uD7A4]", ""),
1038 static void writeStringInU8(FILE *out, const UnicodeString &s) {
1059 UnicodeString source;
1074 UnicodeString target=source;
1087 UnicodeString target2 = target;
1094 UnicodeString nfded = target2;
1103 UnicodeString target3 = target2;
1145 test.test(UnicodeString("[a-zA-Z]", ""),
1146 UnicodeString("[\\u003B\\u00B7[[:Greek:]&[:Letter:]]-["
1153 //UnicodeString("[[\\u003B\\u00B7[:Greek:]-[\\u0374\\u0385\\u1fcd\\u1fce\\u1fdd\\u1fde\\u1fed-\\u1fef\\u1ffd\\u03D7-\\u03EF]]&[:Age=3.2:]]",
1180 test.test(UnicodeString("[a-zA-Z]", ""),
1181 UnicodeString("[\\u003B\\u00B7[[:Greek:]&[:Letter:]]-["
1187 //UnicodeString("[[\\u003B\\u00B7[:Greek:]-[\\u0374\\u0385\\u1fce\\u1fde\\u03D7-\\u03EF]]&[:Age=3.2:]]",
1212 test.test(UnicodeString("[a-zA-Z]", ""),
1213 UnicodeString("[\\u003B\\u00B7[[:Greek:]&[:Letter:]]-["
1219 //UnicodeString("[[\\u003B\\u00B7[:Greek:]-[\\u0374\\u0385\\u1fce\\u1fde\\u03D7-\\u03EF]]&[:Age=3.2:]]",
1230 UnicodeString ARABIC("[\\u060C\\u061B\\u061F\\u0621\\u0627-\\u063A\\u0641-\\u0655\\u0660-\\u066C\\u067E\\u0686\\u0698\\u06A4\\u06AD\\u06AF\\u06CB-\\u06CC\\u06F0-\\u06F9]", -1, US_INV);
1244 virtual UBool is(const UnicodeString& sourceString) const;
1252 UBool LegalHebrew::is(const UnicodeString& sourceString)const{
1295 test.test(UnicodeString("[a-zA-Z\\u0110\\u0111\\u02BA\\u02B9]", ""),
1296 UnicodeString("[[\\u0400-\\u045F] & [:Age=3.2:]]", ""), NULL, this, quick,
1314 virtual UBool is(const UnicodeString& sourceString) const;
1317 UBool LegalIndic::is(const UnicodeString& sourceString) const{
1403 test.test(UnicodeString(latinForIndic, ""),
1404 UnicodeString("[[[:Devanagari:][\\u094d][\\u0964\\u0965]]&[:Age=4.1:]]", ""), "[\\u0965\\u0904]", this, quick,
1660 test.test(UnicodeString(fromSet,""),UnicodeString(toSet,""),exclusions,this,quick,legal);
1683 logln(UnicodeString("Stress testing ") + interIndicArray[i*INTER_INDIC_ARRAY_WIDTH + 0]);
1693 UnicodeString source("[");
1696 UnicodeString target("[");