aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorManuel Mall <manuel@apache.org>2005-10-14 12:41:38 +0000
committerManuel Mall <manuel@apache.org>2005-10-14 12:41:38 +0000
commit64336ac4d35019d99a6634dbe5a36a65ac791175 (patch)
treecda0d545efb89e7a22c9a532bfcd6946c957ce78 /test
parent0f17fab8c1eeb0bcc652dd5667f91f7c25c3087e (diff)
downloadxmlgraphics-fop-64336ac4d35019d99a6634dbe5a36a65ac791175.tar.gz
xmlgraphics-fop-64336ac4d35019d99a6634dbe5a36a65ac791175.zip
Corrected testcase for fix from Luca
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@321090 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/layoutengine/disabled-testcases.txt1
-rwxr-xr-xtest/layoutengine/testcases/inline_border_padding_block_nested_2.xml8
2 files changed, 3 insertions, 6 deletions
diff --git a/test/layoutengine/disabled-testcases.txt b/test/layoutengine/disabled-testcases.txt
index 2c69eee68..91db41057 100644
--- a/test/layoutengine/disabled-testcases.txt
+++ b/test/layoutengine/disabled-testcases.txt
@@ -8,7 +8,6 @@ block_word-spacing_text-align_justify.xml
external-graphic_oversized.xml
inline-block_keep-together.xml
inline_block_nested_3.xml
-inline_border_padding_block_nested_2.xml
inline-container_block_nested.xml
inline-container_border_padding.xml
inline_letter-spacing.xml
diff --git a/test/layoutengine/testcases/inline_border_padding_block_nested_2.xml b/test/layoutengine/testcases/inline_border_padding_block_nested_2.xml
index 2f82206d1..4f48a4dd2 100755
--- a/test/layoutengine/testcases/inline_border_padding_block_nested_2.xml
+++ b/test/layoutengine/testcases/inline_border_padding_block_nested_2.xml
@@ -19,8 +19,6 @@
<info>
<p>
This test checks fo:inlines with border and padding properties and nested inner blocks.
- The 2nd and 3rd tests currently fail with a class cast exception - once that is fixed the checks
- below need to be updated to the correct measurements.
</p>
</info>
<fo>
@@ -153,13 +151,13 @@
<eval expected="2000" xpath="//flow/block[8]/lineArea[2]/inlineblockparent/@padding-start"/>
<eval expected="2000" xpath="//flow/block[8]/lineArea[2]/inlineblockparent/@padding-end"/>
<eval expected="46130" xpath="//flow/block[8]/lineArea[3]/inlineparent/@ipd"/>
- <eval expected="49130" xpath="//flow/block[8]/lineArea[3]/inlineparent/@ipda"/>
+ <eval expected="52130" xpath="//flow/block[8]/lineArea[3]/inlineparent/@ipda"/>
<eval expected="(solid,#ff0000,1000)" xpath="//flow/block[8]/lineArea[3]/inlineparent/@border-after"/>
<eval expected="(solid,#ff0000,1000)" xpath="//flow/block[8]/lineArea[3]/inlineparent/@border-before"/>
<eval expected="(solid,#ff0000,1000)" xpath="//flow/block[8]/lineArea[3]/inlineparent/@border-start"/>
<eval expected="(solid,#ff0000,1000)" xpath="//flow/block[8]/lineArea[3]/inlineparent/@border-end"/>
- <eval expected="1000" xpath="//flow/block[8]/lineArea[3]/inlineparent/@padding-after"/>
- <eval expected="1000" xpath="//flow/block[8]/lineArea[3]/inlineparent/@padding-before"/>
+ <eval expected="2000" xpath="//flow/block[8]/lineArea[3]/inlineparent/@padding-after"/>
+ <eval expected="2000" xpath="//flow/block[8]/lineArea[3]/inlineparent/@padding-before"/>
<eval expected="2000" xpath="//flow/block[8]/lineArea[3]/inlineparent/@padding-start"/>
<eval expected="2000" xpath="//flow/block[8]/lineArea[3]/inlineparent/@padding-end"/>