Skip to content

Commit 37b07ad

Browse files
ar3emiText-CI
authored andcommitted
Add test for the bug in processing preserveAspectRatio for markers
DEVSIX-3621 Autoported commit. Original commit hash: [ef22e32d0]
1 parent ecf1d35 commit 37b07ad

File tree

4 files changed

+90
-1
lines changed

4 files changed

+90
-1
lines changed

itext.tests/itext.svg.tests/itext/svg/renderers/impl/MarkerSvgNodeRendererIntegrationTest.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public virtual void MarkerPathViewboxRightOrientTest() {
9494

9595
[NUnit.Framework.Test]
9696
public virtual void MarkerPathViewboxRightOrientNoAspectRatioPreservationTest() {
97+
// TODO (DEVSIX-3621) fix cmp after fixing
9798
ConvertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "markerPathViewboxRightOrientNoAspectRatioPreservationTest"
9899
);
99100
}
@@ -120,6 +121,7 @@ public virtual void MarkerPathViewboxAngledOrientTest() {
120121

121122
[NUnit.Framework.Test]
122123
public virtual void MarkerPathPreserveAspectRatioTest() {
124+
// TODO (DEVSIX-3621) fix cmp after fixing
123125
ConvertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "markerPathPreserveAspectRatioTest");
124126
}
125127

@@ -300,5 +302,12 @@ public virtual void MarkerEspecialMarkerWidthHeightValuesTest() {
300302
ConvertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "markerEspecialMarkerWidthHeightValuesTest"
301303
);
302304
}
305+
306+
[NUnit.Framework.Test]
307+
public virtual void DeformationWhenRotationAndPreserveAspectRationNone() {
308+
// TODO (DEVSIX-3621) change cmp after fixing
309+
ConvertAndCompareSinglePage(SOURCE_FOLDER, DESTINATION_FOLDER, "deformationWhenRotationAndPreserveAspectRationNone"
310+
);
311+
}
303312
}
304313
}
Lines changed: 80 additions & 0 deletions
Loading

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
44050f2b4545649cdd642e5e09be1e2364feee94
1+
ef22e32d0ba58fbb1464d47f6a4fec2fab8321b2

0 commit comments

Comments
 (0)