Skip to content

Commit ef22e32

Browse files
ar3emiText-CI
authored andcommitted
Add test for the bug in processing preserveAspectRatio for markers
DEVSIX-3621
1 parent 44050f2 commit ef22e32

File tree

3 files changed

+88
-0
lines changed

3 files changed

+88
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public void markerPathViewboxRightOrientTest() throws IOException, InterruptedEx
102102
}
103103

104104
@Test
105+
// TODO (DEVSIX-3621) fix cmp after fixing
105106
public void markerPathViewboxRightOrientNoAspectRatioPreservationTest() throws IOException, InterruptedException {
106107
convertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER,
107108
"markerPathViewboxRightOrientNoAspectRatioPreservationTest");
@@ -129,6 +130,7 @@ public void markerPathViewboxAngledOrientTest() throws IOException, InterruptedE
129130
}
130131

131132
@Test
133+
// TODO (DEVSIX-3621) fix cmp after fixing
132134
public void markerPathPreserveAspectRatioTest() throws IOException, InterruptedException {
133135
convertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "markerPathPreserveAspectRatioTest");
134136
}
@@ -303,4 +305,10 @@ public void markerOverflowVisibleTransformRotateTest() throws IOException, Inter
303305
public void markerEspecialMarkerWidthHeightValuesTest() throws IOException, InterruptedException {
304306
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "markerEspecialMarkerWidthHeightValuesTest");
305307
}
308+
309+
@Test
310+
// TODO (DEVSIX-3621) change cmp after fixing
311+
public void deformationWhenRotationAndPreserveAspectRationNone() throws IOException, InterruptedException {
312+
convertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "deformationWhenRotationAndPreserveAspectRationNone");
313+
}
306314
}
Lines changed: 80 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)