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 Apache Wiki <wi...@apache.org> on 2006/06/08 14:38:17 UTC

[Xmlgraphics-fop Wiki] Update of "HowToCreateLayoutEngineTests" by JeremiasMaerki

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" for change notification.

The following page has been changed by JeremiasMaerki:
http://wiki.apache.org/xmlgraphics-fop/HowToCreateLayoutEngineTests

The comment on the change is:
Added "tolerance" value

------------------------------------------------------------------------------
  
  Format:
  {{{
- <eval expected="[expected value]" xpath="[XPath expression]"/>
+ <eval expected="[expected value]" xpath="[XPath expression]" tolerance="[optional number]"/>
  }}}
  
- This is similar to the first check, but here you can specify an expected value the XPath expression has to result into. Generally you get a more descriptive error message if such a test fails than with "true".
+ This is similar to the first check, but here you can specify an expected value the XPath expression has to result into. Generally you get a more descriptive error message if such a test fails than with "true". You can use the optional "tolerance" value to specify a tolerance for number comparisons.
  
  === element-list ===
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org