Class TimePickerTester<T extends TimePicker>
java.lang.Object
com.vaadin.testbench.unit.ComponentTester<T>
com.vaadin.flow.component.timepicker.TimePickerTester<T>
- Type Parameters:
T- component type
- All Implemented Interfaces:
Clickable<T>
Tester for TimePicker components.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.testbench.unit.ComponentTester
ensureComponentIsUsable, ensureComponentIsUsable, ensureVisible, ensureVisible, find, findAllByQuery, findByQuery, fireDomEvent, fireDomEvent, fireDomEvent, getComponent, getField, getField, getMethod, getMethod, 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.testbench.unit.Clickable
click, click, click, middleClick, middleClick, rightClick, rightClick
-
Constructor Details
-
TimePickerTester
Wrap given component for testing.- Parameters:
component- target component
-
-
Method Details
-
setValue
Set the time to the component. Will throw if component is not enabled or value is not valid.- Parameters:
time- time to set to component- Throws:
IllegalArgumentException- if value is invalid
-