use of org.talend.components.api.properties.ComponentProperties in project components by Talend.
the class SalesforceTestBase method checkAndAfter.
protected ComponentProperties checkAndAfter(Form form, String propName, ComponentProperties props) throws Throwable {
assertTrue(form.getWidget(propName).isCallAfter());
ComponentProperties afterProperty = (ComponentProperties) getComponentService().afterProperty(propName, props);
assertEquals("ComponentProperties after failed[" + props.getClass().getCanonicalName() + "/after" + StringUtils.capitalize(propName) + "] :" + afterProperty.getValidationResult().getMessage(), ValidationResult.Result.OK, afterProperty.getValidationResult().getStatus());
return afterProperty;
}
Aggregations