Skip to content

Commit 5fd8411

Browse files
committed
Add test on the viewBox x, y values
DEVSIX-3493
1 parent bf47560 commit 5fd8411

7 files changed

+30
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,22 @@ public void viewBox400x100() throws IOException, InterruptedException {
117117
public void viewBox400x200() throws IOException, InterruptedException {
118118
convertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER,"viewbox_400x200");
119119
}
120+
121+
@Test
122+
//TODO (DEVSIX-3493) change cmp files after fix
123+
public void viewBoxXYValuesPreserveAspectRatioNoneValues() throws IOException, InterruptedException {
124+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER,"viewBoxXYValuesPreserveAspectRatioNoneValues");
125+
}
126+
127+
@Test
128+
//TODO (DEVSIX-3493) change cmp files after fix
129+
public void viewBoxXYValuesPreserveAspectRatioXMaxYMaxMeetValues() throws IOException, InterruptedException {
130+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER,"viewBoxXYValuesPreserveAspectRatioXMaxYMaxMeetValues");
131+
}
132+
133+
@Test
134+
//TODO (DEVSIX-3493) change cmp files after fix
135+
public void viewBoxXYValuesPreserveAspectRatioXMaxYMaxSliceValues() throws IOException, InterruptedException {
136+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER,"viewBoxXYValuesPreserveAspectRatioXMaxYMaxSliceValues");
137+
}
120138
}
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)