Lines Matching refs:s2
93 OUString s2 = s1; in test_OUString() local
94 TEST_ENSURE( s2[16] == (sal_Unicode)'O', "test_OWString error 3"); in test_OUString()
95 TEST_ENSURE( s2.equals(s1), "test_OWString error 4"); in test_OUString()
97 TEST_ENSURE( s2.indexOf((sal_Unicode)'O') == 16, "test_OWString error 5"); in test_OUString()
98 TEST_ENSURE( s2.indexOf((sal_Unicode)'O', 5) == 16, "test_OWString error 5a"); in test_OUString()
99 TEST_ENSURE( s2.lastIndexOf((sal_Unicode)'r') == 20, "test_OWString error 6"); in test_OUString()
100 TEST_ENSURE( s2[20] == (sal_Unicode)'r', "test_OWString error 7"); in test_OUString()
101 TEST_ENSURE( s2[24] == (sal_Unicode)'\n', "test_OWString error 8"); in test_OUString()
102 TEST_ENSURE( s2.lastIndexOf((sal_Unicode)'\n') == 24, "test_OWString error 9"); in test_OUString()
103 TEST_ENSURE( s2.lastIndexOf((sal_Unicode)'M') == 0, "test_OWString error 10"); in test_OUString()
104 TEST_ENSURE( s2.lastIndexOf((sal_Unicode)'t', s2.getLength() - 8) == 8, "test_OWString error 9"); in test_OUString()
110 OUString s3 = s2.copy(0, s2.getLength() - 1); in test_OUString()
397 OString s2 = OUStringToOString(u1, RTL_TEXTENCODING_MS_1252); in test_OString2OUStringAndViceVersa() local
398 TEST_ENSURE( s2.equals("Hallo jetzt komm ich"), "test_OString2OWStringAndViceVersa error 5" ); in test_OString2OUStringAndViceVersa()
399 s2 = OUStringToOString(u1, RTL_TEXTENCODING_IBM_850); in test_OString2OUStringAndViceVersa()
400 TEST_ENSURE( s2.equals("Hallo jetzt komm ich"), "test_OString2OWStringAndViceVersa error 6" ); in test_OString2OUStringAndViceVersa()
401 s2 = OUStringToOString(u1, RTL_TEXTENCODING_ISO_8859_15); in test_OString2OUStringAndViceVersa()
402 TEST_ENSURE( s2.equals("Hallo jetzt komm ich"), "test_OString2OWStringAndViceVersa error 7" ); in test_OString2OUStringAndViceVersa()
403 s2 = OUStringToOString(u1, RTL_TEXTENCODING_ASCII_US); in test_OString2OUStringAndViceVersa()
404 TEST_ENSURE( s2.equals("Hallo jetzt komm ich"), "test_OString2OWStringAndViceVersa error 8" ); in test_OString2OUStringAndViceVersa()