diff options
author | Wilhelm Pflueger <Wilhelm.Pflueger@web.de> | 2011-02-05 22:31:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-08 10:04:57 +0000 |
commit | bb46c0314a42bacba92c30cafd0ddc09b03dce9b (patch) | |
tree | 22a75ac9ea478e2dd0b0368731661f07d732a34c /sal | |
parent | e7a71425e416c7daef5251b2ad81187fe9af39db (diff) |
Re-animated tests that were based on testshl.
One test in test_outstring_convert.cxx fails for method
rtl::OUString::convertToString().
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/strings/test_oustringbuffer_utf32.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/rtl/strings/test_oustringbuffer_utf32.cxx b/sal/qa/rtl/strings/test_oustringbuffer_utf32.cxx index 72536f2fde21..27c0185a4f9d 100644 --- a/sal/qa/rtl/strings/test_oustringbuffer_utf32.cxx +++ b/sal/qa/rtl/strings/test_oustringbuffer_utf32.cxx @@ -104,13 +104,13 @@ void test::oustringbuffer::Utf32::appendUtf32() { rtl::OUString res1(buf1.makeStringAndClear()); createMessage(message, res1, rtl::OUString(str2, str2Len)); CPPUNIT_ASSERT_MESSAGE( - message.getStr(), res1 == rtl::OUString(str2, str2Len)); + (const char *) message.getStr(), res1 == rtl::OUString(str2, str2Len)); rtl::OUStringBuffer buf2(rtl::OUString(str2, str2Len)); buf2.appendUtf32(0x10000); rtl::OUString res2(buf2.makeStringAndClear()); createMessage(message, res2, rtl::OUString(str3, str3Len)); CPPUNIT_ASSERT_MESSAGE( - message.getStr(), res2 == rtl::OUString(str3, str3Len)); + (const char *)message.getStr(), res2 == rtl::OUString(str3, str3Len)); } void test::oustringbuffer::Utf32::insertUtf32() { @@ -126,13 +126,13 @@ void test::oustringbuffer::Utf32::insertUtf32() { rtl::OUString res1(buf1.makeStringAndClear()); createMessage(message, res1, rtl::OUString(str2, str2Len)); CPPUNIT_ASSERT_MESSAGE( - message.getStr(), res1 == rtl::OUString(str2, str2Len)); + (const char *) message.getStr(), res1 == rtl::OUString(str2, str2Len)); rtl::OUStringBuffer buf2(rtl::OUString(str2, str2Len)); buf2.insertUtf32(2, 0x10FFFF); rtl::OUString res2(buf2.makeStringAndClear()); createMessage(message, res2, rtl::OUString(str3, str3Len)); CPPUNIT_ASSERT_MESSAGE( - message.getStr(), res2 == rtl::OUString(str3, str3Len)); + (const char *) message.getStr(), res2 == rtl::OUString(str3, str3Len)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |