Home | History | Annotate | Download | only in intltest

Lines Matching refs:UnicodeString

41                               logln((UnicodeString)""); \
45 logln((UnicodeString)#test " took " + t/U_MILLIS_PER_DAY + " seconds"); \
54 logln((UnicodeString)""); \
118 virtual UBool is(const UnicodeString& /*sourceString*/) const {return TRUE;}
128 virtual UBool is(const UnicodeString& sourceString) const;
132 UBool LegalJamo::is(const UnicodeString& sourceString) const {
134 UnicodeString decomp;
172 virtual UBool is(const UnicodeString& sourceString) const;
179 UBool LegalGreek::is(const UnicodeString& sourceString) const {
180 UnicodeString decomp;
188 // if (sourceString == UnicodeString("\\u039C\\u03C0", "")) {
332 UnicodeString transliteratorID;
350 RTTest(const UnicodeString& transliteratorIDStr);
358 void test(const UnicodeString& sourceRange,
359 const UnicodeString& targetRange,
370 static UBool isSame(const UnicodeString& a, const UnicodeString& b);
372 static UBool isCamel(const UnicodeString& a);
374 UBool checkIrrelevants(Transliterator *t, const UnicodeString& irrelevants);
378 void logWrongScript(const UnicodeString& label,
379 const UnicodeString& from,
380 const UnicodeString& to);
382 void logNotCanonical(const UnicodeString& label,
383 const UnicodeString& from,
384 const UnicodeString& to,
385 const UnicodeString& fromCan,
386 const UnicodeString& toCan);
388 void logFails(const UnicodeString& label);
390 void logToRulesFails(const UnicodeString& label,
391 const UnicodeString& from,
392 const UnicodeString& to,
393 const UnicodeString& toCan);
395 void logRoundTripFailure(const UnicodeString& from,
396 const UnicodeString& toID,
397 const UnicodeString& to,
398 const UnicodeString& backID,
399 const UnicodeString& back);
409 RTTest::RTTest(const UnicodeString& transliteratorIDStr) {
427 UBool RTTest::isSame(const UnicodeString& a, const UnicodeString& b) {
430 UnicodeString aa, bb;
439 UBool RTTest::isCamel(const UnicodeString& a) {
461 void RTTest::test(const UnicodeString& sourceRangeVal,
462 const UnicodeString& targetRangeVal,
520 UnicodeString(roundtripExclusions, -1, US_INV), status);
550 const UnicodeString& irrelevants) {
553 UnicodeString srcStr(c);
554 UnicodeString targ = srcStr;
563 UnicodeString srcStr, targ, reverse;
591 UnicodeString irrelevants = CharsToUnicodeString("\\u2000\\u2001\\u2126\\u212A\\u212B\\u2329");
602 UnicodeString rules = "";
606 // parent->logln((UnicodeString)"toRules => " + rules);
631 UnicodeString srcStr((UChar32)c);
632 UnicodeString targ = srcStr;
634 UnicodeString targ2 = srcStr;
646 UnicodeString srcStr((UChar32)c);
647 UnicodeString targ = srcStr;
649 UnicodeString targ2 = srcStr;
665 UnicodeString srcStr((UChar32)c);
666 UnicodeString targ = srcStr;
670 UnicodeString targD;
684 UnicodeString cs2;
690 UnicodeString targ2 = cs2;
712 UnicodeString srcStr;
715 UnicodeString targ = srcStr;
720 UnicodeString targD;
732 UnicodeString cs2;
738 UnicodeString targ2 = cs2;
758 srcStr = (UnicodeString)usi.getCodepoint();
770 UnicodeString targD;
795 UnicodeString targ2;
801 UnicodeString reverse2 = targ2;
816 UnicodeString targ2;
817 UnicodeString reverse2;
818 UnicodeString targD;
825 parent->logln((UnicodeString)"Test truncated at " + pairLimit + " x 64k pairs");
885 void RTTest::logWrongScript(const UnicodeString& label,
886 const UnicodeString& from,
887 const UnicodeString& to) {
888 parent->errln((UnicodeString)"FAIL " +
895 void RTTest::logNotCanonical(const UnicodeString& label,
896 const UnicodeString& from,
897 const UnicodeString& to,
898 const UnicodeString& fromCan,
899 const UnicodeString& toCan) {
900 parent->errln((UnicodeString)"FAIL (can.equiv)" +
911 void RTTest::logFails(const UnicodeString& label) {
912 parent->errln((UnicodeString)"<br>FAIL " + label);
916 void RTTest::logToRulesFails(const UnicodeString& label,
917 const UnicodeString& from,
918 const UnicodeString& to,
919 const UnicodeString& otherTo)
921 parent->errln((UnicodeString)"FAIL: " +
933 void RTTest::logRoundTripFailure(const UnicodeString& from,
934 const UnicodeString& toID,
935 const UnicodeString& to,
936 const UnicodeString& backID,
937 const UnicodeString& back) {
940 parent->errln((UnicodeString)"FAIL Roundtrip: " +
982 test.test(KATAKANA, UnicodeString("[") + HIRAGANA + LENGTH + UnicodeString("]"),
991 test.test(UnicodeString("[a-zA-Z]", ""),
992 UnicodeString(HIRAGANA, -1, US_INV),
1005 test.test(UnicodeString("[a-zA-Z]", ""),
1006 UnicodeString(KATAKANA, -1, US_INV),
1015 t.test(UnicodeString("[a-zA-Z]", ""),
1016 UnicodeString("[\\u1100-\\u1112 \\u1161-\\u1175 \\u11A8-\\u11C2]",
1026 t.test(UnicodeString("[a-zA-Z]", ""),
1027 UnicodeString("[\\uAC00-\\uD7A4]", ""),
1039 static void writeStringInU8(FILE *out, const UnicodeString &s) {
1060 UnicodeString source;
1075 UnicodeString target=source;
1088 UnicodeString target2 = target;
1095 UnicodeString nfded = target2;
1104 UnicodeString target3 = target2;
1146 test.test(UnicodeString("[a-zA-Z]", ""),
1147 UnicodeString("[\\u003B\\u00B7[[:Greek:]&[:Letter:]]-["
1154 //UnicodeString("[[\\u003B\\u00B7[:Greek:]-[\\u0374\\u0385\\u1fcd\\u1fce\\u1fdd\\u1fde\\u1fed-\\u1fef\\u1ffd\\u03D7-\\u03EF]]&[:Age=3.2:]]",
1181 test.test(UnicodeString("[a-zA-Z]", ""),
1182 UnicodeString("[\\u003B\\u00B7[[:Greek:]&[:Letter:]]-["
1188 //UnicodeString("[[\\u003B\\u00B7[:Greek:]-[\\u0374\\u0385\\u1fce\\u1fde\\u03D7-\\u03EF]]&[:Age=3.2:]]",
1213 test.test(UnicodeString("[a-zA-Z]", ""),
1214 UnicodeString("[\\u003B\\u00B7[[:Greek:]&[:Letter:]]-["
1220 //UnicodeString("[[\\u003B\\u00B7[:Greek:]-[\\u0374\\u0385\\u1fce\\u1fde\\u03D7-\\u03EF]]&[:Age=3.2:]]",
1231 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);
1245 virtual UBool is(const UnicodeString& sourceString) const;
1253 UBool LegalHebrew::is(const UnicodeString& sourceString)const{
1296 test.test(UnicodeString("[a-zA-Z\\u0110\\u0111\\u02BA\\u02B9]", ""),
1297 UnicodeString("[[\\u0400-\\u045F] & [:Age=3.2:]]", ""), NULL, this, quick,
1315 virtual UBool is(const UnicodeString& sourceString) const;
1318 UBool LegalIndic::is(const UnicodeString& sourceString) const{
1404 test.test(UnicodeString(latinForIndic, ""),
1405 UnicodeString("[[[:Devanagari:][\\u094d][\\u0964\\u0965]]&[:Age=4.1:]-[\\u0970]]", ""), "[\\u0965\\u0904]", this, quick,
1661 test.test(UnicodeString(fromSet,""),UnicodeString(toSet,""),exclusions,this,quick,legal);
1684 logln(UnicodeString("Stress testing ") + interIndicArray[i*INTER_INDIC_ARRAY_WIDTH + 0]);
1694 UnicodeString source("[");
1697 UnicodeString target("[");