Lines Matching refs:arrTestCase
278 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_makeStringAndClear() local
301 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_makeStringAndClear()
304 ( arrTestCase[i].input1->makeStringAndClear() == in test_rtl_OUStringBuffer_makeStringAndClear()
305 *( arrTestCase[i].expVal )); in test_rtl_OUStringBuffer_makeStringAndClear()
306 lastRes = lastRes && ( arrTestCase[i].input1->getCapacity() == 0 ); in test_rtl_OUStringBuffer_makeStringAndClear()
307 lastRes = lastRes && ( *(arrTestCase[i].input1->getStr()) == '\0' ); in test_rtl_OUStringBuffer_makeStringAndClear()
313 arrTestCase[i].comments, in test_rtl_OUStringBuffer_makeStringAndClear()
354 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_getLength() local
378 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_getLength()
380 sal_Int32 length = arrTestCase[i].input->getLength(); in test_rtl_OUStringBuffer_getLength()
381 sal_Bool lastRes = (length == arrTestCase[i].expVal); in test_rtl_OUStringBuffer_getLength()
386 arrTestCase[i].comments, in test_rtl_OUStringBuffer_getLength()
427 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_getCapacity() local
463 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_getCapacity()
465 sal_Int32 length = arrTestCase[i].input->getCapacity(); in test_rtl_OUStringBuffer_getCapacity()
466 sal_Bool lastRes = (length == arrTestCase[i].expVal); in test_rtl_OUStringBuffer_getCapacity()
471 arrTestCase[i].comments, in test_rtl_OUStringBuffer_getCapacity()
500 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_ensureCapacity() local
558 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_ensureCapacity()
560 arrTestCase[i].input1->ensureCapacity(arrTestCase[i].input2); in test_rtl_OUStringBuffer_ensureCapacity()
561 sal_Int32 length = arrTestCase[i].input1->getCapacity(); in test_rtl_OUStringBuffer_ensureCapacity()
562 sal_Bool lastRes = (length == arrTestCase[i].expVal); in test_rtl_OUStringBuffer_ensureCapacity()
568 arrTestCase[i].comments, in test_rtl_OUStringBuffer_ensureCapacity()
610 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_setLength() local
688 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_setLength()
690 arrTestCase[i].input1->setLength(arrTestCase[i].input2); in test_rtl_OUStringBuffer_setLength()
692 ( arrTestCase[i].input1->getStr() == *(arrTestCase[i].expVal2) && in test_rtl_OUStringBuffer_setLength()
693 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal1 && in test_rtl_OUStringBuffer_setLength()
694 arrTestCase[i].input1->getCapacity() == arrTestCase[i].expVal3 ); in test_rtl_OUStringBuffer_setLength()
700 arrTestCase[i].comments, in test_rtl_OUStringBuffer_setLength()
734 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_charAt() local
765 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_charAt()
768 ( arrTestCase[i].input1->charAt(arrTestCase[i].input2) == in test_rtl_OUStringBuffer_charAt()
769 arrTestCase[i].expVal ); in test_rtl_OUStringBuffer_charAt()
777 arrTestCase[i].comments, in test_rtl_OUStringBuffer_charAt()
829 TestCase arrTestCase[] = in test_rtl_OUStringBuffer_csuc() local
838 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_csuc()
840 const sal_Unicode* pstr = *arrTestCase[i].input1; in test_rtl_OUStringBuffer_csuc()
845 cmpustr( pstr, arrTestCase[i].expVal, arrTestCase[i].cmpLen ), in test_rtl_OUStringBuffer_csuc()
846 arrTestCase[i].comments, in test_rtl_OUStringBuffer_csuc()
884 TestCase arrTestCase[] = in test_rtl_OUStringBuffer_getStr() local
893 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_getStr()
895 const sal_Unicode* pstr = arrTestCase[i].input1->getStr(); in test_rtl_OUStringBuffer_getStr()
900 cmpustr( pstr, arrTestCase[i].expVal, arrTestCase[i].cmpLen ), in test_rtl_OUStringBuffer_getStr()
901 arrTestCase[i].comments, in test_rtl_OUStringBuffer_getStr()
934 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_setCharAt() local
974 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_setCharAt()
977 ( (arrTestCase[i].input1->setCharAt(arrTestCase[i].input2, in test_rtl_OUStringBuffer_setCharAt()
978 arrTestCase[i].input3)).getStr() == *(arrTestCase[i].expVal) ); in test_rtl_OUStringBuffer_setCharAt()
985 arrTestCase[i].comments, in test_rtl_OUStringBuffer_setCharAt()
996 arrTestCase[i].comments, in test_rtl_OUStringBuffer_setCharAt()
1034 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_append_001() local
1107 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_append_001()
1109 arrTestCase[i].input1->append( *(arrTestCase[i].input2) ); in test_rtl_OUStringBuffer_append_001()
1111 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_append_001()
1112 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_append_001()
1118 arrTestCase[i].comments, in test_rtl_OUStringBuffer_append_001()
1156 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_append_002() local
1229 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_append_002()
1231 arrTestCase[i].input1->append( arrTestCase[i].input2 ); in test_rtl_OUStringBuffer_append_002()
1233 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_append_002()
1234 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_append_002()
1240 arrTestCase[i].comments, in test_rtl_OUStringBuffer_append_002()
1279 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_append_003() local
1377 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_append_003()
1379 arrTestCase[i].input1->append( in test_rtl_OUStringBuffer_append_003()
1380 arrTestCase[i].input2, arrTestCase[i].input3); in test_rtl_OUStringBuffer_append_003()
1382 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_append_003()
1383 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_append_003()
1389 arrTestCase[i].comments, in test_rtl_OUStringBuffer_append_003()
1427 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_append_004() local
1473 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_append_004()
1475 arrTestCase[i].input1->append( in test_rtl_OUStringBuffer_append_004()
1476 arrTestCase[i].input2 ); in test_rtl_OUStringBuffer_append_004()
1478 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_append_004()
1479 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_append_004()
1485 arrTestCase[i].comments, in test_rtl_OUStringBuffer_append_004()
1536 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_appendAscii_001() local
1613 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_appendAscii_001()
1615 arrTestCase[i].input1->appendAscii( arrTestCase[i].input2 ); in test_rtl_OUStringBuffer_appendAscii_001()
1617 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_appendAscii_001()
1618 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_appendAscii_001()
1624 arrTestCase[i].comments, in test_rtl_OUStringBuffer_appendAscii_001()
1661 TestCase arrTestCase[]={ in test_rtl_OUStringBuffer_appendAscii_002() local
1759 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_appendAscii_002()
1761 arrTestCase[i].input1->appendAscii( in test_rtl_OUStringBuffer_appendAscii_002()
1762 arrTestCase[i].input2, arrTestCase[i].input3); in test_rtl_OUStringBuffer_appendAscii_002()
1764 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_appendAscii_002()
1765 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_appendAscii_002()
1771 arrTestCase[i].comments, in test_rtl_OUStringBuffer_appendAscii_002()