Skip to content

Commit 4c33790

Browse files
committed
Remove DefaultStylesTest#inheritedDefaultStyleTest
DEVSIX-2289
1 parent e23ed22 commit 4c33790

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

svg/src/test/java/com/itextpdf/svg/css/DefaultStylesTest.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ This file is part of the iText (R) project.
5050
import com.itextpdf.svg.SvgConstants;
5151
import com.itextpdf.svg.css.impl.SvgStyleResolver;
5252
import com.itextpdf.svg.dummy.sdk.ExceptionInputStream;
53-
import com.itextpdf.svg.processors.impl.SvgConverterProperties;
54-
import com.itextpdf.svg.processors.impl.SvgProcessorContext;
5553
import com.itextpdf.test.ExtendedITextTest;
5654
import com.itextpdf.test.annotations.type.UnitTest;
5755

@@ -60,7 +58,6 @@ This file is part of the iText (R) project.
6058
import java.util.Map;
6159

6260
import org.junit.Assert;
63-
import org.junit.Ignore;
6461
import org.junit.Rule;
6562
import org.junit.Test;
6663
import org.junit.experimental.categories.Category;
@@ -126,20 +123,4 @@ public void emptyStylesFallbackTest() throws IOException {
126123
junitExpectedException.expect(IOException.class);
127124
new SvgStyleResolver(new ExceptionInputStream());
128125
}
129-
130-
131-
132-
@Test
133-
@Ignore("DEVSIX-2289")
134-
public void inheritedDefaultStyleTest() {
135-
ICssResolver styleResolver = new SvgStyleResolver();
136-
Element svg = new Element(Tag.valueOf("svg"), "");
137-
Element circle = new Element(Tag.valueOf("circle"), "");
138-
INode svgNode = new JsoupElementNode(svg);
139-
svgNode.addChild(new JsoupElementNode(circle));
140-
141-
Map<String, String> resolvedStyles = styleResolver.resolveStyles(svgNode.childNodes().get(0), null);
142-
143-
Assert.assertEquals("black", resolvedStyles.get(SvgConstants.Attributes.STROKE));
144-
}
145126
}

0 commit comments

Comments
 (0)