aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/data/BinderValidationStatusTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix NPE check in BindingValidationStatus (#10964)Olli Tietäväinen2018-06-051-0/+13
|
* Remove copyright headers from test code (#10770)Teemu Suo-Anttila2018-03-281-15/+0
|
* Update copyright year (#10761)Ilia Motornyi2018-03-271-1/+1
|
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-201-24/+18
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-031-93/+96
| | | | Also removes dependency on junit.framework.TestCase .
* Remove usage of Consumer from event listeners (#7985)Pekka Hyvönen2016-12-141-9/+9
| | | | | | | | | | | | | Touched event listeners are: - SelectionListener - MultiSelectionListener - SingleSelectionListener - ValueChangeListener - ItemClickListener - BindingValidationStatusHandler - BinderValidationStatusHandler - StatusChangeListener Part of vaadin/framework8-issues#264
* Separate Binding and BindingBuilder (#80)Leif Åstrand2016-12-051-21/+20
| | | | | BindingBinder is API that is used before calling bind() Binding is API that is used after calling bind()
* Simplify Binding API by removing the FIELDTYPE type parameterLeif Åstrand2016-11-291-16/+16
| | | | | | | | | | The type parameter is mainly used internally, the only externally facing use is to define the exact type of Binding.getField. Code that has access to a typed instance of Binding does typically also have direct access to the field instance, so there's no real use for the type parameter. Change-Id: Idf2ab18a79ec5f0a7cef83705b8084fbf7014c10
* Fix field value change event handling for unbound binderAleksi Hietanen2016-11-221-0/+1
| | | | | | | | | Unbound binder now correctly sets hasChanges and sends binder status change events. In addition, hasChanges no longer returns true in the case where a bean is bound and changes to the bean were valid. Change-Id: Ia0a0915c2a205461a2a4b1bfd393413520f863eb
* Introduces ValidationResult interface to replace Result in validators.Denis Anisimov2016-11-011-1/+1
| | | | | | Fixes vaadin/framework8-issues#414 Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
* Add ValueContext to ValidatorsTeemu Suo-Anttila2016-10-261-8/+7
| | | | Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
* Rename Binder methodsPekka Hyvönen2016-10-261-2/+2
| | | | | | | | | | | save -> writeBean, saveIfValid -> writeBeanIfValid, load -> readBean, bind -> setBean, unbind -> removeBean. Now setBean accepts null to reset the bean instead of throwing NPE. Closes vaadin/framework8-issues#91 Change-Id: I42cbad5856cac11a03bfcefd0fa91a02c41b7234
* Split Binder tests roughly by categoryJohannes Dahlström2016-09-141-0/+507
Change-Id: I7c1a55bd68097819e8091533df7232271af689c3