pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1654342 - /pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdfa/CreatePDFATest.java
Date Fri, 23 Jan 2015 19:39:05 GMT
Author: jahewson
Date: Fri Jan 23 19:39:05 2015
New Revision: 1654342

URL: http://svn.apache.org/r1654342
Log:
PDFBOX-2589: Fix PDF/A example test

Modified:
    pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdfa/CreatePDFATest.java

Modified: pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdfa/CreatePDFATest.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdfa/CreatePDFATest.java?rev=1654342&r1=1654341&r2=1654342&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdfa/CreatePDFATest.java
(original)
+++ pdfbox/trunk/examples/src/test/java/org/apache/pdfbox/examples/pdfa/CreatePDFATest.java
Fri Jan 23 19:39:05 2015
@@ -49,8 +49,7 @@ public class CreatePDFATest extends Test
         String message = "The quick brown fox jumps over the lazy dog äöüÄÖÜß
@°^²³ {[]}";
         String dir = "../pdfbox/src/main/resources/org/apache/pdfbox/resources/ttf/";
         String fontfile = dir + "LiberationSans-Regular.ttf";
-        CreatePDFA instance = new CreatePDFA();
-        instance.doIt(pdfaFilename, message, fontfile);
+        CreatePDFA.main(new String[] { pdfaFilename, message, fontfile });
         
         PreflightParser preflightParser = new PreflightParser(new File(pdfaFilename));
         preflightParser.parse();



Mime
View raw message