Skip to content

Commit 29b1d0d

Browse files
Kate IvanovaiText-CI
authored andcommitted
Add unvalidUrlFillTest
DEVSIX-3365
1 parent 84da047 commit 29b1d0d

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

svg/src/test/java/com/itextpdf/svg/renderers/FillTest.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ This file is part of the iText (R) project.
4242
*/
4343
package com.itextpdf.svg.renderers;
4444

45+
import com.itextpdf.svg.exceptions.SvgLogMessageConstant;
4546
import com.itextpdf.svg.exceptions.SvgProcessingException;
4647
import com.itextpdf.test.ITextTest;
48+
import com.itextpdf.test.annotations.LogMessage;
49+
import com.itextpdf.test.annotations.LogMessages;
4750
import com.itextpdf.test.annotations.type.IntegrationTest;
4851

4952
import java.io.IOException;
@@ -141,4 +144,13 @@ public void pathVerticalLineFillTest() throws IOException, InterruptedException
141144
public void pathHorizontalLineFillTest() throws IOException, InterruptedException {
142145
convertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "pathHorizontalLineFillTest");
143146
}
144-
}
147+
148+
@Test
149+
@LogMessages(messages = {
150+
@LogMessage(messageTemplate = SvgLogMessageConstant.UNMAPPEDTAG),
151+
})
152+
//TODO update cmp file after DEVSIX-3365 will be fixed
153+
public void invalidUrlFillTest() throws IOException, InterruptedException {
154+
convertAndCompare(SOURCE_FOLDER, DESTINATION_FOLDER, "invalidUrlFillTest");
155+
}
156+
}
Lines changed: 25 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)