Search in sources :

Example 1 with ExternalGraphicDetails

use of com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails in project sldeditor by robward-scisys.

the class ExternalGraphicDetailsTest method testSetEnabled.

/**
 * Test method for
 * {@link com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails#setEnabled(boolean)}.
 */
@Test
public void testSetEnabled() {
    ExternalGraphicDetails panel = new ExternalGraphicDetails(null);
    panel.setEnabled(true);
    assertTrue(panel.isEnabled());
    panel.setEnabled(false);
    assertFalse(panel.isEnabled());
}
Also used : ExternalGraphicDetails(com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails) Test(org.junit.Test)

Example 2 with ExternalGraphicDetails

use of com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails in project sldeditor by robward-scisys.

the class ExternalGraphicDetailsTest method testRevertToDefaultValue.

/**
 * Test method for
 * {@link com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails#revertToDefaultValue()}.
 */
@Test
public void testRevertToDefaultValue() {
    ExternalGraphicDetails panel = new ExternalGraphicDetails(null);
    panel.revertToDefaultValue();
}
Also used : ExternalGraphicDetails(com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails) Test(org.junit.Test)

Example 3 with ExternalGraphicDetails

use of com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails in project sldeditor by robward-scisys.

the class ExternalGraphicDetailsTest method testPreLoadSymbol.

/**
 * Test method for
 * {@link com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails#preLoadSymbol()}.
 */
@Test
public void testPreLoadSymbol() {
    ExternalGraphicDetails panel = new ExternalGraphicDetails(null);
    panel.preLoadSymbol();
}
Also used : ExternalGraphicDetails(com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails) Test(org.junit.Test)

Example 4 with ExternalGraphicDetails

use of com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails in project sldeditor by robward-scisys.

the class ExternalGraphicDetailsTest method testIsDataPresent.

/**
 * Test method for
 * {@link com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails#isDataPresent()}.
 */
@Test
public void testIsDataPresent() {
    ExternalGraphicDetails panel = new ExternalGraphicDetails(null);
    assertTrue(panel.isDataPresent());
}
Also used : ExternalGraphicDetails(com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails) Test(org.junit.Test)

Example 5 with ExternalGraphicDetails

use of com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails in project sldeditor by robward-scisys.

the class ExternalGraphicDetailsTest method testGetFieldDataManager.

/**
 * Test method for
 * {@link com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails#getFieldDataManager()}.
 */
@Test
public void testGetFieldDataManager() {
    ExternalGraphicDetails panel = new ExternalGraphicDetails(null);
    assertNotNull(panel.getFieldDataManager());
}
Also used : ExternalGraphicDetails(com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails) Test(org.junit.Test)

Aggregations

ExternalGraphicDetails (com.sldeditor.ui.detail.config.symboltype.externalgraphic.ExternalGraphicDetails)9 Test (org.junit.Test)9 FieldConfigString (com.sldeditor.ui.detail.config.FieldConfigString)3 File (java.io.File)1 MalformedURLException (java.net.MalformedURLException)1 URL (java.net.URL)1 ExternalGraphicImpl (org.geotools.styling.ExternalGraphicImpl)1 StyleFactoryImpl (org.geotools.styling.StyleFactoryImpl)1