summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Reischenbacher <matthias@apache.org>2018-10-10 20:29:11 +0000
committerMatthias Reischenbacher <matthias@apache.org>2018-10-10 20:29:11 +0000
commitc00d547a3828783284e3ca81ce90f62f5313d4ca (patch)
tree1df229bcc23bf1f676714e167396a2ce57f42779
parentce7029487740792782e03b232f3b20ebe242b671 (diff)
downloadxmlgraphics-fop-c00d547a3828783284e3ca81ce90f62f5313d4ca.tar.gz
xmlgraphics-fop-c00d547a3828783284e3ca81ce90f62f5313d4ca.zip
FOP-2818: fix failing test
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1843507 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java b/fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java
index 19953d781..c5fc6593b 100644
--- a/fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/pdf/PDFResourcesTestCase.java
@@ -108,13 +108,13 @@ public class PDFResourcesTestCase {
PDFDocument pdfDoc = new PDFDocument(null);
PDFResources res = new PDFResources(pdfDoc);
PDFDictionary shadingDict = new PDFDictionary();
- shadingDict.put("Sh1-1718006973", new PDFReference("9 0"));
+ shadingDict.put("Sh1-1718006973", new PDFReference("9 0 R"));
res.put("Shading", shadingDict);
PDFDictionary patternDict = new PDFDictionary();
- patternDict.put("Pa1-1718006973", new PDFReference("10 0"));
+ patternDict.put("Pa1-1718006973", new PDFReference("10 0 R"));
res.put("Pattern", patternDict);
PDFDictionary colorSpaceDict = new PDFDictionary();
- colorSpaceDict.put("DefaultRGB", new PDFReference("11 0"));
+ colorSpaceDict.put("DefaultRGB", new PDFReference("11 0 R"));
res.put("ColorSpace", colorSpaceDict);
PDFResources resParent = new PDFResources(pdfDoc);
res.setParentResources(resParent);