summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorPascal Junck <pjunck@openoffice.org>2004-11-02 09:31:31 +0000
committerPascal Junck <pjunck@openoffice.org>2004-11-02 09:31:31 +0000
commit9eeebfdca804634671e6fbc489a6244109390923 (patch)
tree1697736b282e3367407722da3f0bdfaa51436177 /sal
parent95f3d2e52834678a99d5963ff60a097e827f6372 (diff)
INTEGRATION: CWS qadev19 (1.2.46); FILE MERGED
2004/09/20 13:05:47 lla 1.2.46.1: #117552# problems with 64bit values solved
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl_strings/rtl_old_testowstring.cxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/sal/qa/rtl_strings/rtl_old_testowstring.cxx b/sal/qa/rtl_strings/rtl_old_testowstring.cxx
index 0e78516b9e12..f75ea73ff9f6 100644
--- a/sal/qa/rtl_strings/rtl_old_testowstring.cxx
+++ b/sal/qa/rtl_strings/rtl_old_testowstring.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: rtl_old_testowstring.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2004-05-03 09:19:11 $
+ * last change: $Author: pjunck $ $Date: 2004-11-02 10:31:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -368,15 +368,21 @@ void oldtests::test_OUString()
// toInt64
OUString s9( OUString::createFromAscii(" -3223372036854775807") );
sal_Int64 ln1 = s9.toInt64();
+#ifdef UNX
+ TEST_ENSURE( ln1 == -3223372036854775807LL, "test_OWString error 67" );
+#else
TEST_ENSURE( ln1 == -3223372036854775807, "test_OWString error 67" );
-
+#endif
OUString s10( OUString::createFromAscii("13243A65f1H45") );
sal_Int64 ln2 = s10.toInt64();
TEST_ENSURE( ln2 == 13243, "test_OWString error 68" );
sal_Int64 ln3 = s10.toInt64( 16 );
+#ifdef UNX
+ TEST_ENSURE( ln3 == 0x13243A65F1LL, "test_OWString error 69" );
+#else
TEST_ENSURE( ln3 == 0x13243A65F1, "test_OWString error 69" );
-
+#endif
// Exotic base
OUString s11( OUString::createFromAscii("H4A") );
sal_Int64 ln4 = s11.toInt64( 23 );