poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avik.sengu...@itellix.com
Subject Re: HPSF Testcase on HEAD
Date Mon, 29 Dec 2003 12:30:28 GMT
Actually, scratch the previous stacktrace...

On UTF-8, the result is:
    [junit] Testcase: testNoFormatID took 0.066 sec
    [junit] Testcase: testWriteEmptyPropertySet took 0.078 sec
    [junit] Testcase: testWriteSimplePropertySet took 0.007 sec
    [junit] Testcase: testWriteTwoSections took 0.004 sec
    [junit] Testcase: testVariantTypes took 0.004 sec
    [junit] Testcase: testCodepages took 0.008 sec
    [junit]     FAILED
    [junit] junit.framework.AssertionFailedError: expected:<&#65533;> but was:<?>
    [junit]     at junit.framework.Assert.fail(Assert.java:47)
    [junit]     at junit.framework.Assert.failNotEquals(Assert.java:282)
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:64)
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:71)
    [junit]     at org.apache.poi.hpsf.basic.TestWrite.check(TestWrite.java:555)
    [junit]     at
org.apache.poi.hpsf.basic.TestWrite.testCodepages(TestWrite.java:468)

on en_US-ISO8859-1 (or US-ASCII) the result is:
    [junit] Testcase: testNoFormatID took 0.07 sec
    [junit] Testcase: testWriteEmptyPropertySet took 0.069 sec
    [junit] Testcase: testWriteSimplePropertySet took 0.007 sec
    [junit] Testcase: testWriteTwoSections took 0.007 sec
    [junit] Testcase: testVariantTypes took 0.005 sec
    [junit]     FAILED
    [junit] junit.framework.AssertionFailedError: expected:<?> but was:<?>
    [junit]     at junit.framework.Assert.fail(Assert.java:47)
    [junit]     at junit.framework.Assert.failNotEquals(Assert.java:282)
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:64)
    [junit]     at junit.framework.Assert.assertEquals(Assert.java:71)
    [junit]     at org.apache.poi.hpsf.basic.TestWrite.check(TestWrite.java:555)
    [junit]     at
org.apache.poi.hpsf.basic.TestWrite.testVariantTypes(TestWrite.java:423)


So different errors on different default charset setting. 


Quoting avik.sengupta@itellix.com:

> Rainer,
> 
> testVariantTypes in org.apache.poi.hpsf.basic.TestWrite fails with a message
> 
>     [junit] junit.framework.AssertionFailedError: expected:<&#65533;> but
> was:<?>
>     [junit]     at junit.framework.Assert.fail(Assert.java:47)
>     [junit]     at junit.framework.Assert.failNotEquals(Assert.java:282)
>     [junit]     at junit.framework.Assert.assertEquals(Assert.java:64)
>     [junit]     at junit.framework.Assert.assertEquals(Assert.java:71)
>     [junit]     at
> org.apache.poi.hpsf.basic.TestWrite.check(TestWrite.java:555)
>     [junit]     at
> org.apache.poi.hpsf.basic.TestWrite.testCodepages(TestWrite.java:468)
> 
> can you figure out whats wrong? I've tried in linux under both UTF-8 and
> ISO-8859-1 environments. 
> 
> This is on cvs HEAD.
> 
> This is also where gump is failing right now.
> http://gump.covalent.net/log/jakarta-poi-3.html
> 
> Regards
> -
> Avik
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-dev-help@jakarta.apache.org
> 
> 





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


Mime
View raw message