Lines Matching refs:OString
77 ::rtl::OString aStr; in test_rtl_OString_ctor_001()
99 ::rtl::OString aStr(kTestStr1); in test_rtl_OString_ctor_002()
120 ::rtl::OString aStr(kTestStr2, kTestStr1Len); in test_rtl_OString_ctor_003()
142 ::rtl::OString aStr1(kTestStr1); in test_rtl_OString_ctor_004()
143 ::rtl::OString aStr2(aStr1); in test_rtl_OString_ctor_004()
170 ::rtl::OString aStr2(aStr1); in test_rtl_OString_ctor_005()
212 ::rtl::OString aStr2 in test_rtl_OString_ctor_006()
291 OString* input; in test_rtl_OString_getLength()
297 {"length of ascii string", kTestStr1Len, new OString(kTestStr1)}, in test_rtl_OString_getLength()
298 {"length of ascci string of size 1", 1, new OString("1")}, in test_rtl_OString_getLength()
299 {"length of empty string (default constructor)", 0, new OString()}, in test_rtl_OString_getLength()
300 {"length of empty string (empty ascii string arg)",0,new OString("")}, in test_rtl_OString_getLength()
301 {"length of empty string (string arg = '\\0')",0,new OString("\0")} in test_rtl_OString_getLength()
343 OString* input1; in test_rtl_OString_equals()
344 OString* input2; in test_rtl_OString_equals()
350 {"same size", sal_True, new OString(kTestStr1),new OString(kTestStr1)}, in test_rtl_OString_equals()
351 {"different size", sal_False, new OString(kTestStr1), in test_rtl_OString_equals()
352 new OString(kTestStr2)}, in test_rtl_OString_equals()
353 {"same size, no case match", sal_False, new OString(kTestStr1), in test_rtl_OString_equals()
354 new OString(kTestStr3)}, in test_rtl_OString_equals()
355 {"two empty strings(def. constructor)", sal_True, new OString(), in test_rtl_OString_equals()
356 new OString()}, in test_rtl_OString_equals()
357 {"empty(def.constructor) and non empty", sal_False, new OString(), in test_rtl_OString_equals()
358 new OString(kTestStr2)}, in test_rtl_OString_equals()
360 new OString(kTestStr1),new OString()}, in test_rtl_OString_equals()
362 new OString(""),new OString("")}, in test_rtl_OString_equals()
364 new OString(""),new OString(kTestStr2)}, in test_rtl_OString_equals()
366 new OString(kTestStr1),new OString("")} in test_rtl_OString_equals()
407 OString* input1; in test_rtl_OString_equalsIgnoreAsciiCase()
408 OString* input2; in test_rtl_OString_equalsIgnoreAsciiCase()
413 {"same strings but different cases",sal_True,new OString(kTestStr4), in test_rtl_OString_equalsIgnoreAsciiCase()
414 new OString(kTestStr5)}, in test_rtl_OString_equalsIgnoreAsciiCase()
415 {"same strings",sal_True,new OString(kTestStr4), in test_rtl_OString_equalsIgnoreAsciiCase()
416 new OString(kTestStr4)}, in test_rtl_OString_equalsIgnoreAsciiCase()
417 {"with equal beginning",sal_False,new OString(kTestStr2), in test_rtl_OString_equalsIgnoreAsciiCase()
418 new OString(kTestStr4)}, in test_rtl_OString_equalsIgnoreAsciiCase()
419 {"empty(def.constructor) and non empty",sal_False,new OString(), in test_rtl_OString_equalsIgnoreAsciiCase()
420 new OString(kTestStr5)}, in test_rtl_OString_equalsIgnoreAsciiCase()
422 new OString(kTestStr4), new OString()}, in test_rtl_OString_equalsIgnoreAsciiCase()
423 {"two empty strings(def.constructor)",sal_True,new OString(), in test_rtl_OString_equalsIgnoreAsciiCase()
424 new OString()}, in test_rtl_OString_equalsIgnoreAsciiCase()
426 new OString(kTestStr10), new OString(kTestStr11)} in test_rtl_OString_equalsIgnoreAsciiCase()
463 OString* input1; in test_rtl_OString_compareTo_001()
464 OString* input2; in test_rtl_OString_compareTo_001()
470 {"simple compare, str1 to str5",-1,new OString(kTestStr1), in test_rtl_OString_compareTo_001()
471 new OString(kTestStr5)}, in test_rtl_OString_compareTo_001()
472 {"simple compare, str2 to str5",-1,new OString(kTestStr2), in test_rtl_OString_compareTo_001()
473 new OString(kTestStr5)}, in test_rtl_OString_compareTo_001()
474 {"simple compare, str1 to str9",-1,new OString(kTestStr1), in test_rtl_OString_compareTo_001()
475 new OString(kTestStr9)}, in test_rtl_OString_compareTo_001()
476 {"simple compare, str1 to str2",-1,new OString(kTestStr1), in test_rtl_OString_compareTo_001()
477 new OString(kTestStr2)}, in test_rtl_OString_compareTo_001()
478 {"simple compare, str4 to str5",-1,new OString(kTestStr4), in test_rtl_OString_compareTo_001()
479 new OString(kTestStr5)}, in test_rtl_OString_compareTo_001()
480 {"simple compare, str1 to str3",-1,new OString(kTestStr1), in test_rtl_OString_compareTo_001()
481 new OString(kTestStr3)}, in test_rtl_OString_compareTo_001()
482 {"simple compare, str5 to str1",+1,new OString(kTestStr5), in test_rtl_OString_compareTo_001()
483 new OString(kTestStr1)}, in test_rtl_OString_compareTo_001()
484 {"simple compare, str2 to str1",+1,new OString(kTestStr2), in test_rtl_OString_compareTo_001()
485 new OString(kTestStr1)}, in test_rtl_OString_compareTo_001()
486 {"simple compare, str9 to str5",+1,new OString(kTestStr9), in test_rtl_OString_compareTo_001()
487 new OString(kTestStr5)}, in test_rtl_OString_compareTo_001()
488 {"simple compare, str5 to str4",+1,new OString(kTestStr5), in test_rtl_OString_compareTo_001()
489 new OString(kTestStr4)}, in test_rtl_OString_compareTo_001()
490 {"simple compare, str1 to str1",0,new OString(kTestStr1), in test_rtl_OString_compareTo_001()
491 new OString(kTestStr1)}, in test_rtl_OString_compareTo_001()
492 {"simple compare, nullString to nullString",0,new OString(), in test_rtl_OString_compareTo_001()
493 new OString()}, in test_rtl_OString_compareTo_001()
494 {"simple compare, nullString to str2",-1,new OString(), in test_rtl_OString_compareTo_001()
495 new OString(kTestStr2)}, in test_rtl_OString_compareTo_001()
496 {"simple compare, str1 to nullString",+1,new OString(kTestStr1), in test_rtl_OString_compareTo_001()
497 new OString()} in test_rtl_OString_compareTo_001()
539 OString* input1; in test_rtl_OString_compareTo_002()
540 OString* input2; in test_rtl_OString_compareTo_002()
547 new OString(kTestStr1), new OString(kTestStr9)}, in test_rtl_OString_compareTo_002()
549 new OString(kTestStr2), new OString(kTestStr9)}, in test_rtl_OString_compareTo_002()
551 new OString(kTestStr9), new OString(kTestStr4)}, in test_rtl_OString_compareTo_002()
553 new OString(kTestStr9), new OString(kTestStr22)}, in test_rtl_OString_compareTo_002()
555 new OString(kTestStr9), new OString(kTestStr5)}, in test_rtl_OString_compareTo_002()
557 new OString(kTestStr9), new OString(kTestStr9)}, in test_rtl_OString_compareTo_002()
559 new OString(kTestStr1), new OString(kTestStr2)}, in test_rtl_OString_compareTo_002()
561 new OString(kTestStr1), new OString(kTestStr2)} in test_rtl_OString_compareTo_002()
649 OString *str1, *str2; in test_rtl_OString_op_cmp()
650 str1 = (arrOStr[i][0]) ? new OString(arrOStr[i][0]) : new OString() ; in test_rtl_OString_op_cmp()
651 str2 = (arrOStr[i][1]) ? new OString(arrOStr[i][1]) : new OString() ; in test_rtl_OString_op_cmp()
742 OString *str1, *str2; in test_rtl_OString_op_neq()
743 str1 = (arrOStr[i][0]) ? new OString(arrOStr[i][0]) : new OString() ; in test_rtl_OString_op_neq()
744 str2 = (arrOStr[i][1]) ? new OString(arrOStr[i][1]) : new OString() ; in test_rtl_OString_op_neq()
802 OString* input1; in test_rtl_OString_op_g()
803 OString* input2; in test_rtl_OString_op_g()
810 new OString(kTestStr3), new OString(kTestStr1)}, in test_rtl_OString_op_g()
812 new OString(kTestStr1), new OString(kTestStr3)}, in test_rtl_OString_op_g()
814 new OString(kTestStr2), new OString(kTestStr1)}, in test_rtl_OString_op_g()
816 new OString(kTestStr1), new OString(kTestStr2)}, in test_rtl_OString_op_g()
818 new OString(kTestStr1), new OString(kTestStr1)}, in test_rtl_OString_op_g()
819 {"'Sun Microsystems'>''",sal_True,new OString(kTestStr1), in test_rtl_OString_op_g()
820 new OString()}, in test_rtl_OString_op_g()
821 {"!(''>'Sun Microsystems')",sal_False,new OString(), in test_rtl_OString_op_g()
822 new OString(kTestStr1)}, in test_rtl_OString_op_g()
823 {"!(''>'')",sal_False,new OString(), new OString()} in test_rtl_OString_op_g()
865 OString* input1; in test_rtl_OString_op_l()
866 OString* input2; in test_rtl_OString_op_l()
873 new OString(kTestStr3), new OString(kTestStr1)}, in test_rtl_OString_op_l()
875 new OString(kTestStr1), new OString(kTestStr3)}, in test_rtl_OString_op_l()
877 new OString(kTestStr1), new OString(kTestStr2)}, in test_rtl_OString_op_l()
879 new OString(kTestStr2), new OString(kTestStr1)}, in test_rtl_OString_op_l()
881 new OString(kTestStr1), new OString(kTestStr1)}, in test_rtl_OString_op_l()
882 {"'Sun Microsystems'<''",sal_False,new OString(kTestStr1), in test_rtl_OString_op_l()
883 new OString()}, in test_rtl_OString_op_l()
884 {"''<'Sun Microsystems Java Technology'",sal_True,new OString(), in test_rtl_OString_op_l()
885 new OString(kTestStr2)}, in test_rtl_OString_op_l()
886 {"!(''<'')",sal_False,new OString(), new OString()} in test_rtl_OString_op_l()
927 OString* input1; in test_rtl_OString_op_ge()
928 OString* input2; in test_rtl_OString_op_ge()
935 new OString(kTestStr3), new OString(kTestStr1)}, in test_rtl_OString_op_ge()
937 new OString(kTestStr1), new OString(kTestStr3)}, in test_rtl_OString_op_ge()
939 new OString(kTestStr1), new OString(kTestStr2)}, in test_rtl_OString_op_ge()
941 new OString(kTestStr2), new OString(kTestStr1)}, in test_rtl_OString_op_ge()
943 new OString(kTestStr1), new OString(kTestStr1)}, in test_rtl_OString_op_ge()
944 {"'Sun Microsystems'>=''",sal_True,new OString(kTestStr1), in test_rtl_OString_op_ge()
945 new OString()}, in test_rtl_OString_op_ge()
946 { "''>='Sun microsystems'",sal_False,new OString(), in test_rtl_OString_op_ge()
947 new OString(kTestStr3)}, in test_rtl_OString_op_ge()
948 {"''>=''",sal_True,new OString(), new OString()} in test_rtl_OString_op_ge()
989 OString* input1; in test_rtl_OString_op_le()
990 OString* input2; in test_rtl_OString_op_le()
997 new OString(kTestStr3), new OString(kTestStr1)}, in test_rtl_OString_op_le()
999 new OString(kTestStr1), new OString(kTestStr3)}, in test_rtl_OString_op_le()
1001 new OString(kTestStr1), in test_rtl_OString_op_le()
1002 new OString(kTestStr2)}, in test_rtl_OString_op_le()
1004 new OString(kTestStr2), in test_rtl_OString_op_le()
1005 new OString(kTestStr1)}, in test_rtl_OString_op_le()
1007 new OString(kTestStr1), new OString(kTestStr1)}, in test_rtl_OString_op_le()
1008 {"'Sun Microsystems'<=''",sal_False,new OString(kTestStr1), in test_rtl_OString_op_le()
1009 new OString()}, in test_rtl_OString_op_le()
1010 {"''<='Sun Microsystems Java Technology'",sal_True,new OString(), in test_rtl_OString_op_le()
1011 new OString(kTestStr2)}, in test_rtl_OString_op_le()
1012 {"!(''<='')",sal_True,new OString(), new OString()} in test_rtl_OString_op_le()
1052 OString* input1; in test_rtl_OString_op_eq_001()
1053 OString* input2; in test_rtl_OString_op_eq_001()
1059 {"'' = str1, str1 == str2",sal_True,new OString(kTestStr1), in test_rtl_OString_op_eq_001()
1060 new OString()}, in test_rtl_OString_op_eq_001()
1061 {"str1 = str2, str1 == str2",sal_True,new OString(kTestStr1), in test_rtl_OString_op_eq_001()
1062 new OString(kTestStr6)}, in test_rtl_OString_op_eq_001()
1063 {"str2 = '', str1 == str2",sal_True,new OString(), in test_rtl_OString_op_eq_001()
1064 new OString(kTestStr2)}, in test_rtl_OString_op_eq_001()
1065 {"'' = '', str1 == str2",sal_True,new OString(), in test_rtl_OString_op_eq_001()
1066 new OString()} in test_rtl_OString_op_eq_001()
1097 ::rtl::OString aStr; in test_rtl_OString_op_eq_002()
1098 aStr = OString(kTestStr1); in test_rtl_OString_op_eq_002()
1117 ::rtl::OString aStr1(kTestStr1); in test_rtl_OString_op_eq_003()
1118 ::rtl::OString aStr2; in test_rtl_OString_op_eq_003()
1119 ::rtl::OString aStr3; in test_rtl_OString_op_eq_003()
1163 OString* expVal; in test_rtl_OString_op_plus()
1164 OString* input1; in test_rtl_OString_op_plus()
1165 OString* input2; in test_rtl_OString_op_plus()
1171 {"str1 = str7 + str8",new OString(kTestStr1), in test_rtl_OString_op_plus()
1172 new OString(kTestStr7), new OString(kTestStr8)}, in test_rtl_OString_op_plus()
1173 {"str1 = str1 + '' ",new OString(kTestStr1), in test_rtl_OString_op_plus()
1174 new OString(kTestStr1), new OString("")}, in test_rtl_OString_op_plus()
1175 {"str1 = '' + str1", new OString(kTestStr1), in test_rtl_OString_op_plus()
1176 new OString(""), new OString(kTestStr1)}, in test_rtl_OString_op_plus()
1177 {" '' = '' + '' ", new OString(""),new OString(""), in test_rtl_OString_op_plus()
1178 new OString("")}, in test_rtl_OString_op_plus()
1179 {"str1 = str1 + def.constr", new OString(kTestStr1), in test_rtl_OString_op_plus()
1180 new OString(kTestStr1), new OString()}, in test_rtl_OString_op_plus()
1181 {" str1 = def.constr + str1 ",new OString(kTestStr1), in test_rtl_OString_op_plus()
1182 new OString(), new OString(kTestStr1)}, in test_rtl_OString_op_plus()
1183 {" def.constr= def.constr + def.constr", new OString(), in test_rtl_OString_op_plus()
1184 new OString(), new OString()} in test_rtl_OString_op_plus()
1191 OString str = (*arrTestCase[i].input1) + (*arrTestCase[i].input2); in test_rtl_OString_op_plus()
1223 OString* expVal; in test_rtl_OString_op_peq()
1224 OString* input1; in test_rtl_OString_op_peq()
1225 OString* input2; in test_rtl_OString_op_peq()
1231 {"str1 == (str7 += str8)",new OString(kTestStr1), in test_rtl_OString_op_peq()
1232 new OString(kTestStr7), new OString(kTestStr8)}, in test_rtl_OString_op_peq()
1233 {"str1 == (str1 += '')",new OString(kTestStr1), in test_rtl_OString_op_peq()
1234 new OString(kTestStr1), new OString("")}, in test_rtl_OString_op_peq()
1235 {"str1 == ('' += str1)", new OString(kTestStr1), in test_rtl_OString_op_peq()
1236 new OString(""), new OString(kTestStr1)}, in test_rtl_OString_op_peq()
1237 {" '' == ('' += '')", new OString(""), in test_rtl_OString_op_peq()
1238 new OString(""), new OString("")}, in test_rtl_OString_op_peq()
1239 {"str1 == (str1 += def.constr)", new OString(kTestStr1), in test_rtl_OString_op_peq()
1240 new OString(kTestStr1), new OString()}, in test_rtl_OString_op_peq()
1241 {" str1 == (def.constr += str1)",new OString(kTestStr1), in test_rtl_OString_op_peq()
1242 new OString(), new OString(kTestStr1)}, in test_rtl_OString_op_peq()
1244 new OString(),new OString(), new OString()} in test_rtl_OString_op_peq()
1250 { OString str; in test_rtl_OString_op_peq()
1285 OString* input1; in test_rtl_OString_op_cscs()
1291 {"test normal string",kTestStr1,kTestStr1Len,new OString(kTestStr1)}, in test_rtl_OString_op_cscs()
1292 {"test empty string","",1,new OString()} in test_rtl_OString_op_cscs()
1332 OString* input1; in test_rtl_OString_getStr()
1338 {"test normal string",kTestStr1,kTestStr1Len,new OString(kTestStr1)}, in test_rtl_OString_getStr()
1339 {"test empty string","",0,new OString()} in test_rtl_OString_getStr()
1401 OString src(arrTestCase[i].srcStr); in test_rtl_OString_copy_001()
1402 OString dst; in test_rtl_OString_copy_001()
1467 OString src(kTestStr2); in test_rtl_OString_copy_002()
1468 OString dst; in test_rtl_OString_copy_002()
1507 OString src(kTestStr1); in test_rtl_OString_copy_003()
1509 OString dst(kTestStr2); in test_rtl_OString_copy_003()
1534 OString src(kTestStr2); in test_rtl_OString_copy_004()
1536 OString dst(kTestStr1); in test_rtl_OString_copy_004()
1580 OString* expVal; in test_rtl_OString_concat()
1581 OString* input1; in test_rtl_OString_concat()
1582 OString* input2; in test_rtl_OString_concat()
1588 {"concatenates two strings",new OString(kTestStr1), in test_rtl_OString_concat()
1589 new OString(kTestStr7), in test_rtl_OString_concat()
1590 new OString(kTestStr8)}, in test_rtl_OString_concat()
1591 {"concatenates empty string",new OString(kTestStr1), in test_rtl_OString_concat()
1592 new OString(kTestStr1), in test_rtl_OString_concat()
1593 new OString("")}, in test_rtl_OString_concat()
1594 {"concatenates to empty string",new OString(kTestStr1), in test_rtl_OString_concat()
1595 new OString(""), in test_rtl_OString_concat()
1596 new OString(kTestStr1)}, in test_rtl_OString_concat()
1597 {"concatenates two empty strings",new OString(""),new OString(""), in test_rtl_OString_concat()
1598 new OString("")}, in test_rtl_OString_concat()
1600 new OString(kTestStr1), in test_rtl_OString_concat()
1601 new OString(kTestStr1), new OString()}, in test_rtl_OString_concat()
1603 new OString(kTestStr1), in test_rtl_OString_concat()
1604 new OString(), new OString(kTestStr1)}, in test_rtl_OString_concat()
1606 new OString(), in test_rtl_OString_concat()
1607 new OString(), new OString()} in test_rtl_OString_concat()
1614 OString str = in test_rtl_OString_concat()
1648 OString* expVal; in test_rtl_OString_toAsciiLowerCase()
1649 OString* input1; in test_rtl_OString_toAsciiLowerCase()
1656 {"only uppercase",new OString(kTestStr5),new OString(kTestStr4)}, in test_rtl_OString_toAsciiLowerCase()
1657 {"different cases",new OString(kTestStr5),new OString(kTestStr1)}, in test_rtl_OString_toAsciiLowerCase()
1658 {"different cases",new OString(kTestStr5),new OString(kTestStr3)}, in test_rtl_OString_toAsciiLowerCase()
1659 {"only lowercase",new OString(kTestStr5),new OString(kTestStr5)}, in test_rtl_OString_toAsciiLowerCase()
1660 {"empty string",new OString(""),new OString("")}, in test_rtl_OString_toAsciiLowerCase()
1662 new OString(),new OString()} in test_rtl_OString_toAsciiLowerCase()
1670 OString str = arrTestCase[i].input1->toAsciiLowerCase(); in test_rtl_OString_toAsciiLowerCase()
1701 OString* expVal; in test_rtl_OString_toAsciiUpperCase()
1702 OString* input1; in test_rtl_OString_toAsciiUpperCase()
1708 {"only lowercase",new OString(kTestStr4),new OString(kTestStr5)}, in test_rtl_OString_toAsciiUpperCase()
1709 {"mixed cases",new OString(kTestStr4),new OString(kTestStr3)}, in test_rtl_OString_toAsciiUpperCase()
1710 {"miced cases",new OString(kTestStr4),new OString(kTestStr1)}, in test_rtl_OString_toAsciiUpperCase()
1711 {"only uppercase",new OString(kTestStr4),new OString(kTestStr4)}, in test_rtl_OString_toAsciiUpperCase()
1712 {"empty string",new OString(""),new OString("")}, in test_rtl_OString_toAsciiUpperCase()
1714 new OString(),new OString()} in test_rtl_OString_toAsciiUpperCase()
1722 OString str = arrTestCase[i].input1->toAsciiUpperCase(); in test_rtl_OString_toAsciiUpperCase()
1754 OString* expVal; in test_rtl_OString_trim()
1755 OString* input1; in test_rtl_OString_trim()
1761 {"removes space from the front",new OString(kTestStr1), in test_rtl_OString_trim()
1762 new OString(kTestStr10)}, in test_rtl_OString_trim()
1763 {"removes space from the end",new OString(kTestStr1), in test_rtl_OString_trim()
1764 new OString(kTestStr11)}, in test_rtl_OString_trim()
1765 {"removes space from the front and end",new OString(kTestStr1), in test_rtl_OString_trim()
1766 new OString(kTestStr12)}, in test_rtl_OString_trim()
1767 {"removes several spaces from the end",new OString(kTestStr1), in test_rtl_OString_trim()
1768 new OString(kTestStr13)}, in test_rtl_OString_trim()
1769 {"removes several spaces from the front",new OString(kTestStr1), in test_rtl_OString_trim()
1770 new OString(kTestStr14)}, in test_rtl_OString_trim()
1772 new OString(kTestStr1), in test_rtl_OString_trim()
1773 new OString(kTestStr15)}, in test_rtl_OString_trim()
1775 new OString(kTestStr1), in test_rtl_OString_trim()
1776 new OString(kTestStr16)}, in test_rtl_OString_trim()
1778 new OString(kTestStr1), in test_rtl_OString_trim()
1779 new OString(kTestStr17)}, in test_rtl_OString_trim()
1780 {"removes characters that have codes <= 32",new OString(kTestStr20), in test_rtl_OString_trim()
1781 new OString("\1\3\5\7\11\13\15\17sun\21\23\25\27\31\33\40")}, in test_rtl_OString_trim()
1782 {"no spaces",new OString(kTestStr8),new OString(kTestStr8)} in test_rtl_OString_trim()
1790 OString strRes = arrTestCase[i].input1->trim(); in test_rtl_OString_trim()
1824 OString* expVal; in test_rtl_OString_valueOf_sal_Bool()
1830 {"true",sal_True,new OString("true")}, in test_rtl_OString_valueOf_sal_Bool()
1831 {"false",sal_False, new OString("false")} in test_rtl_OString_valueOf_sal_Bool()
1839 ::rtl::OString aStr1; in test_rtl_OString_valueOf_sal_Bool()
1868 OString* expVal; in test_rtl_OString_valueOf_sal_Char()
1874 {"A",'A',new OString("A")}, in test_rtl_OString_valueOf_sal_Char()
1875 {"a",'a', new OString("a")}, in test_rtl_OString_valueOf_sal_Char()
1876 {"0",'0', new OString("0")}, in test_rtl_OString_valueOf_sal_Char()
1877 {"-",'-', new OString("-")}, in test_rtl_OString_valueOf_sal_Char()
1878 {"_",'_', new OString("_")}, in test_rtl_OString_valueOf_sal_Char()
1879 {"|",'|', new OString("|")}, in test_rtl_OString_valueOf_sal_Char()
1880 {"?",'?', new OString("?")}, in test_rtl_OString_valueOf_sal_Char()
1881 {"?",'?', new OString("?")}, in test_rtl_OString_valueOf_sal_Char()
1882 {"\n",'\n', new OString("\n")}, in test_rtl_OString_valueOf_sal_Char()
1883 {"\'",'\'', new OString("\'")}, in test_rtl_OString_valueOf_sal_Char()
1884 {"\"",'\"', new OString("\"")} in test_rtl_OString_valueOf_sal_Char()
1893 ::rtl::OString aStr1; in test_rtl_OString_valueOf_sal_Char()
1938 ::rtl::OString aStr1; in test_valueOf()
1939 ::rtl::OString aStr2( resArray[i] ); in test_valueOf()
1942 aStr1 = ::rtl::OString::valueOf((T)i, radix); in test_valueOf()
1950 aStr1 = ::rtl::OString::valueOf((T)inArray[i], radix); in test_valueOf()
2184 ::rtl::OString aStr1; in test_rtl_OString_valueOf_Int32_WrongRadix()
2185 ::rtl::OString aStr2("11"); in test_rtl_OString_valueOf_Int32_WrongRadix()
2214 ::rtl::OString::valueOf(n) == "-2147483648", in test_rtl_OString_valueOf_Int32_SmallestNegativeValue()
2432 ::rtl::OString aStr1; in test_rtl_OString_valueOf_Int64_WrongRadix()
2433 ::rtl::OString aStr2("11"); in test_rtl_OString_valueOf_Int64_WrongRadix()
2462 ::rtl::OString::valueOf(n) == "-9223372036854775808", in test_rtl_OString_valueOf_Int64_SmallestNegativeValue()
2747 OString* input1; in test_rtl_OString_toChar()
2754 {"A", 'A', new OString("A")}, in test_rtl_OString_toChar()
2755 {"a", 'a', new OString("a")}, in test_rtl_OString_toChar()
2756 {"0", '0',new OString("0")}, in test_rtl_OString_toChar()
2757 {"-", '-',new OString("-")}, in test_rtl_OString_toChar()
2758 {"_", '_',new OString("_")}, in test_rtl_OString_toChar()
2765 {"\n", '\n',new OString("\n")}, in test_rtl_OString_toChar()
2766 {"\'", '\'',new OString("\'")}, in test_rtl_OString_toChar()
2767 {"\"", '\"',new OString("\"")}, in test_rtl_OString_toChar()
2768 {"\0", '\0',new OString("\0")}, in test_rtl_OString_toChar()
2769 {"", '\0',new OString("")}, in test_rtl_OString_toChar()
2770 {"Sun Microsystems", 'S', new OString(kTestStr1)} in test_rtl_OString_toChar()
2817 OString* input1; in test_rtl_OString_toFloat()
2825 {3.0f, new OString("3"), 3e-7f}, in test_rtl_OString_toFloat()
2826 {3.1f, new OString("3.1"), 3e-7f}, in test_rtl_OString_toFloat()
2827 {3.1415f, new OString("3.1415"), 3e-7f}, in test_rtl_OString_toFloat()
2828 {3.14159f, new OString("3.14159"), 3e-7f}, in test_rtl_OString_toFloat()
2829 {3.141592f, new OString("3.141592"), 3e-7f}, in test_rtl_OString_toFloat()
2830 {3.1415926f, new OString("3.1415926"), 3e-7f}, in test_rtl_OString_toFloat()
2831 {3.14159265f, new OString("3.14159265"), 3e-7f}, in test_rtl_OString_toFloat()
2833 new OString("3.141592653589793238462643"), 3e-7f}, in test_rtl_OString_toFloat()
2834 {6.5822e-16f, new OString("6.5822e-16"), 6e-16f * 1e-7f}, in test_rtl_OString_toFloat()
2835 {9.1096e-31f, new OString("9.1096e-31"), 9e-31f * 1e-7f}, in test_rtl_OString_toFloat()
2836 {2.997925e8f, new OString("2.997925e8"), 3e8f * 1e-7f}, in test_rtl_OString_toFloat()
2837 {6.241e18f, new OString("6.241e18"), 6e18f * 1e-7f}, in test_rtl_OString_toFloat()
2838 {3.1f, new OString("03.1"), 3e-7f}, in test_rtl_OString_toFloat()
2839 {3.1f, new OString(" 3.1"), 3e-7f}, in test_rtl_OString_toFloat()
2840 {-3.1f, new OString("-3.1"), 3e-7f}, in test_rtl_OString_toFloat()
2841 {3.1f, new OString("+3.1"), 3e-7f}, in test_rtl_OString_toFloat()
2842 {0.0f, new OString("-0.0"), 1e-7f} in test_rtl_OString_toFloat()
2975 OString* input; in test_rtl_OString_toBoolean()
2981 {"expected true", sal_True, new OString("True")}, in test_rtl_OString_toBoolean()
2982 {"expected false", sal_False, new OString("False")}, in test_rtl_OString_toBoolean()
2983 {"expected true", sal_True, new OString("1")} in test_rtl_OString_toBoolean()
3023 OString str(in[i]); in test_toInt32()
3051 ::rtl::OString str("0"); in test_rtl_OString_toInt32_wrongRadix()
3213 OString str( in[i] ); in test_toInt64()
3240 ::rtl::OString str("0"); in test_rtl_OString_toInt64_wrongRadix()
3403 OString* expVal; in test_rtl_OString_replace()
3404 OString* input; in test_rtl_OString_replace()
3413 {"string differs", new OString(kTestStr18), in test_rtl_OString_replace()
3414 new OString(kTestStr4),'S','s'}, in test_rtl_OString_replace()
3415 {"string differs", new OString(kTestStr19), in test_rtl_OString_replace()
3416 new OString(kTestStr17),(sal_Char)' ',(sal_Char)'-'}, in test_rtl_OString_replace()
3417 {"same string, no replace ", new OString(kTestStr22), in test_rtl_OString_replace()
3418 new OString(kTestStr22),'*','8'} in test_rtl_OString_replace()
3427 ::rtl::OString aStr1; in test_rtl_OString_replace()
3460 OString* expVal; in test_rtl_OString_replaceAt()
3461 OString* input; in test_rtl_OString_replaceAt()
3462 OString* newStr; in test_rtl_OString_replaceAt()
3472 { "string differs", new OString(kTestStr2), new OString(kTestStr22), in test_rtl_OString_replaceAt()
3473 new OString(kTestStr2), 0, kTestStr22Len }, in test_rtl_OString_replaceAt()
3475 { "larger index", new OString(kTestStr1), new OString(kTestStr7), in test_rtl_OString_replaceAt()
3476 new OString(kTestStr8), 64, kTestStr8Len }, in test_rtl_OString_replaceAt()
3478 { "larger count", new OString(kTestStr2), new OString(kTestStr22), in test_rtl_OString_replaceAt()
3479 new OString(kTestStr2),0, 64 }, in test_rtl_OString_replaceAt()
3481 { "navigate index", new OString(kTestStr2), new OString(kTestStr22), in test_rtl_OString_replaceAt()
3482 new OString(kTestStr2), -64, 64 }, in test_rtl_OString_replaceAt()
3484 { "null string", new OString(""), in test_rtl_OString_replaceAt()
3485 new OString(kTestStr14),new OString(""), 0, kTestStr14Len } in test_rtl_OString_replaceAt()
3493 ::rtl::OString aStr1; in test_rtl_OString_replaceAt()