Skip to content

Commit bba6f38

Browse files
ar3emiText-CI
authored andcommitted
Add tests with all options of preserveAspectRation in svg element
DEVSIX-4861
1 parent c8542f7 commit bba6f38

File tree

3 files changed

+82
-1
lines changed

3 files changed

+82
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This file is part of the iText (R) project.
5555
import org.junit.rules.ExpectedException;
5656

5757
@Category(IntegrationTest.class)
58-
public class ViewBoxSvgTagSvgNodeRendererIntegrationTest extends SvgIntegrationTest{
58+
public class ViewBoxSvgTagSvgNodeRendererIntegrationTest extends SvgIntegrationTest {
5959

6060
@Rule
6161
public ExpectedException junitExpectedException = ExpectedException.none();
@@ -135,4 +135,10 @@ public void viewBoxXYValuesPreserveAspectRatioXMaxYMaxMeetValues() throws IOExce
135135
public void viewBoxXYValuesPreserveAspectRatioXMaxYMaxSliceValues() throws IOException, InterruptedException {
136136
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER,"viewBoxXYValuesPreserveAspectRatioXMaxYMaxSliceValues");
137137
}
138+
139+
@Test
140+
//TODO DEVSIX-4861 change cmp after fix
141+
public void preserveAspectRationAllOptionsTest() throws IOException, InterruptedException {
142+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER,"preserveAspectRationAllOptions");
143+
}
138144
}
Lines changed: 75 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)