Lines Matching refs:OUString

89 	OUString s1(OUString::createFromAscii("Mein erster RTL OUString\n"));  in test_OUString()
90 …TEST_ENSURE( s1 == OUString::createFromAscii("Mein erster RTL OUString\n"), "test_OWString error 1… in test_OUString()
93 OUString s2 = s1; in test_OUString()
96 …TEST_ENSURE( OUString( OUString::createFromAscii("hallo")) == OUString::createFromAscii( "hallo"),… in test_OUString()
110 OUString s3 = s2.copy(0, s2.getLength() - 1); in test_OUString()
111 OUString s4 = s3.concat( OUString::createFromAscii(" ist ein String aus der RTL Library\n") ); in test_OUString()
115 OUString s5; in test_OUString()
116 s5 = s1 + OUString::createFromAscii( " aus der RTL Library\n" ); in test_OUString()
118 TEST_ENSURE( s5.indexOf(OUString::createFromAscii("RTL")) == 12, "test_OWString error 13"); in test_OUString()
119 TEST_ENSURE( s5.lastIndexOf(OUString::createFromAscii("RTL")) == 48, "test_OWString error 13"); in test_OUString()
122 OUString s6 = s5.valueOf(b); in test_OUString()
125 TEST_ENSURE( s6.compareTo(OUString::createFromAscii("H")) == 0, "test_OWString error 15"); in test_OUString()
128 TEST_ENSURE( s6.compareTo(OUString::createFromAscii("123456789")) == 0, "test_OWString error 16"); in test_OUString()
140 …TEST_ENSURE( s6.compareTo( OUString::createFromAscii( "-3223372036854775807" ) ) == 0, "test_OWStr… in test_OUString()
175 OUString s7; in test_OUString()
176 OUString s8(OUString::createFromAscii("HALLO ICH BIN EIN SS")); in test_OUString()
177 s7 = OUString::createFromAscii(" "); in test_OUString()
178 s8 = s7 + s8 + OUString::createFromAscii(" " ); in test_OUString()
179 TEST_ENSURE( s8 == OUString::createFromAscii(" HALLO ICH BIN EIN SS "), in test_OUString()
183 TEST_ENSURE( s7 == OUString::createFromAscii("HALLO ICH BIN EIN SS"), "test_OWString error 23"); in test_OUString()
186 s7 = OUString::createFromAscii("Hallo"); in test_OUString()
187 s8 = OUString::createFromAscii("aber Hallo"); in test_OUString()
192 TEST_ENSURE( s7 != OUString::createFromAscii("blabla"), "test_OWString error 28"); in test_OUString()
193 TEST_ENSURE( OUString::createFromAscii("blabla") != s7, "test_OWString error 29"); in test_OUString()
195 s8 = OUString::createFromAscii("Hallo"); in test_OUString()
200 TEST_ENSURE( s8 == OUString::createFromAscii("Harro"), "test_OWString error 32"); in test_OUString()
206 s8 = OUString::createFromAscii("Ich bin ein String mit einem A und C und vielen m, m, m, m"); in test_OUString()
250 …TEST_ENSURE( OUString::createFromAscii("aaa" ).compareTo( OUString::createFromAscii("bbb" ) ) < 0,… in test_OUString()
251 …TEST_ENSURE( OUString::createFromAscii("aaa" ).compareTo( OUString::createFromAscii("aaa" ) ) == 0… in test_OUString()
252 …TEST_ENSURE( OUString::createFromAscii("bbb" ).compareTo( OUString::createFromAscii("aaa" ) ) > 0,… in test_OUString()
253 …TEST_ENSURE( OUString::createFromAscii("aaaa" ).compareTo( OUString::createFromAscii("bbb" ) ) < 0… in test_OUString()
254 …TEST_ENSURE( OUString::createFromAscii("aaa" ).compareTo( OUString::createFromAscii("bbbb" ) ) < 0… in test_OUString()
255 …TEST_ENSURE( OUString::createFromAscii("aaa" ).compareTo( OUString::createFromAscii("aaaa" ) ) < 0… in test_OUString()
256 …TEST_ENSURE( OUString::createFromAscii("aaaa" ).compareTo( OUString::createFromAscii("aaa" ) ) > 0… in test_OUString()
257 …TEST_ENSURE( OUString::createFromAscii("bbbb" ).compareTo( OUString::createFromAscii("bbb" ) ) > 0… in test_OUString()
258 …TEST_ENSURE( OUString::createFromAscii("bbb" ) == OUString::createFromAscii("bbb" ), "test_OWStrin… in test_OUString()
259 …TEST_ENSURE( OUString::createFromAscii("bbb" ) == OUString::createFromAscii("bbb" ), "test_OWStrin… in test_OUString()
262 OUString uStr = OUString::createFromAscii( "Hallo" ); in test_OUString()
263 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Hallo"), 5 ) == 0, "test_OWString error 54… in test_OUString()
264 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Halloa"), 6 ) < 0 , "test_OWString error 5… in test_OUString()
265 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("1Hallo"), 6 ) > 0, "test_OWString error 54… in test_OUString()
266 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Aallo"), 5 ) > 0, "test_OWString error 54.… in test_OUString()
267 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Halla"), 5 ) > 0, "test_OWString error 54.… in test_OUString()
268 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Mallo"), 5 ) < 0, "test_OWString error 54.… in test_OUString()
269 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Hallp"), 5 ) < 0, "test_OWString error 54.… in test_OUString()
274 s7 = OUString::createFromAscii("Hallo jetzt komm ich"); in test_OUString()
277 TEST_ENSURE( s8.compareTo(OUString()) == 0, "test_OWString error 56"); in test_OUString()
291 OUString OWAsciiStr1 = OUString::createFromAscii( ascii_str1 ); in test_OUString()
294 OUString OWAsciiStr2 = OUString::createFromAscii( ascii_str2 ); in test_OUString()
319 OUString uStr = OUString::createFromAscii( "Hallo" ); in test_OUString()
336 OUString s9( OUString::createFromAscii(" -3223372036854775807") ); in test_OUString()
343 OUString s10( OUString::createFromAscii("13243A65f1H45") ); in test_OUString()
354 OUString s11( OUString::createFromAscii("H4A") ); in test_OUString()
359 OUString s12( OUString::createFromAscii(" -220368507") ); in test_OUString()
363 OUString s13( OUString::createFromAscii("4423A61H45") ); in test_OUString()
388 OUString u1 = OStringToOUString(s1, RTL_TEXTENCODING_MS_1252); in test_OString2OUStringAndViceVersa()
389 …TEST_ENSURE( u1.equals(OUString::createFromAscii("Hallo jetzt komm ich")), "test_OString2OWStringA… in test_OString2OUStringAndViceVersa()
391 …TEST_ENSURE( u1.equals(OUString::createFromAscii("Hallo jetzt komm ich")), "test_OString2OWStringA… in test_OString2OUStringAndViceVersa()
393 …TEST_ENSURE( u1.equals(OUString::createFromAscii("Hallo jetzt komm ich")), "test_OString2OWStringA… in test_OString2OUStringAndViceVersa()
395 …TEST_ENSURE( u1.equals(OUString::createFromAscii("Hallo jetzt komm ich")), "test_OString2OWStringA… in test_OString2OUStringAndViceVersa()