use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testRemoveStroke.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#removeStroke(org.opengis.style.Symbolizer)}.
*/
@Test
public void testRemoveStroke() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
LineSymbolizer lineSymbolizer = DefaultSymbols.createDefaultLineSymbolizer();
leaf.removeStroke(lineSymbolizer);
assertNull(lineSymbolizer.getStroke());
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testCreateFill.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#createFill(org.opengis.style.Symbolizer)}.
*/
@Test
public void testCreateFill() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
leaf.createFill(null);
// Does nothing
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testRemoveFill.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#removeFill(org.opengis.style.Symbolizer)}.
*/
@Test
public void testRemoveFill() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
leaf.removeFill(null);
// Does nothing
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testCreateStroke.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#createStroke(org.opengis.style.Symbolizer)}.
*/
@Test
public void testCreateStroke() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
LineSymbolizer lineSymbolizer = DefaultSymbols.createDefaultLineSymbolizer();
lineSymbolizer.setStroke(null);
leaf.createStroke(lineSymbolizer);
assertTrue(lineSymbolizer.getStroke() != null);
}
Aggregations