Lines Matching refs:rTest
45 void testConvertToString(TestConvertToString const & rTest) in testConvertToString() argument
47 const rtl::OUString aSource(rTest.aSource, rTest.nLength); in testConvertToString()
49 bool bSuccess = aSource.convertToString(&aStrict, rTest.nEncoding, in testConvertToString()
50 rTest.nFlags); in testConvertToString()
51 rtl::OString aRelaxed(rtl::OUStringToOString(aSource, rTest.nEncoding, in testConvertToString()
52 rTest.nFlags)); in testConvertToString()
56 for (sal_Int32 i = 0; i < rTest.nLength; ++i) in testConvertToString()
59 aPrefix.append(static_cast< sal_Int32 >(rTest.aSource[i]), 16); in testConvertToString()
60 if (i + 1 < rTest.nLength) in testConvertToString()
64 aPrefix.append(static_cast< sal_Int32 >(rTest.nEncoding)); in testConvertToString()
66 aPrefix.append(static_cast< sal_Int32 >(rTest.nFlags), 16); in testConvertToString()
71 if (rTest.pStrict == 0 || !aStrict.equals(rTest.pStrict)) in testConvertToString()
88 if (rTest.pStrict != 0) in testConvertToString()
95 if (!aRelaxed.equals(rTest.pRelaxed)) in testConvertToString()