/** * Sets a boolean property from a tristate checkbox. * * @param element the test element * @param propName the property name */ public void setPropertyFromTristate(TestElement element, String propName) { if (isIndeterminate()) { element.removeProperty(propName); } else { element.setProperty(propName, isSelected()); } }
if (GenericTestBeanCustomizer.noSaveDefault(desc)) { log.debug("Did not set DEFAULT for {}", name); element.removeProperty(name); } else { setPropertyInElement(element, name, desc.getValue(GenericTestBeanCustomizer.DEFAULT)); element.removeProperty(name); element.removeProperty(name); } else { setPropertyInElement(element, name, value);
config.setProperty(new BooleanProperty(HTTPSamplerBase.IMAGE_PARSER, true)); } else { config.removeProperty(HTTPSamplerBase.IMAGE_PARSER); config.removeProperty(HTTPSamplerBase.CONCURRENT_DWN); config.setProperty(new BooleanProperty(HTTPSamplerBase.MD5, true)); } else { config.removeProperty(HTTPSamplerBase.MD5); embeddedRE.getText())); } else { config.removeProperty(HTTPSamplerBase.EMBEDDED_URL_RE); sourceIpType.getSelectedIndex())); } else { config.removeProperty(HTTPSamplerBase.IP_SOURCE); config.removeProperty(HTTPSamplerBase.IP_SOURCE_TYPE);