diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-15 21:21:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-15 21:21:50 +0000 |
commit | e6c0094b20bd9846afae9c8afebe58fbefbf8371 (patch) | |
tree | 7843b4e52cf87ca70261152e4ee43f0e6d97613a | |
parent | f192c141ada58d1e9313e99802bd3aed19532ad1 (diff) |
drop two arg one from this test, because it has different semantics
-rw-r--r-- | sal/workben/measure_oustrings.cxx | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/sal/workben/measure_oustrings.cxx b/sal/workben/measure_oustrings.cxx index be54cbdfdaa5..f9ce02bec8bd 100644 --- a/sal/workben/measure_oustrings.cxx +++ b/sal/workben/measure_oustrings.cxx @@ -228,20 +228,15 @@ SAL_IMPLEMENT_MAIN() sCompare.equalsAscii("apple"); ) + //(const sal_Char*, sal_Int32) version has different semantics TIME ( - "rtl::OUString::compareToAscii (one arg) (!=0)", + "rtl::OUString::compareToAscii (const sal_Char*)", sCompare.compareToAscii("apple"); ) TIME ( - "rtl::OUString::compareToAscii (two args) (!=0)", - sCompare.compareToAscii(RTL_CONSTASCII_STRINGPARAM("apple")); - ) - - TIME - ( "operator==(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM_CLASSIC(\"apple\")))", sCompare == rtl::OUString(RTL_CONSTASCII_USTRINGPARAM_CLASSIC("apple")); ) @@ -264,19 +259,14 @@ SAL_IMPLEMENT_MAIN() TIME ( - "rtl::OUString::compareToAscii (two args) (==0)", - sCompare.compareToAscii(RTL_CONSTASCII_STRINGPARAM("XXXXXXXXXXXXXXX")); - ) - - TIME - ( "rtl::OUString::equalsAscii", sCompare.equalsAscii("XXXXXXXXXXXXXXX"); ) + //(const sal_Char*, sal_Int32) version has different semantics TIME ( - "rtl::OUString::compareToAscii (one arg) (==0)", + "rtl::OUString::compareToAscii (const sal_Char*)", sCompare.compareToAscii("XXXXXXXXXXXXXXX"); ) |