use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testHasFill.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#hasFill(org.opengis.style.Symbolizer)}.
*/
@Test
public void testHasFill() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
assertFalse(leaf.hasFill(null));
assertFalse(leaf.hasFill(DefaultSymbols.createDefaultPointSymbolizer()));
assertFalse(leaf.hasFill(DefaultSymbols.createDefaultTextSymbolizer()));
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testGetStroke.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#getStroke(org.opengis.style.Symbolizer)}.
*/
@Test
public void testGetStroke() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
assertNull(leaf.getStroke(null));
assertNull(leaf.getStroke(DefaultSymbols.createDefaultPointSymbolizer()));
assertNull(leaf.getStroke(DefaultSymbols.createDefaultTextSymbolizer()));
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testGetSymbolizer.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#getSymbolizer()}.
*/
@Test
public void testGetSymbolizer() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
assertEquals(TextSymbolizerImpl.class, leaf.getSymbolizer());
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testRemoveStroke.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#removeStroke(org.opengis.style.Symbolizer)}.
*/
@Test
public void testRemoveStroke() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
TextSymbolizer textSymbolizer = DefaultSymbols.createDefaultTextSymbolizer();
leaf.removeStroke(textSymbolizer);
// Does nothing
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testGetFill.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#getFill(org.opengis.style.Symbolizer)}.
*/
@Test
public void testGetFill() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
assertNull(leaf.getFill(null));
assertNull(leaf.getFill(DefaultSymbols.createDefaultPointSymbolizer()));
assertNull(leaf.getFill(DefaultSymbols.createDefaultTextSymbolizer()));
}
Aggregations