Skip to content

Commit 34bbe96

Browse files
ars18wrwiText-CI
authored andcommitted
Add some new SVG tests for preserveAspectRatio attribute.
DEVSIX-2240
1 parent dafa9c8 commit 34bbe96

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,21 @@ public static void beforeClass() {
7171
ITextTest.createDestinationFolder(DESTINATION_FOLDER);
7272
}
7373

74-
@Ignore("RND-876")
7574
@Test
7675
public void xMinYMinTest() throws IOException, InterruptedException {
7776
convertAndCompareVisually(SOURCE_FOLDER, DESTINATION_FOLDER,"xminymin");
7877
}
7978

80-
81-
@Ignore("RND-876")
8279
@Test
8380
public void viewBoxScalingTestPreserveAspect_Default_All() throws IOException, InterruptedException {
8481
convertAndCompareSinglePageVisually(SOURCE_FOLDER, DESTINATION_FOLDER,"viewbox_scaling_PreserveAspectRatio_Default_all");
8582
}
8683

84+
@Test
85+
public void viewBoxWithoutSetPreserveAspectRatio() throws IOException, InterruptedException {
86+
convertAndCompareSinglePageVisually(SOURCE_FOLDER, DESTINATION_FOLDER,"viewBox_without_set_preserve_aspect_ratio");
87+
}
88+
8789
@Test
8890
public void viewBoxScalingTestDoNotPreserveAspect_Min() throws IOException, InterruptedException {
8991
convertAndCompareSinglePageVisually(SOURCE_FOLDER, DESTINATION_FOLDER,"viewbox_scaling_DoNotPreserveAspectRatio_min");
Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)