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 Andreas Delmelle <ad...@apache.org> on 2008/01/27 14:29:03 UTC

Failing layout-tests?

Hi people


Just ran into those two failures after synching my local sandbox to  
the trunk, and ran into two failing unit-tests with the messages as  
below [*].

Does anybody else encounter these, or should I begin searching for  
changes I made locally?

So far, I have only ruled out the proposed patch in Bugzilla 44286 as  
the culprit, but before I go looking any further...


Cheers

Andreas

[*]
     [junit] Testcase: table-cell_display-align.xml 
(org.apache.fop.layoutengine.LayoutEngineTestSuite$1):        Caused  
an ERROR
     [junit] Expected XPath expression to evaluate to '12800', but  
got '20000' (XPath: //flow/block[1]/block[6]/block[1]/@bpd)
     [junit] java.lang.RuntimeException: Expected XPath expression to  
evaluate to '12800', but got '20000' (XPath: //flow/block[1]/block[6]/ 
block[1]/@bpd)
     [junit]     at org.apache.fop.layoutengine.EvalCheck.check 
(EvalCheck.java:83)
     [junit]     at  
org.apache.fop.layoutengine.LayoutEngineTester.checkAll 
(LayoutEngineTester.java:228)
     [junit]     at  
org.apache.fop.layoutengine.LayoutEngineTester.runTest 
(LayoutEngineTester.java:175)
     [junit]     at org.apache.fop.layoutengine.LayoutEngineTestSuite 
$LayoutEngineTestCase.testMain(LayoutEngineTestSuite.java:214)
     [junit]     at org.apache.fop.layoutengine.LayoutEngineTestSuite 
$1.runTest(LayoutEngineTestSuite.java:193)
     [junit]
     [junit]
     [junit] Testcase: table-cell_various-combinations.xml 
(org.apache.fop.layoutengine.LayoutEngineTestSuite$1): Caused an ERROR
     [junit] Expected XPath expression to evaluate to '7800', but got  
'15000' (XPath: //flow/block[1]/block[5]/block[1]/@bpd)
     [junit] java.lang.RuntimeException: Expected XPath expression to  
evaluate to '7800', but got '15000' (XPath: //flow/block[1]/block[5]/ 
block[1]/@bpd)
     [junit]     at org.apache.fop.layoutengine.EvalCheck.check 
(EvalCheck.java:83)
     [junit]     at  
org.apache.fop.layoutengine.LayoutEngineTester.checkAll 
(LayoutEngineTester.java:228)
     [junit]     at  
org.apache.fop.layoutengine.LayoutEngineTester.runTest 
(LayoutEngineTester.java:175)
     [junit]     at org.apache.fop.layoutengine.LayoutEngineTestSuite 
$LayoutEngineTestCase.testMain(LayoutEngineTestSuite.java:214)
     [junit]     at org.apache.fop.layoutengine.LayoutEngineTestSuite 
$1.runTest(LayoutEngineTestSuite.java:193)



Re: Failing layout-tests?

Posted by Andreas Delmelle <ad...@apache.org>.
On Jan 27, 2008, at 15:12, Vincent Hennebert wrote:
> <snip />
> No, don’t worry, it’s my fault. I’m sure I ran the testsuite before
> committing, I always do. Well, /almost/ always, apparently :-\

OK. Happens to everyone from time to time... :-)

>
> Sorry for the inconvenience,

No problem. Glad that it was easily corrected.

Cheers

Andreas

Re: Failing layout-tests?

Posted by Vincent Hennebert <vi...@anyware-tech.com>.
Hi Andreas,

Andreas Delmelle a écrit :
> Hi people
>
>
> Just ran into those two failures after synching my local sandbox to the
> trunk, and ran into two failing unit-tests with the messages as below [*].
>
> Does anybody else encounter these, or should I begin searching for
> changes I made locally?
>
> So far, I have only ruled out the proposed patch in Bugzilla 44286 as
> the culprit, but before I go looking any further...

No, don’t worry, it’s my fault. I’m sure I ran the testsuite before
committing, I always do. Well, /almost/ always, apparently :-\

Sorry for the inconvenience,
Vincent


-- 
Vincent Hennebert                            Anyware Technologies
http://people.apache.org/~vhennebert         http://www.anyware-tech.com
Apache FOP Committer                         FOP Development/Consulting