Class RadioButtonGroupTester<T extends RadioButtonGroup<V>,V>
java.lang.Object
com.vaadin.browserless.ComponentTester<T>
com.vaadin.flow.component.radiobutton.RadioButtonGroupTester<T,V>
- Type Parameters:
T- component typeV- value type
- All Implemented Interfaces:
Clickable<T>
Tester for RadioButtonGroup components.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeselects item selection.Get the list of currently selected items.voidselectItem(String selection) Selects an item by its client string representation.Methods inherited from class com.vaadin.browserless.ComponentTester
ensureComponentIsUsable, ensureComponentIsUsable, ensureVisible, ensureVisible, find, findAllByQuery, findByQuery, fireDomEvent, fireDomEvent, fireDomEvent, getComponent, getField, getField, getMethod, getMethod, isComponentReadOnly, isUsable, isUsable, notUsableReasons, notUsableReasons, roundTrip, setModal, setValueAsUserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.browserless.Clickable
click, click, click, middleClick, middleClick, rightClick, rightClick
-
Constructor Details
-
RadioButtonGroupTester
Wrap given component for testing.- Parameters:
component- target component
-
-
Method Details
-
selectItem
Selects an item by its client string representation.- Parameters:
selection- item string representation
-
deselectItem
public void deselectItem()Deselects item selection. -
getSelected
Get the list of currently selected items.- Returns:
- current selection, or an empty list. Never null.
-