commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31325] New: - [math] ConplexFormat tests fail for French locale
Date Tue, 21 Sep 2004 03:48:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31325>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31325

[math] ConplexFormat tests fail for French locale

           Summary: [math] ConplexFormat tests fail for French locale
           Product: Commons
           Version: 1.0 Alpha
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Math
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


The ComplexFormat tests are failing when run on a French locale system. Test
output reported to commons-dev by Paul Libbrecht:

> cat  target/test-reports/TEST-
org.apache.commons.math.complex.ComplexFormatTest.txt
Testsuite: org.apache.commons.math.complex.ComplexFormatTest
Tests run: 34, Failures: 17, Errors: 0, Time elapsed: 1,09 sec

Testcase: 
testSimpleWithDecimals(org.apache.commons.math.complex.ComplexFormatTest ):   
FAILED
expected:<....23 + 1....> but was:<...,23 + 1,...>
junit.framework.ComparisonFailure: expected:<....23 + 1....> but  was:<...,23 +
1,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testSimpleWithDecimals
(ComplexFormatTest.java:49)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testSimpleWithDecimalsTrunc(org.apache.commons.math.complex.ComplexForma tTest):
      FAILED
expected:<....23 + 1....> but was:<...,23 + 1,...>
junit.framework.ComparisonFailure: expected:<....23 + 1....> but  was:<...,23 +
1,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testSimpleWithDecimals
Trunc(ComplexFormatTest.java:56)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase:  testNegativeReal(org.apache.commons.math.complex.ComplexFormatTest):
 FAILED
expected:<....23 + 1....> but was:<...,23 + 1,...>
junit.framework.ComparisonFailure: expected:<....23 + 1....> but  was:<...,23 +
1,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testNegativeReal(Compl
exFormatTest.java:63)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testNegativeImaginary(org.apache.commons.math.complex.ComplexFormatTest) :    
FAILED
expected:<....23 - 1....> but was:<...,23 - 1,...>
junit.framework.ComparisonFailure: expected:<....23 - 1....> but  was:<...,23 -
1,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testNegativeImaginary(
ComplexFormatTest.java:70)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase:  testNegativeBoth(org.apache.commons.math.complex.ComplexFormatTest):
 FAILED
expected:<....23 - 1....> but was:<...,23 - 1,...>
junit.framework.ComparisonFailure: expected:<....23 - 1....> but  was:<...,23 -
1,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testNegativeBoth(Compl
exFormatTest.java:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase:  testZeroReal(org.apache.commons.math.complex.ComplexFormatTest):    
 FAILED
expected:<.......> but was:<...,...>
junit.framework.ComparisonFailure: expected:<.......> but was:<...,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testZeroReal(ComplexFo
rmatTest.java:84)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase:  testZeroImaginary(org.apache.commons.math.complex.ComplexFormatTest):
FAILED
expected:<.......> but was:<...,...>
junit.framework.ComparisonFailure: expected:<.......> but was:<...,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testZeroImaginary(Comp
lexFormatTest.java:91)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testStaticFormatComplex(org.apache.commons.math.complex.ComplexFormatTes t):  
FAILED
expected:<....22 - 342....> but was:<...,22 - 342,...>
junit.framework.ComparisonFailure: expected:<....22 - 342....> but  was:<...,22
- 342,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testStaticFormatComple
x(ComplexFormatTest.java:105)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testParseSimpleWithDecimals(org.apache.commons.math.complex.ComplexForma tTest):
      FAILED
Format.parseObject(String) failed
junit.framework.AssertionFailedError: Format.parseObject(String) failed
        at 
org.apache.commons.math.complex.ComplexFormatTest.testParseSimpleWithDec
imals(ComplexFormatTest.java:147)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testParseSimpleWithDecimalsTrunc(org.apache.commons.math.complex.Complex
FormatTest):  FAILED
Format.parseObject(String) failed
junit.framework.AssertionFailedError: Format.parseObject(String) failed
        at 
org.apache.commons.math.complex.ComplexFormatTest.testParseSimpleWithDec
imalsTrunc(ComplexFormatTest.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testParseNegativeReal(org.apache.commons.math.complex.ComplexFormatTest) :    
FAILED
Format.parseObject(String) failed
junit.framework.AssertionFailedError: Format.parseObject(String) failed
        at 
org.apache.commons.math.complex.ComplexFormatTest.testParseNegativeReal(
ComplexFormatTest.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testParseNegativeImaginary(org.apache.commons.math.complex.ComplexFormat Test):
       FAILED
Format.parseObject(String) failed
junit.framework.AssertionFailedError: Format.parseObject(String) failed
        at 
org.apache.commons.math.complex.ComplexFormatTest.testParseNegativeImagi
nary(ComplexFormatTest.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testParseNegativeBoth(org.apache.commons.math.complex.ComplexFormatTest) :    
FAILED
Format.parseObject(String) failed
junit.framework.AssertionFailedError: Format.parseObject(String) failed
        at 
org.apache.commons.math.complex.ComplexFormatTest.testParseNegativeBoth(
ComplexFormatTest.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase:  testParseZeroReal(org.apache.commons.math.complex.ComplexFormatTest):
FAILED
Format.parseObject(String) failed
junit.framework.AssertionFailedError: Format.parseObject(String) failed
        at 
org.apache.commons.math.complex.ComplexFormatTest.testParseZeroReal(Comp
lexFormatTest.java:202)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testParseZeroImaginary(org.apache.commons.math.complex.ComplexFormatTest ):   
FAILED
Format.parseObject(String) failed
junit.framework.AssertionFailedError: Format.parseObject(String) failed
        at 
org.apache.commons.math.complex.ComplexFormatTest.testParseZeroImaginary
(ComplexFormatTest.java:213)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase: 
testParseDifferentImaginaryChar(org.apache.commons.math.complex.ComplexF
ormatTest):   FAILED
Format.parseObject(String) failed
junit.framework.AssertionFailedError: Format.parseObject(String) failed
        at 
org.apache.commons.math.complex.ComplexFormatTest.testParseDifferentImag
inaryChar(ComplexFormatTest.java:224)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)


Testcase:  testFormatNumber(org.apache.commons.math.complex.ComplexFormatTest):
 FAILED
expected:<.......> but was:<...,...>
junit.framework.ComparisonFailure: expected:<.......> but was:<...,...>
        at 
org.apache.commons.math.complex.ComplexFormatTest.testFormatNumber(Compl
exFormatTest.java:330)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message