[Libreoffice-commits] .: sal/qa

Lubos Lunak llunak at kemper.freedesktop.org
Mon Mar 26 10:11:51 PDT 2012


 sal/qa/rtl/strings/test_ostring_stringliterals.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 205ee3062e494733f10b13057135b1eb8646e93d
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Mon Mar 26 19:09:34 2012 +0200

    finish work-in-progress test

diff --git a/sal/qa/rtl/strings/test_ostring_stringliterals.cxx b/sal/qa/rtl/strings/test_ostring_stringliterals.cxx
index 2176a50..d665ee2 100644
--- a/sal/qa/rtl/strings/test_ostring_stringliterals.cxx
+++ b/sal/qa/rtl/strings/test_ostring_stringliterals.cxx
@@ -157,8 +157,7 @@ void test::ostring::StringLiterals::checkNonConstUsage()
 
     rtl_string_unittest_const_literal = false; // start checking for OString conversions
     rtl_string_unittest_const_literal_function = false; // and check for const variants
-    sleep(10);
-    rtl::OString() = (const char*)"foo";
+    CPPUNIT_ASSERT_EQUAL( foo, rtl::OString() = (const char*)"foo" );
     CPPUNIT_ASSERT_EQUAL( foo, rtl::OString() = foo_c );
     // if this is not true, some of the calls above converted to OString
     CPPUNIT_ASSERT( rtl_string_unittest_const_literal == false );


More information about the Libreoffice-commits mailing list