use of org.kie.workbench.common.forms.fields.shared.fieldTypes.basic.selectors.radioGroup.definition.StringRadioGroupFieldDefinition in project kie-wb-common by kiegroup.
the class FieldRendererManagerImplTest method testFunctionallity.
@Test
public void testFunctionallity() {
testRendererFor(new CheckBoxFieldDefinition(), CheckBoxFieldRenderer.class, 1);
testRendererFor(new DatePickerFieldDefinition(), DatePickerFieldRenderer.class, 1);
testRendererFor(new EnumListBoxFieldDefinition(), EnumListBoxFieldRenderer.class, 1);
testRendererFor(new StringListBoxFieldDefinition(), StringListBoxFieldRenderer.class, 1);
testRendererFor(new IntegerListBoxFieldDefinition(), IntegerListBoxFieldRenderer.class, 1);
testRendererFor(new StringRadioGroupFieldDefinition(), StringRadioGroupFieldRenderer.class, 1);
testRendererFor(new IntegerRadioGroupFieldDefinition(), IntegerRadioGroupFieldRenderer.class, 1);
testRendererFor(new TextAreaFieldDefinition(), TextAreaFieldRenderer.class, 1);
testRendererFor(new IntegerSliderDefinition(), SliderFieldRenderer.class, 1);
testRendererFor(new DoubleSliderDefinition(), SliderFieldRenderer.class, 2);
testRendererFor(new MultipleSubFormFieldDefinition(), MultipleSubFormFieldRenderer.class, 1);
testRendererFor(new SubFormFieldDefinition(), SubFormFieldRenderer.class, 1);
testRendererFor(new TextBoxFieldDefinition(), TextBoxFieldRenderer.class, 1);
testRendererFor(new CharacterBoxFieldDefinition(), TextBoxFieldRenderer.class, 2);
testRendererFor(new DecimalBoxFieldDefinition(), DecimalBoxFieldRenderer.class, 1);
testRendererFor(new IntegerBoxFieldDefinition(), IntegerBoxFieldRenderer.class, 1);
testUnexistingRenderer(new PictureFieldDefinition());
}
Aggregations