Author: tilman
Date: Mon Oct 17 16:28:31 2016
New Revision: 1765335

URL: http://svn.apache.org/viewvc?rev=1765335&view=rev
Log:
PDFBOX-3532: remove test not supported in JDK6

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

Modified: 
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java?rev=1765335&r1=1765334&r2=1765335&view=diff
==============================================================================
--- 
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java 
(original)
+++ 
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java 
Mon Oct 17 16:28:31 2016
@@ -26,7 +26,6 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.io.PrintWriter;
 import java.util.Arrays;
-import java.util.Locale;
 
 import org.apache.pdfbox.io.IOUtils;
 
@@ -194,26 +193,4 @@ public class TestPDDocument extends Test
         boolean deleted = f.delete();
         assertTrue("delete good file failed after successful load() and 
close()", deleted);
     }
-
-    /**
-     * PDFBOX-3481: Test whether XRef generation results in unusable PDFs if 
Arab numbering is
-     * default.
-     */
-    public void testSaveArabicLocale() throws IOException
-    {
-        Locale defaultLocale = Locale.getDefault();
-        Locale arabicLocale = new 
Locale.Builder().setLanguageTag("ar-EG-u-nu-arab").build();
-        Locale.setDefault(arabicLocale);
-
-        ByteArrayOutputStream baos = new ByteArrayOutputStream();
-
-        PDDocument doc = new PDDocument();
-        doc.addPage(new PDPage());
-        doc.save(baos);
-        doc.close();
-
-        PDDocument.load(new ByteArrayInputStream(baos.toByteArray())).close();
-
-        Locale.setDefault(defaultLocale);
-    }
 }


Reply via email to