Author: jeremias
Date: Thu Dec 17 14:31:07 2009
New Revision: 891725
URL: http://svn.apache.org/viewvc?rev=891725&view=rev
Log:
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.
Modified:
xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/color_1.xml
Modified: xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/color_1.xml
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/color_1.xml?rev=891725&r1=891724&r2=891725&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/color_1.xml
(original)
+++ xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/color_1.xml Thu
Dec 17 14:31:07 2009
@@ -57,6 +57,6 @@
<eval
expected="fop-rgb-icc(1.0,0.5,0.0,sRGB,"../../../src/java/org/apache/fop/pdf/sRGB
Color Space Profile.icm",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>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]