pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1610113 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestPDFToImage.java
Date Sun, 13 Jul 2014 04:55:58 GMT
Author: tilman
Date: Sun Jul 13 04:55:57 2014
New Revision: 1610113

URL: http://svn.apache.org/r1610113
Log:
PDFBOX-1695: ignore old *.diff.png files

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestPDFToImage.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestPDFToImage.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestPDFToImage.java?rev=1610113&r1=1610112&r2=1610113&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestPDFToImage.java (original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/util/TestPDFToImage.java Sun Jul 13
04:55:57 2014
@@ -275,7 +275,9 @@ public class TestPDFToImage extends Test
                 @Override
                 public boolean accept(File dir, String name)
                 {
-                    return (name.endsWith(".png") && name.startsWith(mcurFile.getName(),
0));
+                    return (name.endsWith(".png") && 
+                            name.startsWith(mcurFile.getName(), 0)) && 
+                            !name.endsWith(".png-diff.png");
                 }
             });
             for (File outFile : outFiles)



Mime
View raw message