You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/06/06 09:04:51 UTC

[Bug 53369] testDateFormat(org.apache.poi.ss.format.TestCellFormatPart)junit.framework.ComparisonFailure: format "org.apache.poi.ss.format.CellFormatPart@dbcd0e" expected:<"11-10-[]52"> but was:<"11-10-[19]52">

https://issues.apache.org/bugzilla/show_bug.cgi?id=53369

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> ---
It looks like POI does not build on JDK 1.7

I was able to reproduce the trouble with Oracle JDK 1.7.01. Same test fails,
only the message is a bit different:

    [java] There was 1 failure:
    [java] 1)
testDateFormat(org.apache.poi.ss.format.TestCellFormatPart)junit.framework.ComparisonFailure:
format "org
apache.poi.ss.format.CellFormatPart@289e637e" expected:<......> but
was:<...19...>
    [java]     at
org.apache.poi.ss.format.CellFormatTestBase$CellValue.equivalent(CellFormatTestBase.java:95)
    [java]     at
org.apache.poi.ss.format.CellFormatTestBase.tryColor(CellFormatTestBase.java:247)
    [java]     at
org.apache.poi.ss.format.CellFormatTestBase.tryFormat(CellFormatTestBase.java:221)
    [java]     at
org.apache.poi.ss.format.CellFormatTestBase.runFormatTests(CellFormatTestBase.java:130)
    [java]     at
org.apache.poi.ss.format.TestCellFormatPart.testDateFormat(TestCellFormatPart.java:77)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [java]     at org.apache.poi.util.OOXMLLite.build(OOXMLLite.java:103)
    [java]     at org.apache.poi.util.OOXMLLite.main(OOXMLLite.java:78)
    [java]

-- 
You are receiving this mail because:
You are the assignee for the bug.

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