Lines Matching refs:b1
82 OStringBuffer b1(s1); in test_OStringBuffer() local
84 TEST_ENSURE( b1.getCapacity() == 16 + s1.getLength(), "test_OStringBuffer error 1"); in test_OStringBuffer()
86 b1.insert(b1.getLength() - 1, "Buffer"); in test_OStringBuffer()
88 TEST_ENSURE( s1 == b1.getStr(), "test_OStringBuffer error 2"); in test_OStringBuffer()
90 b1.insert(b1.getLength() - 1, " ist viel zu gross fuer den alten Buffer"); in test_OStringBuffer()
91 TEST_ENSURE( b1.getCapacity() == b1.getLength(), "test_OStringBuffer error 3"); in test_OStringBuffer()
176 OUStringBuffer b1(s1); in test_OUStringBuffer() local
178 TEST_ENSURE( b1.getCapacity() == 16 + s1.getLength(), "test_OWStringBuffer error 1"); in test_OUStringBuffer()
180 b1.insert(b1.getLength() - 1, OUString::createFromAscii("Buffer")); in test_OUStringBuffer()
182 TEST_ENSURE( s1 == b1.getStr(), "test_OWStringBuffer error 2"); in test_OUStringBuffer()
184 …b1.insert(b1.getLength() - 1, OUString::createFromAscii(" ist viel zu gross fuer den alten Buffer"… in test_OUStringBuffer()