aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java
Commit message (Collapse)AuthorAgeFilesLines
...
* Use final modifier where appropriatePer-Åke Minborg2016-11-0931-39/+39
| | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7226
* Replace EMPTY_SET and EMPTY_LIST with emptySet() and emptyList()Per-Åke Minborg2016-11-071-2/+2
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722c
* Use lambdas where appropriatePer-Åke Minborg2016-11-078-140/+66
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722d
* Replace Charset.forName("UTF--8") with StandardCharsets.UTF_8Per-Åke Minborg2016-11-073-7/+8
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722e
* Explicit type args can be inferredPer-Åke Minborg2016-11-054-13/+13
| | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7231
* Rename generic type parameter that hides another type parameterPer-Åke Minborg2016-11-051-4/+4
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7235
* Remove redundant castingPer-Åke Minborg2016-11-052-5/+5
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7232
* Remove redundant array creation for varargsPer-Åke Minborg2016-11-051-2/+1
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf722f
* Make sure lock() is released in finally blockPer-Åke Minborg2016-11-052-21/+26
| | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7227
* Replace assertEquals(true|false,) with assert(True|False)Per-Åke Minborg2016-11-053-19/+20
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7224
* Flip parameters of .assertEquals()Per-Åke Minborg2016-11-042-5/+6
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7225
* Use chain of .append() methods instead of String concatenationPer-Åke Minborg2016-11-044-6/+5
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf721d
* 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