diff --git a/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestPDFRenderer.java b/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestPDFRenderer.java new file mode 100644 index 00000000000..97872371109 --- /dev/null +++ b/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestPDFRenderer.java @@ -0,0 +1,22 @@ +package org.apache.pdfbox.rendering; + +import org.junit.jupiter.api.Test; + +import java.io.File; +import java.io.InputStream; + +public class TestPDFRenderer { + + public static final String type4_shading_pdf = "minimal.pdf"; + + @Test + public void testGetTotalFilingSize() throws Exception { + ClassLoader classloader = Thread.currentThread().getContextClassLoader(); + String filePath = classloader.getResource(type4_shading_pdf).getFile(); + File inputFile = new File(filePath); + + + TestPDFToImage.doTestFile(inputFile, "src/test/resources/input/rendering", "target/test-output/rendering"); + + } +} diff --git a/pdfbox/src/test/resources/input/rendering/minimal.pdf b/pdfbox/src/test/resources/input/rendering/minimal.pdf new file mode 100644 index 00000000000..a36c34e3847 Binary files /dev/null and b/pdfbox/src/test/resources/input/rendering/minimal.pdf differ