pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1862510 - /pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java
Date Wed, 03 Jul 2019 18:45:52 GMT
Author: tilman
Date: Wed Jul  3 18:45:52 2019
New Revision: 1862510

URL: http://svn.apache.org/viewvc?rev=1862510&view=rev
Log:
PDFBOX-4071: rename class and method to correct issue

Modified:
    pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java

Modified: pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java?rev=1862510&r1=1862509&r2=1862510&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java (original)
+++ pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java Wed
Jul  3 18:45:52 2019
@@ -27,7 +27,7 @@ import org.junit.Test;
  *
  * @author Tilman Hausherr
  */
-public class TestPDFBox3743
+public class TestPDFBox3741
 {
     /**
      * Test whether use of default colorspace without output intent for text output is detected.
@@ -35,10 +35,10 @@ public class TestPDFBox3743
      * @throws IOException
      */
     @Test
-    public void testPDFBox3743() throws IOException
+    public void testPDFBox3741() throws IOException
     {
         PreflightParser parser = new PreflightParser(
-                new File("src/test/resources/PDFBOX-3743.pdf"));
+                new File("src/test/resources/PDFBOX-3741.pdf"));
         parser.parse();
         ValidationResult result;
         try (PreflightDocument document = parser.getPreflightDocument())
@@ -49,7 +49,7 @@ public class TestPDFBox3743
 
         // Error should be:
         // 2.4.3: Invalid Color space, /DeviceGray default for operator "Tj" can't be used
without Color Profile
-        Assert.assertFalse("File PDFBOX-3743.pdf should be detected as not PDF/A-1b", result.isValid());
+        Assert.assertFalse("File PDFBOX-3741.pdf should be detected as not PDF/A-1b", result.isValid());
         Assert.assertEquals("List should contain one result", 1, result.getErrorsList().size());
         Assert.assertEquals("2.4.3", result.getErrorsList().get(0).getErrorCode());
     }



Mime
View raw message