Lines Matching refs:s1
80 OString s1("Mein erster RTL OString\n"); in test_OStringBuffer() local
82 OStringBuffer b1(s1); in test_OStringBuffer()
84 TEST_ENSURE( b1.getCapacity() == 16 + s1.getLength(), "test_OStringBuffer error 1"); in test_OStringBuffer()
87 s1 = "Mein erster RTL OStringBuffer\n"; in test_OStringBuffer()
88 TEST_ENSURE( s1 == b1.getStr(), "test_OStringBuffer error 2"); in test_OStringBuffer()
95 s1 = "false"; in test_OStringBuffer()
98 TEST_ENSURE( s1 == b2.getStr(), "test_OStringBuffer error 4"); in test_OStringBuffer()
101 s1 += " 123456789"; in test_OStringBuffer()
104 TEST_ENSURE( s1 == b2.getStr(), "test_OStringBuffer error 5"); in test_OStringBuffer()
115 s1 += " -3223372036854775807"; in test_OStringBuffer()
118 TEST_ENSURE( s1 == b2.getStr(), "test_OStringBuffer error 6"); in test_OStringBuffer()
122 TEST_ENSURE( s1 == s2, "test_OStringBuffer error 7"); in test_OStringBuffer()
174 OUString s1(OUString::createFromAscii("Mein erster RTL OUString\n")); in test_OUStringBuffer() local
176 OUStringBuffer b1(s1); in test_OUStringBuffer()
178 TEST_ENSURE( b1.getCapacity() == 16 + s1.getLength(), "test_OWStringBuffer error 1"); in test_OUStringBuffer()
181 s1 = OUString::createFromAscii("Mein erster RTL OUStringBuffer\n"); in test_OUStringBuffer()
182 TEST_ENSURE( s1 == b1.getStr(), "test_OWStringBuffer error 2"); in test_OUStringBuffer()
189 s1 = OUString::createFromAscii("false"); in test_OUStringBuffer()
192 TEST_ENSURE( s1 == b2.getStr(), "test_OWStringBuffer error 4"); in test_OUStringBuffer()
195 s1 += OUString::createFromAscii(" 123456789"); in test_OUStringBuffer()
198 TEST_ENSURE( s1 == b2.getStr(), "test_OWStringBuffer error 5"); in test_OUStringBuffer()
209 s1 += OUString::createFromAscii(" -3223372036854775807"); in test_OUStringBuffer()
212 TEST_ENSURE( s1 == b2.getStr(), "test_OWStringBuffer error 6"); in test_OUStringBuffer()
216 TEST_ENSURE( s1 == s2, "test_OWStringBuffer error 7"); in test_OUStringBuffer()