]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Remember to switch on the brain when writing test cases. :-) Forgot to take start...
authorJeremias Maerki <jeremias@apache.org>
Fri, 28 Jan 2005 17:13:51 +0000 (17:13 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 28 Jan 2005 17:13:51 +0000 (17:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198339 13f79535-47bb-0310-9956-ffa450edef68

test/layoutengine/testcases/list1.xml

index 57722286d79d50a2fd34983e37b783cebf623b34..f6789e4f070e7ae325c86edddae59397394fd9d8 100644 (file)
     <eval expected="24000" xpath="//flow/block[1]/block[3]/block[2]/block[1]/@start-indent"/>
     <true xpath="not(//flow/block[1]/block[3]/block[2]/block[1]/@end-indent)"/>
 
+    <!-- second list-block -->
+    <eval expected="360000" xpath="//flow/block[2]/@ipda"/>
+    <eval expected="360000" xpath="//flow/block[2]/@ipd"/>
     <!-- fourth list-item -->
-    <eval expected="360000" xpath="//flow/block[2]/block[1]/@ipd"/>
+    <eval expected="350000" xpath="//flow/block[2]/block[1]/@ipda"/>
+    <eval expected="350000" xpath="//flow/block[2]/block[1]/@ipd"/>
+    <eval expected="14400" xpath="//flow/block[2]/block[1]/@bpda"/>
     <eval expected="14400" xpath="//flow/block[2]/block[1]/@bpd"/>
     <!-- label of third list-item -->
-    <eval expected="360000" xpath="//flow/block[2]/block[1]/block[1]/@ipd"/>
+    <eval expected="350000" xpath="//flow/block[2]/block[1]/block[1]/@ipd"/>
     <eval expected="14400" xpath="//flow/block[2]/block[1]/block[1]/@bpd"/>
     <!-- content of label of third list-item -->
     <eval expected="40000" xpath="//flow/block[2]/block[1]/block[1]/block[1]/@ipd"/>
     <eval expected="10000" xpath="//flow/block[2]/block[1]/block[1]/block[1]/@start-indent"/>
     <eval expected="310000" xpath="//flow/block[2]/block[1]/block[1]/block[1]/@end-indent"/>
     <!-- body of third list-item -->
-    <eval expected="360000" xpath="//flow/block[2]/block[1]/block[2]/@ipd"/>
+    <eval expected="350000" xpath="//flow/block[2]/block[1]/block[2]/@ipd"/>
     <eval expected="14400" xpath="//flow/block[2]/block[1]/block[2]/@bpd"/>
     <!-- content of body of third list-item -->
     <eval expected="300000" xpath="//flow/block[2]/block[1]/block[2]/block[1]/@ipd"/>