Skip to content

Commit d88a362

Browse files
committed
Update resource folder of PdfFormCopyTest. Minor refactoring
DEVSIX-4902
1 parent 719254a commit d88a362

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+8
-8
lines changed

forms/src/test/java/com/itextpdf/forms/PdfFormCopyTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ This file is part of the iText (R) project.
6464
@Category(IntegrationTest.class)
6565
public class PdfFormCopyTest extends ExtendedITextTest {
6666

67-
public static final String sourceFolder = "./src/test/resources/com/itextpdf/forms/PdfFormFieldsCopyTest/";
68-
public static final String destinationFolder = "./target/test/com/itextpdf/forms/PdfFormFieldsCopyTest/";
67+
public static final String sourceFolder = "./src/test/resources/com/itextpdf/forms/PdfFormCopyTest/";
68+
public static final String destinationFolder = "./target/test/com/itextpdf/forms/PdfFormCopyTest/";
6969

7070
@BeforeClass
7171
public static void beforeClass() {
@@ -517,9 +517,9 @@ public void unnamedFieldsHierarchyTest() throws IOException, InterruptedExceptio
517517
})
518518
public void copyAndEditTextFields() throws IOException, InterruptedException {
519519
//TODO: update after DEVSIX-2354
520-
String srcFileName = sourceFolder + "/checkPdfFormCopy_Source.pdf";
520+
String srcFileName = sourceFolder + "checkPdfFormCopy_Source.pdf";
521521
String destFilename = destinationFolder + "copyAndEditTextFields.pdf";
522-
String cmpFileName = sourceFolder + "/cmp_copyAndEditTextFields.pdf";
522+
String cmpFileName = sourceFolder + "cmp_copyAndEditTextFields.pdf";
523523

524524
PdfDocument srcDoc = new PdfDocument(new PdfReader(srcFileName));
525525
PdfDocument destDoc = new PdfDocument(new PdfWriter(destFilename));
@@ -548,9 +548,9 @@ public void copyAndEditTextFields() throws IOException, InterruptedException {
548548
})
549549
public void copyAndEditCheckboxes() throws IOException, InterruptedException {
550550
//TODO: update after DEVSIX-2354
551-
String srcFileName = sourceFolder + "/checkPdfFormCopy_Source.pdf";
551+
String srcFileName = sourceFolder + "checkPdfFormCopy_Source.pdf";
552552
String destFilename = destinationFolder + "copyAndEditCheckboxes.pdf";
553-
String cmpFileName = sourceFolder + "/cmp_copyAndEditCheckboxes.pdf";
553+
String cmpFileName = sourceFolder + "cmp_copyAndEditCheckboxes.pdf";
554554

555555
PdfDocument srcDoc = new PdfDocument(new PdfReader(srcFileName));
556556
PdfDocument destDoc = new PdfDocument(new PdfWriter(destFilename));
@@ -577,9 +577,9 @@ public void copyAndEditCheckboxes() throws IOException, InterruptedException {
577577
})
578578
public void copyAndEditRadioButtons() throws IOException, InterruptedException {
579579
//TODO: update after DEVSIX-2354
580-
String srcFileName = sourceFolder + "/checkPdfFormCopy_Source.pdf";
580+
String srcFileName = sourceFolder + "checkPdfFormCopy_Source.pdf";
581581
String destFilename = destinationFolder + "copyAndEditRadioButtons.pdf";
582-
String cmpFileName = sourceFolder + "/cmp_copyAndEditRadioButtons.pdf";
582+
String cmpFileName = sourceFolder + "cmp_copyAndEditRadioButtons.pdf";
583583

584584
PdfDocument srcDoc = new PdfDocument(new PdfReader(srcFileName));
585585
PdfDocument destDoc = new PdfDocument(new PdfWriter(destFilename));

0 commit comments

Comments
 (0)