aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix end of line comments, which were made by automatic formatter (#10234)Ahmed Ashour2017-10-313-21/+15
|
* add Grid.Column#get/setAssistiveCaption (#10219)Knoobie2017-10-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | * add Grid#Column#get/setAssistiveCaption * fix test and update doc * move testGridAssistiveCaption to GridTest * delete test file * delete test file * Delete GridAssistiveCaptionTest.java * Create GridAssistiveCaptionTest * Create GridAssistiveCaption * Rename GridAssistiveCaption to GridAssistiveCaption.java * Rename GridAssistiveCaptionTest to GridAssistiveCaptionTest.java * Reformat using eclipse
* Use lambda with Handlers (#10229)Ahmed Ashour2017-10-271-1/+0
| | | Also improve naming by replacing one-letter variable names.
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-2612-31/+33
| | | Also use "event" as the name for events
* Improve naming of fields and variables (#10242)Ahmed Ashour2017-10-263-3/+3
| | | | | * Variable names to conform to naming convention. * Use static constants where it makes sense
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-263-7/+7
|
* Grid column to be sortable when implemented/supported (Fixes #8792). (#10190)Ahmed Ashour2017-10-231-3/+14
| | | | | | | | | | | * Grid column to be sortable when implemented/supported * Fix GridDeclarativeTest * Parameterize to Grid<Person> * Revert Parameterize to Grid<Person>, JDK with generics. * Assertions for other columns * Fix test Fixes #8792
* Grid.removeColumn() not to fail silently (Fixes #8056) (#10215)Ahmed Ashour2017-10-201-17/+79
| | | | | | | | | | * Grid.removeColumn() not to fail silently (Fixes #8056) * Compilation with JDK * Fix removeColumnByColumn_alreadyRemoved test * Use ExpectedException
* AbstractDateField.formatDate() to be abstract (#10186)Ahmed Ashour2017-10-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | * AbstractDateField.formatDate to be abstract Remove invalidDateString paramter, as it can be deduced * Fix test * Remove AbstractDateField.getResolutionVariable VAbstractTextualDate: rename updateDateVariables() to updateBufferedResolutions() * Revert to use fixed value of MONDAY. * release notes * updateAndSendBufferedValues() * Missed call to updateAndSendBufferedValues(); * release note
* Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)Ahmed Ashour2017-10-2011-13/+15
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-2011-81/+51
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Convert AbstractDateField not to be a LegacyComponent (#10148)Ahmed Ashour2017-10-131-12/+12
|
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-123-4/+4
|
* Add ErrorLevel to Validators and results (#10099)Teemu Suo-Anttila2017-10-111-0/+20
| | | Fixes #9792
* Fix Binder bean writing to only validate and write given bindings (#10162)Teemu Suo-Anttila2017-10-112-6/+42
|
* Remove unneeded .toString() (#10141)Ahmed Ashour2017-10-102-5/+4
|
* Fix typos (#10124)Ahmed Ashour2017-10-041-1/+1
|
* Registration to remove state.registeredEventListeners (fixes #9634) (#10130)Ahmed Ashour2017-10-041-0/+16
| | | This changes SharedState.registeredEventListeners to be a Map that keeps track of how many listeners of each type have been added, and handles unregistering of such listeners correctly.
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-03170-2046/+2211
| | | | Also removes dependency on junit.framework.TestCase .
* Use enhanced for loop for arrays. (#10121)Ahmed Ashour2017-10-021-3/+1
|
* Use enhanced for loop instead of Iterator. (#10100)Ahmed Ashour2017-09-293-17/+7
|
* Use StandardCharsets.UTF_8 (#10113)Ahmed Ashour2017-09-297-28/+25
|
* Revert "Store Vaadin session after each update" (#10112)8.2.0.alpha2Henri Sara2017-09-281-17/+0
| | | | | This reverts commit 48e202a80653c2c8a9e31db11814d23b87d6ec19. Also reverts the related release notes update.
* Use interface instead of implementation (#10073)Ahmed Ashour2017-09-285-23/+23
|
* Use single character for StringBuilder.append (#10102)Ahmed Ashour2017-09-283-8/+8
|
* Add option to use PushState instead of URI fragments in Navigator (#10042)Teemu Suo-Anttila2017-09-275-14/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Navigator now by default uses pushState and normal URLs * added documentation for pushState and updated Navigator documentation * improving docs etc, adding one TODO to be solved before merging * pushState/replaceState no work better with changing titles * Making uri fragment navigator work when not using specially mapped UI * Revert to older default, add annotation for selecting * Fix tests, add null checks * Reorder if-clause, fix tests * Revert unnecessary test change * Use correct variable in UI, fix test clean up * Updates to JavaDocs, fix some methods and tests * Add comments, fix test ui, TODO for fallbacks * Navigation documentation, JavaDocs, removed TODOs * Documentation fixes * Improve JavaDocs * Fix link name in documentation * Improve throws declaration in getLocation * Change documentation about the PushState based navigation * Add since tags * Add since tags for UI
* Store Vaadin session after each updateArtur Signell2017-09-271-0/+17
| | | | | | | This helps clustering solutions know when the session attribute needs to be replicated instead of having to always aggressively replicate all attributes. Resolves #7535
* Implement error level on client side (#9817)Adam Wagner2017-09-272-2/+2
| | | | | | | Add additional class names and style to components and error indicators to distinguish different error levels. Vaadin 8 implementation of #9816. Cherry picked changes and added compatibility package component changes and tests. Resolves #3139
* Fix DataCommunicator parameter not used in Grid constructor (#10075)JenoDK2017-09-262-0/+27
| | | Fixes #9944
* Fix BindingBuilder to always use the same instance (#10004)Teemu Suo-Anttila2017-09-261-10/+37
| | | | | | This allows using BindingBuilder either in a type safe chained manner or with separate calls for the same instance at the cost of less strict type checking. Fixes #9927 Fixes #9619
* Improve Binder value change handling with bean validation (#9988)Teemu Suo-Anttila2017-09-252-15/+110
| | | | | | | Changed values are now only applied to the bean when they pass both field and bean validation. Any change that breaks validation will be pending and is attempted to apply when another change event comes. This patch also makes the order of status change event handler and listener call order. This addresses some of the issues raised in #9955.
* Construct array inline (#10068)Ahmed Ashour2017-09-239-9/+9
| | | And some trivial test enhancements
* Fix javadoc references (#10067)Ahmed Ashour2017-09-235-9/+0
| | | And remove unused imports.
* Remove unused methods. (#10058)Ahmed Ashour2017-09-223-0/+3
|
* Update modifier order to follow Java Specification suggestions (#10050)Ahmed Ashour2017-09-212-3/+3
| | | Also includes some other minor cleanup.
* Use String.isEmpty() (#10045)Ahmed Ashour2017-09-211-1/+1
|
* Remove unused methods (#10020)Ahmed Ashour2017-09-204-47/+3
|
* Use simple class namesAhmed Ashour2017-09-202-3/+7
|
* Add API for running BindingValidationStatusHandlers (#9966)Teemu Suo-Anttila2017-09-191-1/+62
| | | This patch adds an API to Binding for accessing the validation status handlers from a custom BinderValidationStatusHandler.
* Optimize HierarchyMapper (#10003)Piotr Wilkin2017-09-192-8/+81
| | | Fixes parts of #9951, but does not address the issue of grouping pushed updates.
* Use String.isEmpty()Ahmed Ashour2017-09-192-5/+5
|
* Fix removeBinding logic (#10002)Piotr Wilkin2017-09-191-7/+22
| | | Fixes and improves on PR #9932.
* Fix incorrect resource name generation (#9957)Dos Moonen2017-09-111-1/+1
| | | | Javadoc has this to say about ClassLoader#getResource(String): "The name of a resource is a '/'-separated path name that identifies the resource." The test fails on Windows because its File.separator does not equal "/".
* Add methods to remove Bindings from Binder (#9932)Teemu Suo-Anttila2017-09-051-0/+71
|
* Fix AbstractClientConnector stateTypeCache memory leak (#9896)Aleksi Hietanen2017-08-301-0/+65
| | | Fixes #9883
* Add declarative support to Tree (#9881)Aleksi Hietanen2017-08-292-2/+174
| | | Closes #9838
* Fix moving child to first position in tree data (#9761)Adam Wagner2017-08-071-0/+13
| | | Resolves #9760
* Add method to get parent in TreeData (#9701)Adam Wagner2017-07-271-0/+8
|
* More user friendly fail message (was NullPointerException) (#9665)Dos Moonen2017-07-191-1/+6
| | | | | | | Yes, I should never have created "D:\eclipse workspaces" in the first place. No, I am not replacing "%20" with spaces, or creating an URI instance. "D:\eclipse%20workspaces" is a valid folder and I'm not willing to go down the rabbit hole and see what that turns into.
* Fix TreeGrid.getHierarchyColumn to use correct id (#9690)Teemu Suo-Anttila2017-07-181-0/+12
| | | Fixes #9661