summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-12-17 16:27:22 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-12-17 16:27:56 +0100
commitc075b8068bff1b3c6025638aaf0acab5bbebab4d (patch)
treeaa5f59bde99feb0bfefe3bfec34caceebe414a14 /sal/qa
parent1b0591e934540db3bb31342ccc7849ed49338a96 (diff)
OUString::reverseCompareTo() string literal overload to match the AsciiL one
Change-Id: Id5ca706aa3fd1831990db2310933c6b94ca376cb
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/rtl/strings/test_oustring_stringliterals.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
index a6d7145b9700..873b5366f6a5 100644
--- a/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
+++ b/sal/qa/rtl/strings/test_oustring_stringliterals.cxx
@@ -145,6 +145,7 @@ void test::oustring::StringLiterals::checkUsage()
CPPUNIT_ASSERT( foobarfoo.replaceFirst( "foo", "test" ) == "testbarfoo" );
CPPUNIT_ASSERT( foobarfoo.replaceAll( "foo", test ) == "testbartest" );
CPPUNIT_ASSERT( foobarfoo.replaceAll( "foo", "test" ) == "testbartest" );
+ CPPUNIT_ASSERT( foo.reverseCompareTo( "foo" ) == 0 );
// if this is not true, some of the calls above converted to OUString
CPPUNIT_ASSERT( rtl_string_unittest_const_literal == false );
}