Lines Matching refs:arrTestCase

221 	TestCase arrTestCase[]={  in test_rtl_OUString_getLength()  local
250 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_getLength()
252 sal_Int32 length = arrTestCase[i].input->getLength(); in test_rtl_OUString_getLength()
253 sal_Bool lastRes = (length == arrTestCase[i].expVal); in test_rtl_OUString_getLength()
258 arrTestCase[i].comments, in test_rtl_OUString_getLength()
287 TestCase arrTestCase[]={ in test_rtl_OUString_equals() local
335 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_equals()
338 ( arrTestCase[i].input1->equals(*(arrTestCase[i].input2)) == in test_rtl_OUString_equals()
339 arrTestCase[i].expVal ); in test_rtl_OUString_equals()
345 arrTestCase[i].comments, in test_rtl_OUString_equals()
375 TestCase arrTestCase[]={ in test_rtl_OUString_equalsIgnoreAsciiCase() local
403 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_equalsIgnoreAsciiCase()
406 (arrTestCase[i].input1->equalsIgnoreAsciiCase(*arrTestCase[i].input2) == in test_rtl_OUString_equalsIgnoreAsciiCase()
407 arrTestCase[i].expVal); in test_rtl_OUString_equalsIgnoreAsciiCase()
413 arrTestCase[i].comments, in test_rtl_OUString_equalsIgnoreAsciiCase()
439 TestCase arrTestCase[]={ in test_rtl_OUString_compareTo_001() local
488 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_compareTo_001()
490 sal_Int32 cmpRes = arrTestCase[i].input1->compareTo in test_rtl_OUString_compareTo_001()
491 (*arrTestCase[i].input2); in test_rtl_OUString_compareTo_001()
493 sal_Bool lastRes = ( cmpRes == arrTestCase[i].expVal); in test_rtl_OUString_compareTo_001()
500 arrTestCase[i].comments, in test_rtl_OUString_compareTo_001()
530 TestCase arrTestCase[] = in test_rtl_OUString_compareTo_002() local
555 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_compareTo_002()
557 sal_Int32 cmpRes = arrTestCase[i].input1->compareTo in test_rtl_OUString_compareTo_002()
558 (*arrTestCase[i].input2, arrTestCase[i].maxLength); in test_rtl_OUString_compareTo_002()
560 sal_Bool lastRes = (cmpRes == arrTestCase[i].expVal); in test_rtl_OUString_compareTo_002()
566 arrTestCase[i].comments, in test_rtl_OUString_compareTo_002()
605 TestCase arrTestCase[]={ in test_rtl_OUString_match_001() local
624 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_match_001()
626 sal_Bool lastRes = ( arrTestCase[i].input1->match( in test_rtl_OUString_match_001()
627 *(arrTestCase[i].input2)) == arrTestCase[i].expVal ); in test_rtl_OUString_match_001()
633 arrTestCase[i].comments, in test_rtl_OUString_match_001()
659 TestCase arrTestCase[]={ in test_rtl_OUString_match_002() local
694 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_match_002()
696 sal_Bool lastRes = ( arrTestCase[i].input1->match in test_rtl_OUString_match_002()
697 (*(arrTestCase[i].input2),arrTestCase[i].fromIndex) == in test_rtl_OUString_match_002()
698 arrTestCase[i].expVal ); in test_rtl_OUString_match_002()
704 arrTestCase[i].comments, in test_rtl_OUString_match_002()
743 TestCase arrTestCase[]={ in test_rtl_OUString_op_eq() local
763 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_op_eq()
765 *(arrTestCase[i].input1) = *(arrTestCase[i].input2); in test_rtl_OUString_op_eq()
766 sal_Bool lastRes = (*(arrTestCase[i].input1) == in test_rtl_OUString_op_eq()
767 *(arrTestCase[i].input2)); in test_rtl_OUString_op_eq()
772 arrTestCase[i].comments, in test_rtl_OUString_op_eq()
801 TestCase arrTestCase[]={ in test_rtl_OUString_op_peq() local
836 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_op_peq()
838 *(arrTestCase[i].input1) += *(arrTestCase[i].input2); in test_rtl_OUString_op_peq()
839 sal_Bool lastRes = (*(arrTestCase[i].expVal) == in test_rtl_OUString_op_peq()
840 *(arrTestCase[i].input1)); in test_rtl_OUString_op_peq()
845 arrTestCase[i].comments, in test_rtl_OUString_op_peq()
885 TestCase arrTestCase[] = in test_rtl_OUString_csuc() local
894 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_csuc()
896 const sal_Unicode* pstr = *arrTestCase[i].input1; in test_rtl_OUString_csuc()
902 (sal_Char*)arrTestCase[i].expVal, in test_rtl_OUString_csuc()
903 arrTestCase[i].cmpLen), in test_rtl_OUString_csuc()
904 arrTestCase[i].comments, in test_rtl_OUString_csuc()
942 TestCase arrTestCase[] = in test_rtl_OUString_getStr() local
951 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_getStr()
953 const sal_Unicode* pstr = arrTestCase[i].input1->getStr(); in test_rtl_OUString_getStr()
959 (sal_Char*)arrTestCase[i].expVal, in test_rtl_OUString_getStr()
960 arrTestCase[i].cmpLen), in test_rtl_OUString_getStr()
961 arrTestCase[i].comments, in test_rtl_OUString_getStr()
989 TestCase arrTestCase[]={ in test_rtl_OUString_reverseCompareTo() local
1026 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_reverseCompareTo()
1028 sal_Int32 cmpRes = arrTestCase[i].input1->reverseCompareTo in test_rtl_OUString_reverseCompareTo()
1029 (*arrTestCase[i].input2); in test_rtl_OUString_reverseCompareTo()
1031 sal_Bool lastRes = ( cmpRes == arrTestCase[i].expVal); in test_rtl_OUString_reverseCompareTo()
1038 arrTestCase[i].comments, in test_rtl_OUString_reverseCompareTo()
1072 TestCase arrTestCase[]={ in test_rtl_OUString_equalsAscii() local
1098 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_equalsAscii()
1101 sal_Bool lastRes = (arrTestCase[i].expVal == in test_rtl_OUString_equalsAscii()
1102 arrTestCase[i].input1->equalsAscii(arrTestCase[i].input2)); in test_rtl_OUString_equalsAscii()
1107 arrTestCase[i].comments, in test_rtl_OUString_equalsAscii()
1146 TestCase arrTestCase[]={ in test_rtl_OUString_equalsAsciiL() local
1177 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_equalsAsciiL()
1180 sal_Bool lastRes = (arrTestCase[i].expVal == in test_rtl_OUString_equalsAsciiL()
1181 arrTestCase[i].input1->equalsAsciiL(arrTestCase[i].input2, in test_rtl_OUString_equalsAsciiL()
1182 arrTestCase[i].cmpLen) in test_rtl_OUString_equalsAsciiL()
1188 arrTestCase[i].comments, in test_rtl_OUString_equalsAsciiL()
1223 TestCase arrTestCase[]={ in test_rtl_OUString_compareToAscii() local
1255 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_compareToAscii()
1257 sal_Bool lastRes = (arrTestCase[i].expVal == in test_rtl_OUString_compareToAscii()
1258 arrTestCase[i].input1->compareToAscii(arrTestCase[i].input2)); in test_rtl_OUString_compareToAscii()
1264 arrTestCase[i].comments, in test_rtl_OUString_compareToAscii()
1294 TestCase arrTestCase[]= in test_rtl_OUString_valueOf_sal_Bool() local
1311 for(i=0;i<(sizeof(arrTestCase))/(sizeof(TestCase));i++) in test_rtl_OUString_valueOf_sal_Bool()
1313 sal_Bool lastRes=(*arrTestCase[i].expVal== in test_rtl_OUString_valueOf_sal_Bool()
1314 OUString::valueOf(arrTestCase[i].input1) in test_rtl_OUString_valueOf_sal_Bool()
1320 arrTestCase[i].comments, in test_rtl_OUString_valueOf_sal_Bool()
1353 TestCase arrTestCase[]= in test_rtl_OUString_valueOf_sal_Unicode() local
1375 for(i=0;i<(sizeof(arrTestCase))/(sizeof(TestCase));i++) in test_rtl_OUString_valueOf_sal_Unicode()
1377 sal_Bool lastRes=(*(arrTestCase[i].expVal)== in test_rtl_OUString_valueOf_sal_Unicode()
1378 OUString::valueOf(arrTestCase[i].input1)); in test_rtl_OUString_valueOf_sal_Unicode()
1382 arrTestCase[i].comments, in test_rtl_OUString_valueOf_sal_Unicode()
1723 TestCase arrTestCase[]= in test_rtl_OUString_valueOf_Int32_defaultParam() local
1751 for(i=0;i<(sizeof(arrTestCase))/(sizeof(TestCase));i++) in test_rtl_OUString_valueOf_Int32_defaultParam()
1753 sal_Bool lastRes=(*(arrTestCase[i].expVal)== in test_rtl_OUString_valueOf_Int32_defaultParam()
1754 OUString::valueOf(arrTestCase[i].input1)); in test_rtl_OUString_valueOf_Int32_defaultParam()
1758 arrTestCase[i].comments, in test_rtl_OUString_valueOf_Int32_defaultParam()
2019 TestCase arrTestCase[]= in test_rtl_OUString_valueOf_Int64_defaultParam() local
2048 for(i=0;i<(sizeof(arrTestCase))/(sizeof(TestCase));i++) in test_rtl_OUString_valueOf_Int64_defaultParam()
2050 sal_Bool lastRes=(*(arrTestCase[i].expVal)== in test_rtl_OUString_valueOf_Int64_defaultParam()
2051 OUString::valueOf(arrTestCase[i].input1)); in test_rtl_OUString_valueOf_Int64_defaultParam()
2055 arrTestCase[i].comments, in test_rtl_OUString_valueOf_Int64_defaultParam()
2369 TestCase arrTestCase[]= in test_rtl_OUString_createFromAscii() local
2391 for(i=0;i<(sizeof(arrTestCase))/(sizeof(TestCase));i++) in test_rtl_OUString_createFromAscii()
2393 sal_Bool lastRes=(*(arrTestCase[i].expVal)== in test_rtl_OUString_createFromAscii()
2394 OUString::createFromAscii(arrTestCase[i].input1)); in test_rtl_OUString_createFromAscii()
2400 arrTestCase[i].comments, in test_rtl_OUString_createFromAscii()
2744 TestCase arrTestCase[] = in test_rtl_OUString_concat() local
2770 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_concat()
2772 OUString str = arrTestCase[i].input1->concat(*arrTestCase[i].input2); in test_rtl_OUString_concat()
2773 sal_Bool lastRes = (str == *arrTestCase[i].expVal); in test_rtl_OUString_concat()
2779 arrTestCase[i].comments, in test_rtl_OUString_concat()
2812 TestCase arrTestCase[]= in test_rtl_OUString_replaceAt() local
2839 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_replaceAt()
2842 aStr1 = arrTestCase[i].input->replaceAt( arrTestCase[i].index, in test_rtl_OUString_replaceAt()
2843 arrTestCase[i].count, *arrTestCase[i].newStr ); in test_rtl_OUString_replaceAt()
2845 sal_Bool lastRes = ( arrTestCase[i].expVal->compareTo(aStr1) == 0 ); in test_rtl_OUString_replaceAt()
2851 arrTestCase[i].comments, in test_rtl_OUString_replaceAt()
2883 TestCase arrTestCase[]= in test_rtl_OUString_replace() local
2902 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_replace()
2905 aStr1= arrTestCase[i].input->replace(arrTestCase[i].oldChar,arrTestCase[i].newChar); in test_rtl_OUString_replace()
2909 (arrTestCase[i].expVal->compareTo(aStr1) == 0), in test_rtl_OUString_replace()
2910 arrTestCase[i].comments, in test_rtl_OUString_replace()
2936 TestCase arrTestCase[] = in test_rtl_OUString_toAsciiLowerCase() local
2959 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_toAsciiLowerCase()
2961 OUString str = arrTestCase[i].input1->toAsciiLowerCase(); in test_rtl_OUString_toAsciiLowerCase()
2964 lastRes = (str ==* arrTestCase[i].expVal); in test_rtl_OUString_toAsciiLowerCase()
2970 arrTestCase[i].comments, in test_rtl_OUString_toAsciiLowerCase()
2980 arrTestCase[i].comments, in test_rtl_OUString_toAsciiLowerCase()
3007 TestCase arrTestCase[] = in test_rtl_OUString_toAsciiUpperCase() local
3029 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_toAsciiUpperCase()
3031 OUString str = arrTestCase[i].input1->toAsciiUpperCase(); in test_rtl_OUString_toAsciiUpperCase()
3034 lastRes = (str == *arrTestCase[i].expVal); in test_rtl_OUString_toAsciiUpperCase()
3040 arrTestCase[i].comments, in test_rtl_OUString_toAsciiUpperCase()
3050 arrTestCase[i].comments, in test_rtl_OUString_toAsciiUpperCase()
3079 TestCase arrTestCase[] = in test_rtl_OUString_trim() local
3123 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_trim()
3125 OUString strRes = arrTestCase[i].input1->trim(); in test_rtl_OUString_trim()
3126 sal_Bool lastRes = (strRes == *arrTestCase[i].expVal); in test_rtl_OUString_trim()
3132 arrTestCase[i].comments, in test_rtl_OUString_trim()
3332 TestCase arrTestCase[]={ in test_rtl_OUString_toBoolean() local
3346 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUString_toBoolean()
3348 sal_Bool bRes = arrTestCase[i].input->toBoolean(); in test_rtl_OUString_toBoolean()
3349 sal_Bool lastRes = (bRes == arrTestCase[i].expVal); in test_rtl_OUString_toBoolean()
3354 arrTestCase[i].comments, in test_rtl_OUString_toBoolean()