use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testGetValue.
@Test
public void testGetValue() {
SVGAttr attr = new SVGAttr("", "attrValue", node);
assertEquals("attrValue", attr.getValue());
}
use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testIsEqualNodeKO2.
@Test
public void testIsEqualNodeKO2() {
SVGAttr attr = new SVGAttr("n", "v", node);
SVGAttr attr2 = new SVGAttr("", "v", node);
assertFalse(attr.isEqualNode(attr2));
}
use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testIsIdOK.
@Test
public void testIsIdOK() {
SVGAttr attr = new SVGAttr("id", "", node);
assertTrue(attr.isId());
}
use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testGetNodeValue.
@Test
public void testGetNodeValue() {
SVGAttr attr = new SVGAttr("", "attrValue", node);
assertEquals("attrValue", attr.getNodeValue());
}
use of net.sf.latexdraw.parsers.svg.SVGAttr in project latexdraw by arnobl.
the class TestSVGAttr method testIsSameNodeKONULL.
@Test
public void testIsSameNodeKONULL() {
SVGAttr attr = new SVGAttr("n", "v", node);
assertFalse(attr.isSameNode(null));
}
Aggregations