Skip to content

Commit 59598cd

Browse files
author
Kate Ivanova
committed
Minor fixes in InheritedPageEntriesTest & PdfAnnotationCopyingTest
DEVSIX-6325
1 parent 6e33840 commit 59598cd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

kernel/src/test/java/com/itextpdf/kernel/pdf/InheritedPageEntriesTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ This file is part of the iText (R) project.
3131
import com.itextpdf.test.annotations.type.IntegrationTest;
3232

3333
import java.io.IOException;
34-
import javax.swing.text.Document;
3534
import org.junit.Assert;
3635
import org.junit.BeforeClass;
3736
import org.junit.Test;

kernel/src/test/java/com/itextpdf/kernel/pdf/copy/PdfAnnotationCopyingTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public void copySameLinksWithGoToSmartModeTest() throws IOException, Interrupted
153153

154154
copyLinksGoToActionTest(outFilePath, true, false);
155155

156-
Assert.assertNull(new CompareTool().compareByContent(cmpFilePath, outFilePath, destinationFolder));
156+
Assert.assertNull(new CompareTool().compareByContent(outFilePath, cmpFilePath, destinationFolder));
157157
}
158158

159159
@Test
@@ -164,7 +164,7 @@ public void copyDiffDestLinksWithGoToSmartModeTest() throws IOException, Interru
164164

165165
copyLinksGoToActionTest(outFilePath, false, false);
166166

167-
Assert.assertNull(new CompareTool().compareByContent(cmpFilePath, outFilePath, destinationFolder));
167+
Assert.assertNull(new CompareTool().compareByContent(outFilePath, cmpFilePath, destinationFolder));
168168
}
169169

170170
@Test
@@ -175,7 +175,7 @@ public void copyDiffDisplayLinksWithGoToSmartModeTest() throws IOException, Inte
175175

176176
copyLinksGoToActionTest(outFilePath, false, true);
177177

178-
Assert.assertNull(new CompareTool().compareByContent(cmpFilePath, outFilePath, destinationFolder));
178+
Assert.assertNull(new CompareTool().compareByContent(outFilePath, cmpFilePath, destinationFolder));
179179
}
180180

181181
private void copyLinksGoToActionTest(String dest, boolean isTheSameLinks, boolean diffDisplayOptions)

0 commit comments

Comments
 (0)