Skip to content

Commit b3002c7

Browse files
Kate IvanovaiText-CI
authored andcommitted
Add new strokeWidthMeasureUnitsTest and refactor test
DEVSIX-3432 Autoported commit. Original commit hash: [315596916]
1 parent a16407a commit b3002c7

File tree

6 files changed

+61
-3
lines changed

6 files changed

+61
-3
lines changed

itext.tests/itext.svg.tests/itext/svg/renderers/StrokeTest.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ source product.
4242
*/
4343
using System;
4444
using iText.Test;
45+
using iText.Test.Attributes;
4546

4647
namespace iText.Svg.Renderers {
4748
public class StrokeTest : SvgIntegrationTest {
@@ -72,9 +73,16 @@ public virtual void NoLineStrokeWidthTest() {
7273
}
7374

7475
[NUnit.Framework.Test]
75-
public virtual void Advanced_stroke_Test() {
76+
public virtual void AdvancedStrokeTest() {
7677
//TODO: update cmp-file after DEVSIX-2258
77-
ConvertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "stroke_advanced");
78+
ConvertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "strokeAdvanced");
79+
}
80+
81+
[NUnit.Framework.Test]
82+
//TODO: update cmp-file after DEVSIX-3432
83+
[LogMessage(iText.StyledXmlParser.LogMessageConstant.UNKNOWN_ABSOLUTE_METRIC_LENGTH_PARSED, Count = 12)]
84+
public virtual void StrokeWidthMeasureUnitsTest() {
85+
ConvertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "strokeWidthMeasureUnitsTest");
7886
}
7987
}
8088
}
Lines changed: 50 additions & 0 deletions
Loading

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
35f23db542ff803690c963ab397ce1f268a4f9b2
1+
31559691677efbbc2269a7990fdeb6981b42a0dc

0 commit comments

Comments
 (0)