You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2014/05/13 21:58:25 UTC

svn commit: r1594354 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/filter/TestFilters.java

Author: tilman
Date: Tue May 13 19:58:25 2014
New Revision: 1594354

URL: http://svn.apache.org/r1594354
Log:
PDFBOX-2070: pass original dictionary to the filter and the index, get decodeparms in the filter itself

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/filter/TestFilters.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/filter/TestFilters.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/filter/TestFilters.java?rev=1594354&r1=1594353&r2=1594354&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/filter/TestFilters.java (original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/filter/TestFilters.java Tue May 13 19:58:25 2014
@@ -144,7 +144,7 @@ public class TestFilters extends TestCas
         filter.encode(new ByteArrayInputStream(original), encoded, new COSDictionary());
         ByteArrayOutputStream decoded = new ByteArrayOutputStream();
         filter.decode(new ByteArrayInputStream(encoded.toByteArray()),
-                decoded, new COSDictionary());
+                decoded, new COSDictionary(), 0);
 
         assertTrue(
                 "Data that is encoded and then decoded through "