Skip to content

Commit bf47560

Browse files
ar3emiText-CI
authored andcommitted
Add test on preserveAspectRatio for element with x,y offset
DEVSIX-3537
1 parent 11e1f13 commit bf47560

13 files changed

+120
-0
lines changed

svg/src/test/java/com/itextpdf/svg/renderers/impl/PreserveAspectRatioSvgNodeRendererIntegrationTest.java

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,40 @@ public void viewBoxTranslationTestOuterZeroCoordinatesViewBox() throws IOExcepti
161161
public void viewBoxTranslationTestMultipleViewBoxes() throws IOException, InterruptedException {
162162
convertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "viewBoxTranslationTestMultipleViewBoxes");
163163
}
164+
165+
@Test
166+
//TODO (DEVSIX-3537) change cmp files after the ticket will be fixed
167+
public void svgTranslationYMinMeetTest() throws IOException, InterruptedException {
168+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "svgTranslationYMinMeetTest");
169+
}
170+
171+
@Test
172+
//TODO (DEVSIX-3537) change cmp files after the ticket will be fixed
173+
public void svgTranslationYMidMeetTest() throws IOException, InterruptedException {
174+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "svgTranslationYMidMeetTest");
175+
}
176+
177+
@Test
178+
//TODO (DEVSIX-3537) change cmp files after the ticket will be fixed
179+
public void svgTranslationYMaxMeetTest() throws IOException, InterruptedException {
180+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "svgTranslationYMaxMeetTest");
181+
}
182+
183+
@Test
184+
//TODO (DEVSIX-3537) change cmp files after the ticket will be fixed
185+
public void svgTranslationXMinMeetTest() throws IOException, InterruptedException {
186+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "svgTranslationXMinMeetTest");
187+
}
188+
189+
@Test
190+
//TODO (DEVSIX-3537) change cmp files after the ticket will be fixed
191+
public void svgTranslationXMidMeetTest() throws IOException, InterruptedException {
192+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "svgTranslationXMidMeetTest");
193+
}
194+
195+
@Test
196+
//TODO (DEVSIX-3537) change cmp files after the ticket will be fixed
197+
public void svgTranslationXMaxMeetTest() throws IOException, InterruptedException {
198+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "svgTranslationXMaxMeetTest");
199+
}
164200
}
Lines changed: 14 additions & 0 deletions
Loading
Lines changed: 14 additions & 0 deletions
Loading
Lines changed: 14 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)