use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testHasStroke.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#hasStroke(org.opengis.style.Symbolizer)}.
*/
@Test
public void testHasStroke() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
assertFalse(leaf.hasStroke(null));
assertFalse(leaf.hasStroke(DefaultSymbols.createDefaultPointSymbolizer()));
assertFalse(leaf.hasStroke(DefaultSymbols.createDefaultTextSymbolizer()));
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testCreateStroke.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#createStroke(org.opengis.style.Symbolizer)}.
*/
@Test
public void testCreateStroke() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
TextSymbolizer textSymbolizer = DefaultSymbols.createDefaultTextSymbolizer();
leaf.createStroke(textSymbolizer);
// Does nothing
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testRemoveFill.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#removeFill(org.opengis.style.Symbolizer)}.
*/
@Test
public void testRemoveFill() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
TextSymbolizer textSymbolizer = DefaultSymbols.createDefaultTextSymbolizer();
leaf.removeFill(textSymbolizer);
// Does nothing
}
use of com.sldeditor.common.tree.leaf.SLDTreeLeafText in project sldeditor by robward-scisys.
the class SLDTreeLeafTextTest method testCreateFill.
/**
* Test method for {@link com.sldeditor.common.tree.leaf.SLDTreeLeafText#createFill(org.opengis.style.Symbolizer)}.
*/
@Test
public void testCreateFill() {
SLDTreeLeafText leaf = new SLDTreeLeafText();
TextSymbolizer textSymbolizer = DefaultSymbols.createDefaultTextSymbolizer();
leaf.createFill(textSymbolizer);
// Does nothing
}
Aggregations