aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Create MultiSelect interface to replace Multi selection model.Denis Anisimov2016-11-046-152/+123
| | | | | | Fixes vaadin/framework8-issues#423 Change-Id: Ifd252b8feed323708a7ae73af2b836832570d192
* Revert "Convert to for-each loop, Stream and switch-over-strings"Pekka Hyvönen2016-11-032-11/+12
| | | | | | This reverts commit 73078c7560d40db80dae6a6fb8047c29a92dd8d0. Change-Id: I2757232d1312ae5162550d9fafb26c2d657c1b7f
* Remove manual array copyPer-Åke Minborg2016-11-021-3/+2
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721b
* Remove Boolean constructor invocation and add foreachPer-Åke Minborg2016-11-022-2/+2
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7219
* Convert to for-each loop, Stream and switch-over-stringsPer-Åke Minborg2016-11-023-14/+12
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7218
* Convert to try-with-resourcePer-Åke Minborg2016-11-022-8/+8
| | | | | | And also replace "utf-8" with StandardCharsets.UTF_8 Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7215
* Use diamond in generic creation where possiblePer-Åke Minborg2016-11-021-1/+1
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7214
* Add @Override annotationsPer-Åke Minborg2016-11-021-0/+2
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7240
* Add bracesPer-Åke Minborg2016-11-021-3/+5
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7213
* Use operator assignments where possiblePer-Åke Minborg2016-11-022-2/+2
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7212
* Add private constructor for utility classesPer-Åke Minborg2016-11-023-1/+11
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7210
* Make SelectionModel API only server side.Denis Anisimov2016-11-023-4/+4
| | | | | | | Client side doesn't use selection model anymore. Fixes vaadin/framework8-issues#421 Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75
* Move setReadOnly from Component to HasValueTeemu Suo-Anttila2016-11-022-12/+10
| | | | Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced
* Add Bindinding.setRequiredPekka Hyvönen2016-11-024-44/+140
| | | | | | | | | | Shorthand for making field show required indicator and validating against empty. Removes obsolete NotNullValidator and NotEmptyValidator. Latter is still used in some tests, that why it is still in test packages. Fixes vaadin/framework8-issues#29 Change-Id: Ib116739a20a0bbd1b1460423ee36ed2752c5496a
* Introduces ValidationResult interface to replace Result in validators.Denis Anisimov2016-11-017-37/+38
| | | | | | Fixes vaadin/framework8-issues#414 Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
* Add error message provider to provide translationsTeemu Suo-Anttila2016-11-012-3/+46
| | | | Change-Id: I657535d377c471369e8c77fa1db946c490023939
* Replace setRequired & HasRequired with setRequiredIndicatorPekka Hyvönen2016-11-011-3/+4
| | | | | | | | | | | Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy). Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect. Internally it is still handled on AbstractComponent & -Connector level. Changes the declarative syntax, required -> required-indicator-visible. Fixes vaadin/framework8-issue#419 Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a
* Remove Locale from BeanValidator because of ValueContextPekka Hyvönen2016-10-311-4/+6
| | | | | | Fixes vaadin/framework8-issues#417 Change-Id: I0d299cb040cc21e9708906f12f4133109f1b2a90
* Serve static files also in servletPath/VAADIN (#14398)Artur Signell2016-10-291-0/+76
| | | | Change-Id: I6891827a1fb99216d4e286c761d1384a88000604
* Add ValueContext to ValidatorsTeemu Suo-Anttila2016-10-267-78/+34
| | | | Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
* Rename Binder methodsPekka Hyvönen2016-10-2611-156/+165
| | | | | | | | | | | 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
* Disable default null representation one way converter.Denis Anisimov2016-10-261-0/+63
| | | | | | Fixes vaadin/framework8-issues/#404 Change-Id: I9e07a7de5f67bbd7a5a59cf10cc1a8579cdfbbad
* Fix setValue() methods behavior null argument value + javadocsTeemu Suo-Anttila2016-10-256-3/+144
| | | | Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
* Update ValueChange API to use Component and HasValue<>.Denis Anisimov2016-10-255-27/+38
| | | | Change-Id: I785aa82d925cadee42cc1b17d345a8923f6dc8cc
* Binder.bindInstanceFields(Object) method implementation (#47).Denis Anisimov2016-10-252-4/+391
| | | | | | Binds class instance fields using reflection using Binder.forField() Change-Id: I597f3832d112cfa69c73fb185f1564c482e4eb15
* Correct serializable issues and test that components can be serializedLeif Åstrand2016-10-246-45/+116
| | | | Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753
* Add ValueContext parameter for ConvertersTeemu Suo-Anttila2016-10-2416-59/+154
| | | | Change-Id: I47179b06b9e345f5a454ac1806d0bc9bcac24bcf
* Move old SelectionEvent to V7 and create a new selection event supertype Denis Anisimov2016-10-241-0/+68
| | | | Change-Id: I17496c803f81fdaa98e47cbfcc9bdc91625c134f
* Initial support for null representations in BinderTeemu Suo-Anttila2016-10-243-6/+187
| | | | Change-Id: If40bfa28764d1399b5ed4d5928988560e9989dce
* Derive Listing components from HasValue.Denis Anisimov2016-10-215-21/+257
| | | | | | | Single select components implement HasValue<T> and mutliselect components implements HasValue<Set<T>>. Change-Id: Ic280a43bf021efd7425cce04e75010b6745fd698
* Provide declarative tests for all V7 field components.Denis Anisimov2016-10-2114-167/+838
| | | | Change-Id: I6bd65efe355730f358fdbc38b9cc592e27077de2
* Revert "Initial support for null representations in Binder"Denis Anisimov2016-10-202-73/+6
| | | | | | This reverts commit 9f672890c143098b266ede6397e89379a38cc098. Change-Id: I0952a7f9c7efc8a5d7de9987277b835d92d52b39
* Initial support for null representations in BinderTeemu Suo-Anttila2016-10-202-6/+73
| | | | Change-Id: I1325c629da220317506306fe8f6fff5c0494d9d9
* Throw exception from multiple columns with same identifierTeemu Suo-Anttila2016-10-191-0/+5
| | | | Change-Id: Ibb002cb862a7d0069ce4757e4c11482f6ae4d354
* Use identifiers for Grid ColumnsTeemu Suo-Anttila2016-10-171-1/+25
| | | | Change-Id: Id229e533fc4ff58bdd2ce3862481f72210ed9e89
* Use diffstate for JS connectors (#20335)Leif Åstrand2016-10-172-0/+78
| | | | Change-Id: If2401d724f782ee76f92a6b89c54e51f90218bee
* Use placeholder instead of inputPrompt for DateFieldPekka Hyvönen2016-10-141-2/+2
| | | | | | | | | Renames the API server side and uses placeholder attribute for input. Removed PopupDateFieldInputPrompt test since it tests input prompt logic, that is no longer there after switching to native placeholder attribute for input element. Change-Id: I5c66456781f8703ba2e253134b88f8372825528f
* Move all themes except Valo into a new compatibility-themes packageAleksi Hietanen2016-10-131-3/+2
| | | | Change-Id: Ife0707c69bac83f190b5497af5fef1af43af6e46
* Remove AbstractComponent.immediatePekka Hyvönen2016-10-132-38/+0
| | | | | | | | | | | | | All components are now in immediate mode by default. V7 compatibility components will use AbstractLegacyComponent that has immediate. V7 ColorPickerPopup will not have setImmediate, since it extends V8 Window, which is not in V7 compatibility packages. Removed OutOfSync and ResynchronizeAfterAsyncRemoval Tests, since those tested UI in not immediate mode, which is invalid now. Removed WindowResizeListener, LazyWindowResize, test UIs, since both used immediate and there were no test run for either. Change-Id: Ie1c8cfa4c48461db944ff9b13efe8473c5a3298f
* Add support for binder status change events (#208).Denis Anisimov2016-10-062-0/+542
| | | | Change-Id: Ic8dee407569ee310f007ebe32660a1d2922e9493
* Make ColorPicker an AbstractField<Color>Johannes Dahlström2016-10-031-2/+2
| | | | | | | Remove old ColorSelector API from ColorPicker. The various subcomponents still implement ColorSelector for now. Change-Id: If0e30eda71c5fe30f7128056a65fb127a4953089
* Do not derive DataSource from Function and replace apply method #307.Denis Anisimov2016-10-033-11/+11
| | | | Change-Id: Ic0587e75c9a50c802a64673b1db0b8828b37889c
* Make AbstractDateField based on LocalDate (#125).Denis Anisimov2016-09-305-80/+54
| | | | Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
* Unify listeners on the server sideAleksi Hietanen2016-09-295-32/+61
| | | | | | | | | | | This patch updates server side add*Listener methods to return a registration object and deprecates their corresponding remove*Listener methods. Additionally this patch removes add/removeListener methods which were deprecated in 7.0. Change-Id: I26ac5f11882512288fbbf601c7cb2aaff653ec76
* Fix item caption generators in RadioButton/CheckBoxGroupAleksi Hietanen2016-09-291-1/+1
| | | | | | | | | | This patch corrects the behavior of setting caption generators that may return null. Additionally renames RadioButtonGroup's ItemIconProviders to generators, unifying it with other select components. Change-Id: I5e8491834dccce1c37ab9c2002acc475e8945f4b
* ListSelect with new data binding API8.0.0.alpha3Pekka Hyvönen2016-09-282-1/+80
| | | | | | | | No single select mode for list select. Based on AbstractMultiSelect. Removes feature for adding new items. Change-Id: I9a92aaf1f3d338a3b05c3aa4048f9db496dacd1d
* Implement default header row in new GridJohannes Dahlström2016-09-282-18/+105
| | | | Change-Id: Id26a98caca022ed2a4dbe0128a79721a54f5b267
* Initial support for multiple headers in new GridJohannes Dahlström2016-09-271-0/+155
| | | | Change-Id: I7a3fa34749322451ab5cef4465d4d7c76029c097
* TwinColSelect with new databinding APIPekka Hyvönen2016-09-274-113/+309
| | | | | | | | | | | | | | | | Removes feature for adding new items. Introduces a AbstractMultiSelect-abstraction layer, which is used in server side by TwinColSelect & CheckBoxGroup and on client side only TwinColSelect for now. Plan is to use it for ListSelect too. Further improvement would be to make AbstractMultiSelect use SelectionModel that extends AbstractSelectionModel and is thus used as an extension both as client & server side. Updates to JUnit 4.12 for easier use of @Parameterized test.. Change-Id: I64258c2229b9514d382693748e2ca562a1e448d4
* Extract validation availability check out of BeanValidator (#251).Denis Anisimov2016-09-231-0/+118
| | | | | | | BeanValidator uses and depends on javax.validation classes. So JSR303 presence check is extracted out of it to avoid ClassNotFoundException. Change-Id: I8df9a9da873cf694a326c9abb05315c8e94a0a96