Search in sources :

Example 21 with VOGeoServerTextSymbolizer2

use of com.sldeditor.ui.detail.vendor.geoserver.text.VOGeoServerTextSymbolizer2 in project sldeditor by robward-scisys.

the class VOGeoServerTextSymbolizer2Test method testGetVendorOption.

/**
 * Test method for {@link
 * com.sldeditor.ui.detail.vendor.geoserver.text.VOGeoServerTextSymbolizer2#getVendorOption()}.
 */
@Test
public void testGetVendorOption() {
    TextSymbolizerDetails panel = new TextSymbolizerDetails();
    VOGeoServerTextSymbolizer2 testObj = new VOGeoServerTextSymbolizer2(panel.getClass());
    assertNotNull(testObj.getVendorOption());
}
Also used : VOGeoServerTextSymbolizer2(com.sldeditor.ui.detail.vendor.geoserver.text.VOGeoServerTextSymbolizer2) TextSymbolizerDetails(com.sldeditor.ui.detail.TextSymbolizerDetails) Test(org.junit.jupiter.api.Test)

Example 22 with VOGeoServerTextSymbolizer2

use of com.sldeditor.ui.detail.vendor.geoserver.text.VOGeoServerTextSymbolizer2 in project sldeditor by robward-scisys.

the class VOGeoServerTextSymbolizer2Test method testOptionSelected.

/**
 * Test method for {@link
 * com.sldeditor.ui.detail.vendor.geoserver.text.VOGeoServerTextSymbolizer2#optionSelected(java.lang.Class,
 * java.lang.String)}.
 */
@Test
public void testOptionSelected() {
    TextSymbolizerDetails panel = new TextSymbolizerDetails();
    VOGeoServerTextSymbolizer2 testObj = new VOGeoServerTextSymbolizer2(panel.getClass());
    testObj.optionSelected(null, "test");
    testObj.optionSelected(String.class, "test");
}
Also used : VOGeoServerTextSymbolizer2(com.sldeditor.ui.detail.vendor.geoserver.text.VOGeoServerTextSymbolizer2) TextSymbolizerDetails(com.sldeditor.ui.detail.TextSymbolizerDetails) Test(org.junit.jupiter.api.Test)

Aggregations

TextSymbolizerDetails (com.sldeditor.ui.detail.TextSymbolizerDetails)22 VOGeoServerTextSymbolizer2 (com.sldeditor.ui.detail.vendor.geoserver.text.VOGeoServerTextSymbolizer2)22 Test (org.junit.jupiter.api.Test)22 PolygonSymbolizer (org.geotools.styling.PolygonSymbolizer)3 RasterSymbolizer (org.geotools.styling.RasterSymbolizer)3 VendorOptionPresent (com.sldeditor.common.vendoroption.minversion.VendorOptionPresent)2 FeatureTypeStyle (org.geotools.styling.FeatureTypeStyle)2 SelectedChannelType (org.geotools.styling.SelectedChannelType)2 TextSymbolizer (org.geotools.styling.TextSymbolizer)2 TextSymbolizer2 (org.geotools.styling.TextSymbolizer2)2 FilterFactory (org.opengis.filter.FilterFactory)2 SelectedSymbol (com.sldeditor.common.data.SelectedSymbol)1 FieldIdEnum (com.sldeditor.common.xml.ui.FieldIdEnum)1 UpdateSymbolInterface (com.sldeditor.ui.iface.UpdateSymbolInterface)1 File (java.io.File)1 MalformedURLException (java.net.MalformedURLException)1 ArrayList (java.util.ArrayList)1 Graphic (org.geotools.styling.Graphic)1 OtherText (org.geotools.styling.OtherText)1 OtherTextImpl (org.geotools.styling.OtherTextImpl)1