You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/08/10 16:05:30 UTC
svn commit: r231240 -
/xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/ElementListCheck.java
Author: jeremias
Date: Wed Aug 10 07:05:27 2005
New Revision: 231240
URL: http://svn.apache.org/viewcvs?rev=231240&view=rev
Log:
Support checking for the auxiliary flag on boxes.
Modified:
xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/ElementListCheck.java
Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/ElementListCheck.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/ElementListCheck.java?rev=231240&r1=231239&r2=231240&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/ElementListCheck.java (original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/ElementListCheck.java Wed Aug 10 07:05:27 2005
@@ -88,6 +88,18 @@
+ " but got: " + knuthEl.getW());
}
}
+ if ("true".equals(domEl.getAttribute("aux"))) {
+ if (!knuthEl.isAuxiliary()) {
+ fail("Expected auxiliary box"
+ + " at position " + pos);
+ }
+ }
+ if ("false".equals(domEl.getAttribute("aux"))) {
+ if (knuthEl.isAuxiliary()) {
+ fail("Expected a normal, not an auxiliary box"
+ + " at position " + pos);
+ }
+ }
} else if ("penalty".equals(domEl.getLocalName())) {
if (!(knuthEl instanceof KnuthPenalty)) {
fail("Expected KnuthPenalty "
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org