Lines Matching refs:OUString
68 ::rtl::OUString aUStr; in test_rtl_OUString_ctor_001()
89 ::rtl::OUString aUStr( kTestStr1, in test_rtl_OUString_ctor_002()
113 ::rtl::OUString aUStr( rtlUStr ); in test_rtl_OUString_ctor_003()
132 ::rtl::OUString aUStr( aUStr1 ); in test_rtl_OUString_ctor_004()
149 ::rtl::OUString aUStr( aUStr2, kTestStr1Len ); in test_rtl_OUString_ctor_005()
169 ::rtl::OUString aUStrtmp( aUStr1 ); in test_rtl_OUString_ctor_006()
170 ::rtl::OUString aUStr( aUStrtmp ); in test_rtl_OUString_ctor_006()
217 OUString* input; in test_rtl_OUString_getLength()
224 new OUString( kTestStr1, in test_rtl_OUString_getLength()
229 new OUString( "1", in test_rtl_OUString_getLength()
233 {"length of empty string (default constructor)", 0, new OUString()}, in test_rtl_OUString_getLength()
235 new OUString( "", in test_rtl_OUString_getLength()
240 new OUString( "\0", in test_rtl_OUString_getLength()
282 OUString* input1; in test_rtl_OUString_equals()
283 OUString* input2; in test_rtl_OUString_equals()
289 {"same size", sal_True, new OUString(aUStr1), new OUString(aUStr1)}, in test_rtl_OUString_equals()
290 {"different size", sal_False, new OUString(aUStr1), in test_rtl_OUString_equals()
291 new OUString(aUStr2) in test_rtl_OUString_equals()
293 {"same size, no case match", sal_False, new OUString(aUStr1), in test_rtl_OUString_equals()
294 new OUString(aUStr3) in test_rtl_OUString_equals()
296 {"two empty strings(def. constructor)", sal_True, new OUString(), in test_rtl_OUString_equals()
297 new OUString() in test_rtl_OUString_equals()
299 {"empty(def.constructor) and non empty", sal_False, new OUString(), in test_rtl_OUString_equals()
300 new OUString(aUStr2) in test_rtl_OUString_equals()
303 new OUString(aUStr1), in test_rtl_OUString_equals()
304 new OUString() in test_rtl_OUString_equals()
307 new OUString( "", in test_rtl_OUString_equals()
311 new OUString( "", in test_rtl_OUString_equals()
317 new OUString( "", in test_rtl_OUString_equals()
321 new OUString(aUStr2) in test_rtl_OUString_equals()
324 new OUString(aUStr1), in test_rtl_OUString_equals()
325 new OUString( "", in test_rtl_OUString_equals()
370 OUString* input1; in test_rtl_OUString_equalsIgnoreAsciiCase()
371 OUString* input2; in test_rtl_OUString_equalsIgnoreAsciiCase()
376 {"same strings but different cases",sal_True,new OUString(aUStr4), in test_rtl_OUString_equalsIgnoreAsciiCase()
377 new OUString(aUStr5) in test_rtl_OUString_equalsIgnoreAsciiCase()
379 {"same strings",sal_True,new OUString(aUStr4), in test_rtl_OUString_equalsIgnoreAsciiCase()
380 new OUString(aUStr4)}, in test_rtl_OUString_equalsIgnoreAsciiCase()
381 {"with equal beginning",sal_False,new OUString(aUStr2), in test_rtl_OUString_equalsIgnoreAsciiCase()
382 new OUString(aUStr4) in test_rtl_OUString_equalsIgnoreAsciiCase()
384 {"empty(def.constructor) and non empty",sal_False,new OUString(), in test_rtl_OUString_equalsIgnoreAsciiCase()
385 new OUString(aUStr5) in test_rtl_OUString_equalsIgnoreAsciiCase()
388 new OUString(aUStr4), in test_rtl_OUString_equalsIgnoreAsciiCase()
389 new OUString() in test_rtl_OUString_equalsIgnoreAsciiCase()
391 {"two empty strings(def.constructor)",sal_True,new OUString(), in test_rtl_OUString_equalsIgnoreAsciiCase()
392 new OUString() in test_rtl_OUString_equalsIgnoreAsciiCase()
395 new OUString(aUStr10), in test_rtl_OUString_equalsIgnoreAsciiCase()
396 new OUString(aUStr11) in test_rtl_OUString_equalsIgnoreAsciiCase()
434 OUString* input1; in test_rtl_OUString_compareTo_001()
435 OUString* input2; in test_rtl_OUString_compareTo_001()
441 {"simple compare, str1 to str5",-1,new OUString(aUStr1), in test_rtl_OUString_compareTo_001()
442 new OUString(aUStr5) in test_rtl_OUString_compareTo_001()
444 {"simple compare, str2 to str5",-1,new OUString(aUStr2), in test_rtl_OUString_compareTo_001()
445 new OUString(aUStr5) in test_rtl_OUString_compareTo_001()
447 {"simple compare, str1 to str9",-1,new OUString(aUStr1), in test_rtl_OUString_compareTo_001()
448 new OUString(aUStr9) in test_rtl_OUString_compareTo_001()
450 {"simple compare, str1 to str2",-1,new OUString(aUStr1), in test_rtl_OUString_compareTo_001()
451 new OUString(aUStr2) in test_rtl_OUString_compareTo_001()
453 {"simple compare, str4 to str5",-1,new OUString(aUStr4), in test_rtl_OUString_compareTo_001()
454 new OUString(aUStr5) in test_rtl_OUString_compareTo_001()
456 {"simple compare, str1 to str3",-1,new OUString(aUStr1), in test_rtl_OUString_compareTo_001()
457 new OUString(aUStr3) in test_rtl_OUString_compareTo_001()
459 {"simple compare, str5 to str1",+1,new OUString(aUStr5), in test_rtl_OUString_compareTo_001()
460 new OUString(aUStr1) in test_rtl_OUString_compareTo_001()
462 {"simple compare, str2 to str1",+1,new OUString(aUStr2), in test_rtl_OUString_compareTo_001()
463 new OUString(aUStr1) in test_rtl_OUString_compareTo_001()
465 {"simple compare, str9 to str5",+1,new OUString(aUStr9), in test_rtl_OUString_compareTo_001()
466 new OUString(aUStr5) in test_rtl_OUString_compareTo_001()
468 {"simple compare, str5 to str4",+1,new OUString(aUStr5), in test_rtl_OUString_compareTo_001()
469 new OUString(aUStr4) in test_rtl_OUString_compareTo_001()
471 {"simple compare, str1 to str1",0,new OUString(aUStr1), in test_rtl_OUString_compareTo_001()
472 new OUString(aUStr1) in test_rtl_OUString_compareTo_001()
474 {"simple compare, nullString to nullString",0,new OUString(), in test_rtl_OUString_compareTo_001()
475 new OUString() in test_rtl_OUString_compareTo_001()
477 {"simple compare, nullString to str2",-1,new OUString(), in test_rtl_OUString_compareTo_001()
478 new OUString(aUStr2) in test_rtl_OUString_compareTo_001()
480 {"simple compare, str1 to nullString",+1,new OUString(aUStr1), in test_rtl_OUString_compareTo_001()
481 new OUString() in test_rtl_OUString_compareTo_001()
525 OUString* input1; in test_rtl_OUString_compareTo_002()
526 OUString* input2; in test_rtl_OUString_compareTo_002()
533 new OUString(aUStr1), new OUString(aUStr9)}, in test_rtl_OUString_compareTo_002()
535 new OUString(aUStr2), new OUString(aUStr9)}, in test_rtl_OUString_compareTo_002()
537 new OUString(aUStr9), new OUString(aUStr4)}, in test_rtl_OUString_compareTo_002()
539 new OUString(aUStr9), new OUString(aUStr22)}, in test_rtl_OUString_compareTo_002()
541 new OUString(aUStr9), new OUString(aUStr5)}, in test_rtl_OUString_compareTo_002()
543 new OUString(aUStr9), new OUString(aUStr9)}, in test_rtl_OUString_compareTo_002()
545 new OUString(aUStr1), new OUString(aUStr2)}, in test_rtl_OUString_compareTo_002()
547 new OUString(aUStr1), new OUString(aUStr2)}, in test_rtl_OUString_compareTo_002()
549 new OUString(aUStr1), new OUString(aUStr2)} in test_rtl_OUString_compareTo_002()
600 OUString* input1; in test_rtl_OUString_match_001()
601 OUString* input2; in test_rtl_OUString_match_001()
607 {"aUStr2 and aUStr1", sal_True, new OUString(aUStr2), in test_rtl_OUString_match_001()
608 new OUString(aUStr1)}, in test_rtl_OUString_match_001()
609 {"aUStr1 and aUStr2", sal_False, new OUString(aUStr1), in test_rtl_OUString_match_001()
610 new OUString(aUStr2)}, in test_rtl_OUString_match_001()
611 {"aUStr5 and aUStr6", sal_False, new OUString(aUStr5), in test_rtl_OUString_match_001()
612 new OUString(aUStr6)}, in test_rtl_OUString_match_001()
613 {"null and aUStr1", sal_False, new OUString( "", in test_rtl_OUString_match_001()
617 new OUString(aUStr1)} in test_rtl_OUString_match_001()
654 OUString* input1; in test_rtl_OUString_match_002()
655 OUString* input2; in test_rtl_OUString_match_002()
662 new OUString(aUStr2),new OUString(aUStr6)}, in test_rtl_OUString_match_002()
664 new OUString(aUStr2),new OUString(aUStr6)}, in test_rtl_OUString_match_002()
666 new OUString(aUStr2),new OUString(aUStr1)}, in test_rtl_OUString_match_002()
668 new OUString(aUStr1), in test_rtl_OUString_match_002()
669 new OUString( "", in test_rtl_OUString_match_002()
676 new OUString(aUStr1), in test_rtl_OUString_match_002()
677 new OUString( "", in test_rtl_OUString_match_002()
684 new OUString(aUStr2),new OUString(aUStr1)}, in test_rtl_OUString_match_002()
686 new OUString(aUStr5),new OUString(aUStr4)}, in test_rtl_OUString_match_002()
688 new OUString(aUStr2),new OUString(aUStr1)} in test_rtl_OUString_match_002()
738 OUString* input1; in test_rtl_OUString_op_eq()
739 OUString* input2; in test_rtl_OUString_op_eq()
744 {"null and Ustr1", new OUString, new OUString(aUStr1)}, in test_rtl_OUString_op_eq()
745 {"Ustr2 and Ustr1", new OUString(aUStr2), in test_rtl_OUString_op_eq()
746 new OUString(aUStr1)}, in test_rtl_OUString_op_eq()
748 new OUString(aUStr1), in test_rtl_OUString_op_eq()
749 new OUString( "", in test_rtl_OUString_op_eq()
755 new OUString( aUStr2, kTestStr2Len ), in test_rtl_OUString_op_eq()
756 new OUString(aUStr1)} in test_rtl_OUString_op_eq()
795 OUString* expVal; in test_rtl_OUString_op_peq()
796 OUString* input1; in test_rtl_OUString_op_peq()
797 OUString* input2; in test_rtl_OUString_op_peq()
802 {" ' '= ''+='' ", new OUString( "", in test_rtl_OUString_op_peq()
807 new OUString( "", in test_rtl_OUString_op_peq()
812 new OUString( "", in test_rtl_OUString_op_peq()
817 {"Ustr1= null += Ustr1", new OUString(aUStr1), in test_rtl_OUString_op_peq()
818 new OUString(), new OUString(aUStr1)}, in test_rtl_OUString_op_peq()
819 {"Ustr1= '' += Ustr1", new OUString(aUStr1), in test_rtl_OUString_op_peq()
825 new OUString(), in test_rtl_OUString_op_peq()
826 new OUString(aUStr1)}, in test_rtl_OUString_op_peq()
828 new OUString(aUStr1PlusUStr6), new OUString(aUStr1), in test_rtl_OUString_op_peq()
829 new OUString(aUStr6)}, in test_rtl_OUString_op_peq()
881 OUString* input1; in test_rtl_OUString_csuc()
888 new OUString(aUStr1)}, in test_rtl_OUString_csuc()
889 {"test empty ustring",&tmpUC, 1, new OUString()} in test_rtl_OUString_csuc()
938 OUString* input1; in test_rtl_OUString_getStr()
945 new OUString(aUStr1)}, in test_rtl_OUString_getStr()
946 {"test empty ustring",&tmpUC, 1, new OUString()} in test_rtl_OUString_getStr()
984 OUString* input1; in test_rtl_OUString_reverseCompareTo()
985 OUString* input2; in test_rtl_OUString_reverseCompareTo()
991 {"simple compare, str1 to str5",-1,new OUString(aUStr1), in test_rtl_OUString_reverseCompareTo()
992 new OUString(aUStr5) in test_rtl_OUString_reverseCompareTo()
994 {"simple compare, str2 to str5",1,new OUString(aUStr2), in test_rtl_OUString_reverseCompareTo()
995 new OUString(aUStr5) in test_rtl_OUString_reverseCompareTo()
997 {"simple compare, str1 to str9",-1,new OUString(aUStr1), in test_rtl_OUString_reverseCompareTo()
998 new OUString(aUStr9) in test_rtl_OUString_reverseCompareTo()
1000 {"simple compare, str4 to str5",-1,new OUString(aUStr4), in test_rtl_OUString_reverseCompareTo()
1001 new OUString(aUStr5) in test_rtl_OUString_reverseCompareTo()
1003 {"simple compare, str5 to str1",+1,new OUString(aUStr5), in test_rtl_OUString_reverseCompareTo()
1004 new OUString(aUStr1) in test_rtl_OUString_reverseCompareTo()
1006 {"simple compare, str2 to str1",+1,new OUString(aUStr2), in test_rtl_OUString_reverseCompareTo()
1007 new OUString(aUStr1) in test_rtl_OUString_reverseCompareTo()
1009 {"simple compare, str1 to str1",0,new OUString(aUStr1), in test_rtl_OUString_reverseCompareTo()
1010 new OUString(aUStr1) in test_rtl_OUString_reverseCompareTo()
1012 {"simple compare, nullString to nullString",0,new OUString(), in test_rtl_OUString_reverseCompareTo()
1013 new OUString() in test_rtl_OUString_reverseCompareTo()
1015 {"simple compare, nullString to str2",-1,new OUString(), in test_rtl_OUString_reverseCompareTo()
1016 new OUString(aUStr2) in test_rtl_OUString_reverseCompareTo()
1018 {"simple compare, str1 to nullString",+1,new OUString(aUStr1), in test_rtl_OUString_reverseCompareTo()
1019 new OUString() in test_rtl_OUString_reverseCompareTo()
1067 OUString* input1; in test_rtl_OUString_equalsAscii()
1073 {"str1 with str1 ", sal_True, new OUString( kTestStr1, in test_rtl_OUString_equalsAscii()
1078 {"str2 with str1 ", sal_False,new OUString( kTestStr2, in test_rtl_OUString_equalsAscii()
1083 {"null with str1 ", sal_False, new OUString(), tmpAstr1}, in test_rtl_OUString_equalsAscii()
1084 {"null with '' ", sal_True, new OUString(), tmpAstr2}, in test_rtl_OUString_equalsAscii()
1085 {"'' with ''", sal_True, new OUString( "", in test_rtl_OUString_equalsAscii()
1140 OUString* input1; in test_rtl_OUString_equalsAsciiL()
1147 {"str1 with str1,str1Len ", sal_True, new OUString( kTestStr1, in test_rtl_OUString_equalsAsciiL()
1152 {"str2 with str1,str1Len", sal_False,new OUString( kTestStr2, in test_rtl_OUString_equalsAsciiL()
1157 {"str1 with str2,str1Len", sal_True,new OUString( kTestStr1, in test_rtl_OUString_equalsAsciiL()
1162 {"null with str1,1 ", sal_False, new OUString(), tmpAstr1, 1}, in test_rtl_OUString_equalsAsciiL()
1163 {"null with '',1 ", sal_False, new OUString(), tmpAstr2, 1}, in test_rtl_OUString_equalsAsciiL()
1164 {"'' with '', 1", sal_False, new OUString( "", in test_rtl_OUString_equalsAsciiL()
1218 OUString* input1; in test_rtl_OUString_compareToAscii()
1224 {"str1 with str1 ", 0, new OUString( kTestStr1, in test_rtl_OUString_compareToAscii()
1229 {"str1 with '' ", 83, new OUString( kTestStr1, in test_rtl_OUString_compareToAscii()
1234 {"null with str1 ", -83 , new OUString(), tmpAstr1}, in test_rtl_OUString_compareToAscii()
1235 {"null with '' ", 0, new OUString(), tmpAstr2}, in test_rtl_OUString_compareToAscii()
1236 {"str1 with str9", -32, new OUString( kTestStr1, in test_rtl_OUString_compareToAscii()
1242 {"str1 with str2", -32, new OUString( kTestStr1, in test_rtl_OUString_compareToAscii()
1288 OUString* expVal; in test_rtl_OUString_valueOf_sal_Bool()
1297 new OUString("true",4,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_sal_Bool()
1302 new OUString("false",5,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_sal_Bool()
1314 OUString::valueOf(arrTestCase[i].input1) in test_rtl_OUString_valueOf_sal_Bool()
1347 OUString* expVal; in test_rtl_OUString_valueOf_sal_Unicode()
1356 new OUString(&tmpchar1,1),tmpchar1 in test_rtl_OUString_valueOf_sal_Unicode()
1359 new OUString(&tmpchar2,1), tmpchar2 in test_rtl_OUString_valueOf_sal_Unicode()
1362 new OUString(&tmpchar3,1),tmpchar3 in test_rtl_OUString_valueOf_sal_Unicode()
1365 new OUString(&tmpchar4,1),tmpchar4 in test_rtl_OUString_valueOf_sal_Unicode()
1368 new OUString(&tmpchar5,1),tmpchar5 in test_rtl_OUString_valueOf_sal_Unicode()
1378 OUString::valueOf(arrTestCase[i].input1)); in test_rtl_OUString_valueOf_sal_Unicode()
1420 ::rtl::OUString aStr1; in test_valueOf()
1426 rtl::OUString aStr2; in test_valueOf()
1427 aStr2 = OUString::createFromAscii(resArray[i]); in test_valueOf()
1429 ::rtl::OUString aStr3( "-",1,kEncodingRTLTextUSASCII, in test_valueOf()
1434 aStr1 = ::rtl::OUString::valueOf((T)i, radix); in test_valueOf()
1450 aStr1 = ::rtl::OUString::valueOf((T)inArray[i], radix); in test_valueOf()
1684 ::rtl::OUString aStr1; in test_rtl_OUString_valueOf_Int32_WrongRadix()
1685 ::rtl::OUString aStr2("11",2,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int32_WrongRadix()
1719 OUString* expVal; in test_rtl_OUString_valueOf_Int32_defaultParam()
1726 new OUString(newUChar1,2,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int32_defaultParam()
1730 new OUString(newUChar2,1,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int32_defaultParam()
1734 new OUString(newUChar3,3,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int32_defaultParam()
1738 new OUString(newUChar4,10,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int32_defaultParam()
1743 new OUString(newUChar5,11,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int32_defaultParam()
1754 OUString::valueOf(arrTestCase[i].input1)); in test_rtl_OUString_valueOf_Int32_defaultParam()
1981 ::rtl::OUString aStr1; in test_rtl_OUString_valueOf_Int64_WrongRadix()
1982 ::rtl::OUString aStr2("11",2,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int64_WrongRadix()
2015 OUString* expVal; in test_rtl_OUString_valueOf_Int64_defaultParam()
2022 new OUString(newUChar1,2,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int64_defaultParam()
2026 new OUString(newUChar2,1,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int64_defaultParam()
2030 new OUString(newUChar3,3,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int64_defaultParam()
2035 new OUString(newUChar4,19,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int64_defaultParam()
2040 new OUString(newUChar5,20,kEncodingRTLTextUSASCII, in test_rtl_OUString_valueOf_Int64_defaultParam()
2051 OUString::valueOf(arrTestCase[i].input1)); in test_rtl_OUString_valueOf_Int64_defaultParam()
2364 OUString* expVal; in test_rtl_OUString_createFromAscii()
2373 new OUString(kTestStr1,kTestStr1Len,kEncodingRTLTextUSASCII, in test_rtl_OUString_createFromAscii()
2378 new OUString() in test_rtl_OUString_createFromAscii()
2382 new OUString("",0,kEncodingRTLTextUSASCII, in test_rtl_OUString_createFromAscii()
2394 OUString::createFromAscii(arrTestCase[i].input1)); in test_rtl_OUString_createFromAscii()
2428 OUString str(aUStr2); in test_index()
2486 OUString str(aUStr2); in test_indexStr()
2491 OUString s1(input1[i]); in test_indexStr()
2497 OUString s2(input1[i]); in test_indexStr()
2738 OUString* expVal; in test_rtl_OUString_concat()
2739 OUString* input1; in test_rtl_OUString_concat()
2740 OUString* input2; in test_rtl_OUString_concat()
2746 {"concatenates two ustrings",new OUString(aUStr1), in test_rtl_OUString_concat()
2747 new OUString(aUStr7), new OUString(aUStr8)}, in test_rtl_OUString_concat()
2748 {"concatenates empty ustring",new OUString(aUStr1), in test_rtl_OUString_concat()
2749 new OUString(aUStr1), new OUString("",0, in test_rtl_OUString_concat()
2751 {"concatenates to empty ustring",new OUString(aUStr1),new OUString("", in test_rtl_OUString_concat()
2753 new OUString(aUStr1)}, in test_rtl_OUString_concat()
2754 {"concatenates two empty ustrings",new OUString("",0, in test_rtl_OUString_concat()
2756 new OUString("",0, in test_rtl_OUString_concat()
2758 new OUString("",0, in test_rtl_OUString_concat()
2761 new OUString(aUStr1),new OUString(aUStr1), new OUString()}, in test_rtl_OUString_concat()
2763 new OUString(aUStr1),new OUString(), new OUString(aUStr1)}, in test_rtl_OUString_concat()
2765 new OUString(),new OUString(), new OUString()} in test_rtl_OUString_concat()
2772 OUString str = arrTestCase[i].input1->concat(*arrTestCase[i].input2); in test_rtl_OUString_concat()
2803 OUString* expVal; in test_rtl_OUString_replaceAt()
2804 OUString* input; in test_rtl_OUString_replaceAt()
2805 OUString* newStr; in test_rtl_OUString_replaceAt()
2815 { "string differs", new OUString(aUStr2), new OUString(aUStr22), in test_rtl_OUString_replaceAt()
2816 new OUString(aUStr2), 0, kTestStr22Len }, in test_rtl_OUString_replaceAt()
2818 { "larger index", new OUString(aUStr1), new OUString(aUStr7), in test_rtl_OUString_replaceAt()
2819 new OUString(aUStr8), 64, kTestStr8Len }, in test_rtl_OUString_replaceAt()
2821 { "larger count", new OUString(aUStr2), new OUString(aUStr22), in test_rtl_OUString_replaceAt()
2822 new OUString(aUStr2),0, 64 }, in test_rtl_OUString_replaceAt()
2824 { "navigate index", new OUString(aUStr2), new OUString(aUStr22), in test_rtl_OUString_replaceAt()
2825 new OUString(aUStr2), -64, 64 }, in test_rtl_OUString_replaceAt()
2828 new OUString("",0, in test_rtl_OUString_replaceAt()
2830 new OUString(aUStr14), in test_rtl_OUString_replaceAt()
2831 new OUString("",0, in test_rtl_OUString_replaceAt()
2841 ::rtl::OUString aStr1; in test_rtl_OUString_replaceAt()
2875 OUString* expVal; in test_rtl_OUString_replace()
2876 OUString* input; in test_rtl_OUString_replace()
2885 {"ustring differs", new OUString(aUStr18), new OUString(aUStr4),83,115}, in test_rtl_OUString_replace()
2886 {"ustring differs", new OUString(aUStr19), new OUString(aUStr17),32,45}, in test_rtl_OUString_replace()
2887 {"ustring must be empty", new OUString("",0, in test_rtl_OUString_replace()
2889 new OUString("",0, in test_rtl_OUString_replace()
2891 {"ustring must be empty", new OUString(), in test_rtl_OUString_replace()
2892 new OUString("",0, in test_rtl_OUString_replace()
2894 {"same ustring, no replace ", new OUString(aUStr22), in test_rtl_OUString_replace()
2895 new OUString(aUStr22),42,56} in test_rtl_OUString_replace()
2904 ::rtl::OUString aStr1; in test_rtl_OUString_replace()
2931 OUString* expVal; in test_rtl_OUString_toAsciiLowerCase()
2932 OUString* input1; in test_rtl_OUString_toAsciiLowerCase()
2939 {"only uppercase",new OUString(aUStr5),new OUString(aUStr4)}, in test_rtl_OUString_toAsciiLowerCase()
2940 {"different cases",new OUString(aUStr5),new OUString(aUStr1)}, in test_rtl_OUString_toAsciiLowerCase()
2941 {"different cases",new OUString(aUStr5),new OUString(aUStr3)}, in test_rtl_OUString_toAsciiLowerCase()
2942 {"only lowercase",new OUString(aUStr5),new OUString(aUStr5)}, in test_rtl_OUString_toAsciiLowerCase()
2943 {"empty ustring",new OUString("",0, in test_rtl_OUString_toAsciiLowerCase()
2945 new OUString("",0, in test_rtl_OUString_toAsciiLowerCase()
2947 {"ustring constructed by default constructor",new OUString(), in test_rtl_OUString_toAsciiLowerCase()
2948 new OUString()}, in test_rtl_OUString_toAsciiLowerCase()
2949 {"have special Unicode",new OUString("\23\12\34sun\13\45",6, in test_rtl_OUString_toAsciiLowerCase()
2951 new OUString("\23\12\34sun\13\45",6, in test_rtl_OUString_toAsciiLowerCase()
2961 OUString str = arrTestCase[i].input1->toAsciiLowerCase(); in test_rtl_OUString_toAsciiLowerCase()
3002 OUString* expVal; in test_rtl_OUString_toAsciiUpperCase()
3003 OUString* input1; in test_rtl_OUString_toAsciiUpperCase()
3009 {"only lowercase",new OUString(aUStr4),new OUString(aUStr5)}, in test_rtl_OUString_toAsciiUpperCase()
3010 {"mixed cases",new OUString(aUStr4),new OUString(aUStr3)}, in test_rtl_OUString_toAsciiUpperCase()
3011 {"mixed cases",new OUString(aUStr4),new OUString(aUStr1)}, in test_rtl_OUString_toAsciiUpperCase()
3012 {"only uppercase",new OUString(aUStr4),new OUString(aUStr4)}, in test_rtl_OUString_toAsciiUpperCase()
3013 {"empty ustring",new OUString("",0, in test_rtl_OUString_toAsciiUpperCase()
3015 new OUString("",0, in test_rtl_OUString_toAsciiUpperCase()
3017 {"ustring constructed by default constructor",new OUString(), in test_rtl_OUString_toAsciiUpperCase()
3018 new OUString()}, in test_rtl_OUString_toAsciiUpperCase()
3019 {"have special Unicode",new OUString("\23\12\34SUN\13\45",6, in test_rtl_OUString_toAsciiUpperCase()
3021 new OUString("\23\12\34sun\13\45",6, in test_rtl_OUString_toAsciiUpperCase()
3031 OUString str = arrTestCase[i].input1->toAsciiUpperCase(); in test_rtl_OUString_toAsciiUpperCase()
3074 OUString* expVal; in test_rtl_OUString_trim()
3075 OUString* input1; in test_rtl_OUString_trim()
3081 {"removes space from the front",new OUString(aUStr1), in test_rtl_OUString_trim()
3082 new OUString(aUStr10)}, in test_rtl_OUString_trim()
3083 {"removes space from the end",new OUString(aUStr1), in test_rtl_OUString_trim()
3084 new OUString(aUStr11)}, in test_rtl_OUString_trim()
3085 {"removes space from the front and end",new OUString(aUStr1), in test_rtl_OUString_trim()
3086 new OUString(aUStr12)}, in test_rtl_OUString_trim()
3087 {"removes several spaces from the end",new OUString(aUStr1), in test_rtl_OUString_trim()
3088 new OUString(aUStr13)}, in test_rtl_OUString_trim()
3089 {"removes several spaces from the front",new OUString(aUStr1), in test_rtl_OUString_trim()
3090 new OUString(aUStr14)}, in test_rtl_OUString_trim()
3092 new OUString(aUStr1), in test_rtl_OUString_trim()
3093 new OUString(aUStr15)}, in test_rtl_OUString_trim()
3095 new OUString(aUStr1), in test_rtl_OUString_trim()
3096 new OUString(aUStr16)}, in test_rtl_OUString_trim()
3098 new OUString(aUStr1), in test_rtl_OUString_trim()
3099 new OUString(aUStr17)}, in test_rtl_OUString_trim()
3100 {"removes characters that have codes <= 32",new OUString(aUStr30), in test_rtl_OUString_trim()
3101 new OUString("\1\3\5\7\11\13\15\17sun\21\23\25\27\31\33\50", in test_rtl_OUString_trim()
3104 {"removes characters that have codes <= 32",new OUString(aUStr28), in test_rtl_OUString_trim()
3105 new OUString("\50\3\5\7\11\13\15\17sun\21\23\25\27\31\33\1", in test_rtl_OUString_trim()
3108 {"removes characters that have codes <= 32",new OUString(aUStr29), in test_rtl_OUString_trim()
3109 new OUString("\50\3\5\7\11\13\15\17sun\21\23\25\27\31\33\50", in test_rtl_OUString_trim()
3112 {"removes characters that have codes <= 32",new OUString(aUStr20), in test_rtl_OUString_trim()
3113 new OUString("\1\3\5\7\11\13\15\17sun\21\23\25\27\31\23\20", in test_rtl_OUString_trim()
3116 {"no spaces",new OUString(aUStr8), in test_rtl_OUString_trim()
3117 new OUString(aUStr8)} in test_rtl_OUString_trim()
3125 OUString strRes = arrTestCase[i].input1->trim(); in test_rtl_OUString_trim()
3170 OUString str; in test_toData()
3171 str = OUString::createFromAscii(input[i]); in test_toData()
3327 OUString* input; in test_rtl_OUString_toBoolean()
3334 {"expected true", sal_True, new OUString("True",4,kEncodingRTLTextUSASCII, in test_rtl_OUString_toBoolean()
3336 {"expected false", sal_False, new OUString("False",5, in test_rtl_OUString_toBoolean()
3339 {"expected true", sal_True, new OUString("1",1,kEncodingRTLTextUSASCII, in test_rtl_OUString_toBoolean()
3498 ::rtl::OUString str("0",1,kEncodingRTLTextUSASCII, in test_rtl_OUString_toInt32_wrongRadix()
3723 ::rtl::OUString str("0",1,kEncodingRTLTextUSASCII, in test_rtl_OUString_toInt64_wrongRadix()