use of com.sldeditor.ui.detail.config.FieldConfigDSProperties in project sldeditor by robward-scisys.
the class FieldConfigDSPropertiesTest method testRevertToDefaultValue.
/**
* Test method for
* {@link com.sldeditor.ui.detail.config.FieldConfigDSProperties#revertToDefaultValue()}. Test method
* for {@link com.sldeditor.ui.detail.config.FieldConfigDSProperties#addConfig(java.util.List)}. Test
* method for
* {@link com.sldeditor.ui.detail.config.FieldConfigDSProperties#setDefaultValue(java.lang.String)}.
*/
@Test
public void testRevertToDefaultValue() {
boolean valueOnly = true;
FieldConfigDSProperties field = new FieldConfigDSProperties(new FieldConfigCommonData(Integer.class, FieldIdEnum.NAME, "label", valueOnly));
field.revertToDefaultValue();
assertNull(field.getStringValue());
}
Aggregations