aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-12-17 14:31:07 +0000
committerJeremias Maerki <jeremias@apache.org>2009-12-17 14:31:07 +0000
commit48617bc34744cd8b4406f77fe40b01e6ced0895f (patch)
treeeba0e040920617003c66441b36d7f6c60487b3f2 /test
parentb2c5c1380514636733bb0972a94e7894f449b584 (diff)
downloadxmlgraphics-fop-48617bc34744cd8b4406f77fe40b01e6ced0895f.tar.gz
xmlgraphics-fop-48617bc34744cd8b4406f77fe40b01e6ced0895f.zip
Fixed test case: 102 / 255 is 0.4, not 0.48. It is not the same as the previous check where no RGB replacement values are given but are calculated from the CMYK value.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891725 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/layoutengine/standard-testcases/color_1.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/layoutengine/standard-testcases/color_1.xml b/test/layoutengine/standard-testcases/color_1.xml
index 27086a41d..3b9e1edf9 100644
--- a/test/layoutengine/standard-testcases/color_1.xml
+++ b/test/layoutengine/standard-testcases/color_1.xml
@@ -57,6 +57,6 @@
<eval expected="fop-rgb-icc(1.0,0.5,0.0,sRGB,&quot;../../../src/java/org/apache/fop/pdf/sRGB Color Space Profile.icm&quot;,1.0,0.5,0.0)" xpath="//block[4]//text/@color"/>
<eval expected="#00ff00" xpath="//block[5]//text/@color"/>
<eval expected="fop-rgb-icc(0.6,0.6,0.48000002,#CMYK,,0.0,0.0,0.2,0.4)" xpath="//block[6]//text/@color"/>
- <eval expected="fop-rgb-icc(0.6,0.6,0.48000002,#CMYK,,0.0,0.0,0.2,0.4)" xpath="//block[7]//text/@color"/>
+ <eval expected="fop-rgb-icc(0.6,0.6,0.4,#CMYK,,0.0,0.0,0.2,0.4)" xpath="//block[7]//text/@color"/>
</checks>
</testcase>