aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/data/BinderConverterValidatorTest.java
Commit message (Collapse)AuthorAgeFilesLines
* 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-12/+9
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Fix Binder bean writing to only validate and write given bindings (#10162)Teemu Suo-Anttila2017-10-111-2/+10
|
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-031-40/+39
| | | | Also removes dependency on junit.framework.TestCase .
* Fix some issues with Binder serialization (#8660)Ilia Motornyi2017-02-231-1/+2
| | | Partial fix for #8640
* Global java code cleanup using Eclipse Neon.1Leif Åstrand2016-12-201-3/+4
|
* Rename com.vaadin.data.util.converter to com.vaadin.data.converterPekka Hyvönen2016-12-141-2/+1
|
* Remove usage of Consumer from event listeners (#7985)Pekka Hyvönen2016-12-141-10/+10
| | | | | | | | | | | | | Touched event listeners are: - SelectionListener - MultiSelectionListener - SingleSelectionListener - ValueChangeListener - ItemClickListener - BindingValidationStatusHandler - BinderValidationStatusHandler - StatusChangeListener Part of vaadin/framework8-issues#264
* Change return type of Binder#getBean to BEANAleksi Hietanen2016-12-081-4/+4
|
* Separate Binding and BindingBuilder (#80)Leif Åstrand2016-12-051-14/+15
| | | | | 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-15/+14
| | | | | | | | | | 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-4/+27
| | | | | | | | | 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
* Use lambdas where appropriatePer-Åke Minborg2016-11-071-10/+6
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722d
* Explicit type args can be inferredPer-Åke Minborg2016-11-051-3/+3
| | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7231
* Revert "Convert to for-each loop, Stream and switch-over-strings"Pekka Hyvönen2016-11-031-9/+8
| | | | | | This reverts commit 73078c7560d40db80dae6a6fb8047c29a92dd8d0. Change-Id: I2757232d1312ae5162550d9fafb26c2d657c1b7f
* Convert to for-each loop, Stream and switch-over-stringsPer-Åke Minborg2016-11-021-8/+9
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7218
* Introduces ValidationResult interface to replace Result in validators.Denis Anisimov2016-11-011-4/+4
| | | | | | Fixes vaadin/framework8-issues#414 Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
* Add ValueContext to ValidatorsTeemu Suo-Anttila2016-10-261-4/+5
| | | | Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
* Rename Binder methodsPekka Hyvönen2016-10-261-36/+36
| | | | | | | | | | | 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
* Correct serializable issues and test that components can be serializedLeif Åstrand2016-10-241-2/+3
| | | | Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753
* Initial support for null representations in BinderTeemu Suo-Anttila2016-10-241-5/+26
| | | | Change-Id: If40bfa28764d1399b5ed4d5928988560e9989dce
* Revert "Initial support for null representations in Binder"Denis Anisimov2016-10-201-26/+5
| | | | | | This reverts commit 9f672890c143098b266ede6397e89379a38cc098. Change-Id: I0952a7f9c7efc8a5d7de9987277b835d92d52b39
* Initial support for null representations in BinderTeemu Suo-Anttila2016-10-201-5/+26
| | | | Change-Id: I1325c629da220317506306fe8f6fff5c0494d9d9
* Split Binder tests roughly by categoryJohannes Dahlström2016-09-141-0/+687
Change-Id: I7c1a55bd68097819e8091533df7232271af689c3