use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testGetFill.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#getFill(org.opengis.style.Symbolizer)}.
*/
@Test
public void testGetFill() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
assertNull(leaf.getFill(null));
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testHasFill.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#hasFill(org.opengis.style.Symbolizer)}.
*/
@Test
public void testHasFill() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
assertFalse(leaf.hasFill(null));
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testGetSymbolizer.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#getSymbolizer()}.
*/
@Test
public void testGetSymbolizer() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
assertEquals(LineSymbolizerImpl.class, leaf.getSymbolizer());
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testHasStroke.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#hasStroke(org.opengis.style.Symbolizer)}.
*/
@Test
public void testHasStroke() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
assertTrue(leaf.hasStroke(null));
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafLine in project sldeditor by robward-scisys.
the class SLDTreeLeafLineTest method testGetStroke.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafLine#getStroke(org.opengis.style.Symbolizer)}.
*/
@Test
public void testGetStroke() {
SLDTreeLeafLine leaf = new SLDTreeLeafLine();
assertNull(leaf.getStroke(null));
PolygonSymbolizer polygonSymbolizer = DefaultSymbols.createDefaultPolygonSymbolizer();
assertNull(leaf.getStroke(polygonSymbolizer));
LineSymbolizer lineSymbolizer = DefaultSymbols.createDefaultLineSymbolizer();
Stroke stroke = leaf.getStroke(lineSymbolizer);
assertEquals(stroke, lineSymbolizer.getStroke());
}
Aggregations