File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
java/com/itextpdf/kernel/pdf
resources/com/itextpdf/kernel/pdf/PdfReaderTest Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ This file is part of the iText (R) project.
48
48
import com .itextpdf .io .util .FileUtil ;
49
49
import com .itextpdf .io .util .MessageFormatUtil ;
50
50
import com .itextpdf .kernel .PdfException ;
51
- import com .itextpdf .kernel .pdf .canvas .PdfCanvas ;
52
51
import com .itextpdf .kernel .utils .CompareTool ;
53
52
import com .itextpdf .test .ExtendedITextTest ;
54
53
import com .itextpdf .test .annotations .LogMessage ;
@@ -62,7 +61,6 @@ This file is part of the iText (R) project.
62
61
import org .junit .experimental .categories .Category ;
63
62
import org .junit .rules .ExpectedException ;
64
63
65
- import java .io .ByteArrayInputStream ;
66
64
import java .io .File ;
67
65
import java .io .IOException ;
68
66
import java .io .OutputStream ;
@@ -2020,6 +2018,12 @@ protected void readPdf() throws IOException {
2020
2018
readingNotCompletedTest (isEncryptedReader );
2021
2019
}
2022
2020
2021
+ @ Test
2022
+ public void pdf11VersionValidTest () throws IOException {
2023
+ String fileName = sourceFolder + "pdf11Version.pdf" ;
2024
+ new PdfDocument (new PdfReader (fileName ));
2025
+ }
2026
+
2023
2027
private PdfReader pdfDocumentNotReadTestInit () throws IOException {
2024
2028
String filename = sourceFolder + "XrefWithNullOffsets.pdf" ;
2025
2029
You can’t perform that action at this time.
0 commit comments