Lines Matching refs:rTest
60 void testConvertToString(TestConvertToString const & rTest) in testConvertToString() argument
62 const rtl::OUString aSource(rTest.aSource, rTest.nLength); in testConvertToString()
64 bool bSuccess = aSource.convertToString(&aStrict, rTest.nEncoding, in testConvertToString()
65 rTest.nFlags); in testConvertToString()
66 rtl::OString aRelaxed(rtl::OUStringToOString(aSource, rTest.nEncoding, in testConvertToString()
67 rTest.nFlags)); in testConvertToString()
71 for (sal_Int32 i = 0; i < rTest.nLength; ++i) in testConvertToString()
74 aPrefix.append(static_cast< sal_Int32 >(rTest.aSource[i]), 16); in testConvertToString()
75 if (i + 1 < rTest.nLength) in testConvertToString()
79 aPrefix.append(static_cast< sal_Int32 >(rTest.nEncoding)); in testConvertToString()
81 aPrefix.append(static_cast< sal_Int32 >(rTest.nFlags), 16); in testConvertToString()
86 if (rTest.pStrict == 0 || !aStrict.equals(rTest.pStrict)) in testConvertToString()
103 if (rTest.pStrict != 0) in testConvertToString()
110 if (!aRelaxed.equals(rTest.pRelaxed)) in testConvertToString()