use of com.sldeditor.filter.v2.expression.ExpressionPanelv2 in project sldeditor by robward-scisys.
the class FilterNodeTest method testSetName.
/**
* Test method for {@link
* com.sldeditor.filter.v2.expression.FilterNode#setName(java.lang.String)}.
*/
@Test
public void testSetName() {
FilterNode node = new FilterNode();
assertNull(node.getFilter());
String name = "filtername";
node.setName(name);
String expected = name + " : " + Localisation.getString(ExpressionPanelv2.class, "FilterNode.filterNotSet");
assertTrue(node.toString().compareTo(expected) == 0);
}
Aggregations