pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1679310 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
Date Thu, 14 May 2015 04:48:14 GMT
Author: jahewson
Date: Thu May 14 04:48:14 2015
New Revision: 1679310

URL: http://svn.apache.org/r1679310
Log:
PDFBOX-2802: Ensure that output directory exists

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java?rev=1679310&r1=1679309&r2=1679310&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
(original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
Thu May 14 04:48:14 2015
@@ -36,6 +36,12 @@ public class TestFontEmbedding extends T
 {
     private static final File OUT_DIR = new File("target/test-output");
 
+    @Override
+    protected void setUp() throws Exception
+    {
+        OUT_DIR.mkdirs();
+    }
+
     /**
      * Embed a TTF as CIDFontType2.
      */
@@ -73,7 +79,7 @@ public class TestFontEmbedding extends T
 
         stream.endText();
         stream.close();
-
+        
         File file = new File(OUT_DIR, "CIDFontType2.pdf");
         document.save(file);
         document.close();



Mime
View raw message