use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testIsEqualNodeKONULL.
@Test
public void testIsEqualNodeKONULL() {
SVGAttr attr = new SVGAttr("n", "v", node);
assertFalse(attr.isEqualNode(null));
}
use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testSetValue.
@Test
public void testSetValue() {
SVGAttr attr = new SVGAttr("", "", node);
attr.setValue("val");
assertEquals("val", attr.getValue());
}
use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testIsEqualNodeKO1.
@Test
public void testIsEqualNodeKO1() {
SVGAttr attr = new SVGAttr("n", "v", node);
SVGAttr attr2 = new SVGAttr("n", "", node);
assertFalse(attr.isEqualNode(attr2));
}
use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testChildNodes.
@Test
public void testChildNodes() {
SVGAttr attr = new SVGAttr("", "", node);
assertFalse(attr.hasChildNodes());
}
use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testIsSameNodeSelf.
@Test
public void testIsSameNodeSelf() {
SVGAttr attr = new SVGAttr("n", "v", node);
assertTrue(attr.isSameNode(attr));
}
Aggregations