[Libreoffice-commits] core.git: basic/qa
Noel Power
noel.power at suse.com
Tue Aug 20 01:14:02 PDT 2013
basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb | 4 ++--
basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit fbf8ae82411d56189f844f9f00ccc6cf6b0827bf
Author: Noel Power <noel.power at suse.com>
Date: Tue Aug 20 09:12:59 2013 +0100
fix for fdo#62323 fix duplicated and wrong tests
Change-Id: I73dc238f7de59367a0a9d00e5421ea6675b4f556
diff --git a/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb b/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb
index f33d74c..c660486 100644
--- a/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb
+++ b/basic/qa/basic_coverage/test_hexliteral_negIntLimit-2.vb
@@ -9,8 +9,8 @@
Function doUnitTest as Integer
Dim lngDecimal as Long
- lngDecimal = Clng(&HFFFFFFFF)
- If lngDecimal = -1 Then
+ lngDecimal = Clng(&H80000000)
+ If lngDecimal = -2147483648 Then
doUnitTest = 1
Else
doUnitTest = 0
diff --git a/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb b/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
index c660486..a03dadc 100644
--- a/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
+++ b/basic/qa/basic_coverage/test_hexliteral_posIntLimit.vb
@@ -9,8 +9,8 @@
Function doUnitTest as Integer
Dim lngDecimal as Long
- lngDecimal = Clng(&H80000000)
- If lngDecimal = -2147483648 Then
+ lngDecimal = Clng(&H7FFFFFFF)
+ If lngDecimal = 2147483647 Then
doUnitTest = 1
Else
doUnitTest = 0
More information about the Libreoffice-commits
mailing list