You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Simon Pepping <sp...@leverkruid.nl> on 2005/12/21 10:51:05 UTC

junit failures with revision

I get many junit errors with revision 358224. The all seem to be
related to the notation of colors in the area tree, e.g.:

    [junit] Testcase: block-container_borders.xml(org.apache.fop.layoutengine.LayoutEngineTestSuite$1):	Caused an ERROR
    [junit] Expected XPath expression to evaluate to '(solid,#000000,5000)', but got '(solid,org.apache.fop.area.Trait$Color@114629,5000)' (XPath: /areaTree/pageSequence/pageViewport/page[1]/regionViewport/regionBody/mainReference/span/flow/block[1]/@border-start)
    [junit] java.lang.RuntimeException: Expected XPath expression to evaluate to '(solid,#000000,5000)', but got '(solid,org.apache.fop.area.Trait$Color@114629,5000)' (XPath: /areaTree/pageSequence/pageViewport/page[1]/regionViewport/regionBody/mainReference/span/flow/block[1]/@border-start)

-- 
Simon Pepping
home page: http://www.leverkruid.nl


Re: junit failures with revision

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Already fixed: http://svn.apache.org/viewcvs?rev=358240&view=rev
Sorry for the trouble.

On 21.12.2005 10:51:05 Simon Pepping wrote:
> I get many junit errors with revision 358224. The all seem to be
> related to the notation of colors in the area tree, e.g.:
> 
>     [junit] Testcase: block-container_borders.xml(org.apache.fop.layoutengine.LayoutEngineTestSuite$1):	Caused an ERROR
>     [junit] Expected XPath expression to evaluate to '(solid,#000000,5000)', but got '(solid,org.apache.fop.area.Trait$Color@114629,5000)' (XPath: /areaTree/pageSequence/pageViewport/page[1]/regionViewport/regionBody/mainReference/span/flow/block[1]/@border-start)
>     [junit] java.lang.RuntimeException: Expected XPath expression to evaluate to '(solid,#000000,5000)', but got '(solid,org.apache.fop.area.Trait$Color@114629,5000)' (XPath: /areaTree/pageSequence/pageViewport/page[1]/regionViewport/regionBody/mainReference/span/flow/block[1]/@border-start)
> 
> -- 
> Simon Pepping
> home page: http://www.leverkruid.nl



Jeremias Maerki