We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.datepicker.
Class DatePickerTester<T extends DatePicker>
java.lang.Object
com.vaadin.testbench.unit.ComponentTester<T>
com.vaadin.flow.component.datepicker.DatePickerTester<T>
Type Parameters:
T
- component type
Tester for the DatePicker 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
-
Constructor Details
-
DatePickerTester
Wrap given component for testing.
Parameters:
component
- target component
-
-
Method Details
-
setValue
Set the given date as value to the component.
Will throw if the component is not enabled or the value is invalid.
Parameters:
date
- date to set to the componentThrows:
IllegalArgumentException
- if the given value is not valid
-