summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-03-26 19:09:34 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-03-26 19:11:45 +0200
commit205ee3062e494733f10b13057135b1eb8646e93d (patch)
tree35725e2ddcd2034e7c72d8f6a8246b95f4731f3f
parent09517a98fe44eafcd19a8eecb0c14384799e2684 (diff)
finish work-in-progress test
-rw-r--r--sal/qa/rtl/strings/test_ostring_stringliterals.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/qa/rtl/strings/test_ostring_stringliterals.cxx b/sal/qa/rtl/strings/test_ostring_stringliterals.cxx
index 2176a5023a0c..d665ee2e0f84 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 );