From 510fca957d9cf00260efe7ed78a663d46c69adb7 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Fri, 26 Mar 2021 09:54:41 +0100 Subject: update gradle build-process to wrapper 6.8.3 --- .../test/java/at/gv/egiz/param_tests/SignaturePositionTest.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'pdf-as-tests/src') diff --git a/pdf-as-tests/src/test/java/at/gv/egiz/param_tests/SignaturePositionTest.java b/pdf-as-tests/src/test/java/at/gv/egiz/param_tests/SignaturePositionTest.java index baaf646c..cb06b669 100644 --- a/pdf-as-tests/src/test/java/at/gv/egiz/param_tests/SignaturePositionTest.java +++ b/pdf-as-tests/src/test/java/at/gv/egiz/param_tests/SignaturePositionTest.java @@ -163,9 +163,10 @@ public class SignaturePositionTest extends SignatureTest { * reference image, as well as the location of the reference * image with ignored areas * @throws IOException + * @throws InterruptedException */ private void captureReferenceImage(SignaturePositionTestInfo testInfo) - throws IOException { + throws IOException, InterruptedException { String pdfName = baseTestData.getOutputFile(); String referenceOutputFile = refImageFileName; int pageNumber = sigPageNumber; @@ -193,11 +194,12 @@ public class SignaturePositionTest extends SignatureTest { * @throws IndexOutOfBoundsException * @throws PrinterException * @throws PDFASError + * @throws InterruptedException */ @Test public void signaturePositionTest() throws FileNotFoundException, CertificateException, IOException, PdfAsException, - IndexOutOfBoundsException, PrinterException, PDFASError { + IndexOutOfBoundsException, PrinterException, PDFASError, InterruptedException { SignaturePositionTestInfo testInfo = SerializiationManager .getInstance().createTestInfo(SignaturePositionTestInfo.class, baseTestData); @@ -309,8 +311,9 @@ public class SignaturePositionTest extends SignatureTest { * @param pageNumber * the page number which should be captured * @return the captured image + * @throws InterruptedException */ - private BufferedImage captureImage(String fileName, int pageNumber) { + private BufferedImage captureImage(String fileName, int pageNumber) throws InterruptedException { Document document = new Document(); try { document.setFile(fileName); -- cgit v1.2.3