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 2019/07/03 19:28:05 UTC

svn commit: r1862518 - /pdfbox/branches/issue45/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java

Author: tilman
Date: Wed Jul  3 19:28:05 2019
New Revision: 1862518

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

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

Modified: pdfbox/branches/issue45/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java?rev=1862518&r1=1862517&r2=1862518&view=diff
==============================================================================
--- pdfbox/branches/issue45/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java (original)
+++ pdfbox/branches/issue45/preflight/src/test/java/org/apache/pdfbox/preflight/TestPDFBox3741.java Wed Jul  3 19:28:05 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();
         PreflightDocument document = parser.getPreflightDocument();
         document.validate();
@@ -47,7 +47,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());
     }