aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/ui
Commit message (Collapse)AuthorAgeFilesLines
* Set DateField value only if it passes range check (#11887)Tatu Lund2020-04-081-2/+11
| | | Fixes #11108
* Update release note and since tag (#11386)Sun Zhe2018-12-201-23/+28
| | | | * Some formatting changes
* Checkbox allow customizing of input and label classNames. (#11372)Knoobie2018-12-181-0/+107
| | | | | | | | | * add client side integration for custom styles for checkbox.label and checkbox.input * add server side integration for checkbox element styling * add server side tests * add client side test
* Fix formatting (#11023)Ilia Motornyi2018-07-041-1/+1
|
* Fix TabSheet attaching and detaching components (#10988)Teemu Suo-Anttila2018-06-191-9/+13
| | | | | | | This patch reverts the fix #10557 and replaces it with a proper solution from Grid perspective. Fixes #10987 Fixes #10985
* Fix AbstractSingleSelect selection and state updates (#10796)Teemu Suo-Anttila2018-04-191-1/+16
|
* Remove copyright headers from test code (#10770)Teemu Suo-Anttila2018-03-2831-465/+0
|
* Update copyright year (#10761)Ilia Motornyi2018-03-2728-28/+28
|
* Correctly handle data providers with overriden getId (#10728)Anastasia Smirnova2018-03-221-0/+97
| | | | | Fixes #10647 Fixes #10498
* Use lambda expressions. (#10268)Ahmed Ashour2017-11-011-31/+25
|
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-263-5/+7
| | | Also use "event" as the name for events
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-201-6/+4
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-122-2/+2
|
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-0326-228/+271
| | | | Also removes dependency on junit.framework.TestCase .
* 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.
* Add option to use PushState instead of URI fragments in Navigator (#10042)Teemu Suo-Anttila2017-09-272-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Construct array inline (#10068)Ahmed Ashour2017-09-231-1/+1
| | | And some trivial test enhancements
* Fix javadoc references (#10067)Ahmed Ashour2017-09-231-3/+0
| | | And remove unused imports.
* Remove unused methods (#10020)Ahmed Ashour2017-09-202-7/+2
|
* Provide old value of position in SplitPositionChangeEvent of *SplitPanel (#9578)Yuriy Artamonov2017-06-291-6/+35
| | | | | | | | | Provide old value of position in SplitPositionChangeEvent of *SplitPanel New properties have been added to SplitPositionChangeEvent: oldSplitPositionUnit, oldSplitPosition, userOriginated Resolves #9472
* Clean connector tracker after each access block to stop memory leaks (#9305)Artur2017-05-161-0/+56
| | | | | Immediately clean connectors which the client side does not know about Fixes #9303
* Make CustomField iterator() comply with contractArtur Signell2017-03-291-0/+63
| | | | Fixes #8957
* Picked all changes from 7.7Teemu Suo-Anttila2017-03-071-0/+26
| | | | | Synchronises parts of compatibility package code to match 7.7 Picks suitable patches for 8 code as well
* Provide a convenience method to get items set via setItems(). Denis2017-02-082-0/+16
| | | Fixes #8357
* Add helpers for dealing with columns based on its id (#8411)Leif Åstrand2017-02-021-0/+137
| | | | | | | | | * Add helpers for dealing with columns based on its id setColumns(Column...) is removed since it's not possible to re-add a removed column instance. Fixes #8361
* Make it easy to invoke ServerRpc methods as part of unit tests (#8346)Artur2017-02-026-36/+16
| | | | | Executing RPC methods is useful when testing component interaction with the server. Not only inside the framework but also when creating add-ons and applications.
* Add a maven plugin for formatting according to Eclipse settingsLeif Åstrand2017-02-013-16/+17
| | | | | Running formatter:format will format all files in a submodule using an embedded Eclipse compiler (based on Neon SR1) according to the regular formatting settings file.
* Fix userOriginated state for CheckBox ValueChangeEvent from the user (#8383)Artur2017-01-301-0/+42
| | | | * Fix userOriginated state for CheckBox ValueChangeEvent from the user
* Add convenience constructors to new components (#598) (#8351)caalador2017-01-307-0/+541
| | | | | | Add convenience constructors (#598) Added convenience constructors to ui components that have been reimplemented for Vaadin 8
* Add convenience constructors for TextField (#597) (#8341)caalador2017-01-271-0/+70
| | | | | | | Add convenience constructors for TextField (#597) Added TextField convenience constructors similar to the ones found in Vaadin framework 7
* Add static helpers for creating callback data providers (#8314)Leif Åstrand2017-01-252-6/+8
| | | | | Cannot overload the same create method for this purpose since it conflicts with T... overload. Each case is instead given its own descriptive but still discoverable method name.
* Change BackEndDataProvider into an interface (#8268)Leif Åstrand2017-01-191-4/+3
| | | | | | | | | | | | | | | | * Change BackEndDataProvider into an interface BackEndDataProvider is now an interface with methods for setting sorting options based on SortOrder instances. AbstractBackEndDataProvider stores sorting options, combines them with the sorting provided in the query and invokes its own abstract fetch and size methods. CallbackDataProvider implements a BackEndDataProvider based on two lambdas. This is one of many steps towards #8245
* Replace Listing with HasDataProvider and HasFilterableDataProvider (#8122)Leif Åstrand2017-01-133-9/+26
| | | | | | | | | | | | * Replace Listing with HasDataProvider and HasFilterableDataProvider The type parameters of the Listing interface does in practice mean that it isn't useful for anything. This patch replaces that interface with separate types for components that require filterable data providers and components that support any kind of data provider. The setItem methods are extracted to a common interface that is also directly implemented by AbstractListing.
* Include old value in ValueChangeEvent (#8229)Aleksi Hietanen2017-01-132-1/+51
| | | | * Include old value in ValueChangeEvent
* Correctly reset DataCommunicator when its DataProvider is changed (#8138)Aleksi Hietanen2017-01-102-6/+3
| | | | | | | | * Correctly reset DataCommunicator when its DataProvider is changed * Improve ReplaceDataProviderTest * Remove return type from AbstractListing.readItems
* Refactor AbstractDateField. (#8146)Denis2017-01-101-2/+2
| | | First round for #8132.
* Allow AbstractField to override value equality (#8201)Leif Åstrand2017-01-101-0/+57
| | | | | | * Allow AbstractField to override value equality Fixes #8089
* Global java code cleanup using Eclipse Neon.1Leif Åstrand2016-12-205-20/+15
|
* Rename com.vaadin.server.data to com.vaadin.data.provider (#8004)Pekka Hyvönen2016-12-154-8/+8
| | | | | Renamed corresponding test packages too. Fixes vaadin/framework8-issues#110
* Remove usage of Consumer from event listeners (#7985)Pekka Hyvönen2016-12-143-4/+4
| | | | | | | | | | | | | Touched event listeners are: - SelectionListener - MultiSelectionListener - SingleSelectionListener - ValueChangeListener - ItemClickListener - BindingValidationStatusHandler - BinderValidationStatusHandler - StatusChangeListener Part of vaadin/framework8-issues#264
* Workaround for deadlock issue (#18436)Artur Signell2016-12-091-0/+155
| | | | Change-Id: I4e32550e3d3095c2c914bb93d260819414d2e6e6
* Add a generic selection listener to Grid & SelectionModels (#105)Pekka Hyvönen2016-12-092-4/+4
| | | | | | | | * Add a generic selection listener to Grid & SelectionModels Fixes some inconsistent event naming and invalid javadocs. Fixes vaadin/framework8-issues#541
* Make it possible to reset single select valuesLeif Åstrand2016-11-291-0/+48
| | | Change-Id: I60c5d9f183d1955fbbd3341e3ac9f93aae755f80
* Type Listing for DataProvider to allow custom filter typesTeemu Suo-Anttila2016-11-283-9/+41
| | | | | | | | | | Listing has been moved from AbstractListing to each individual Component. ComboBox is now typed to String filter. Fixes issues with declarative read of items. Change-Id: I6918f9f8c426dcbd81546150c2cf9ed49a02bf50
* Provide declarative support for listing components.Denis Anisimov2016-11-242-5/+39
| | | | | | | Fixes vaadin/framework8-issues#388 Change-Id: I4f8045bba51d308f4343a1f6d01b3f1ddca63e69
* Make ValoTheme subclassableLeif Åstrand2016-11-171-0/+26
| | | | Change-Id: Ib8976949108888deac51a90eb775445f0b5cecf8
* Renaming DataSource -> DataProvider to avoid collisions with ↵elmot2016-11-114-25/+25
| | | | | | javax.sql.DataSource Change-Id: I6babcadc72f3f37feff98088eee23b153a080f11
* Remove HasValue from GridPekka Hyvönen2016-11-102-65/+26
| | | | | | | | | | | | | | | | | | | Extracts grid single selection into separate class, which is an extension like in V7. Using an extension makes it possible to easily add multiselect and no-select modes back, and support custom selection models. Adds Grid:asSingleSelect() SingleSelect so that grid can be used as a Select in a binder. Removes all remaining references to SelectionModels in Listings. Renames SingleSelectionChangeEvent to SingleSelectionEvent, because then it is unified with selection listener and MultiSelectionEvent. Fixes vaadin/framework8-issues#424 Fixes vaadin/framework8-issues#425 Change-Id: Ie22bef29cfd4336c3f65d4e63531c578b8dd76a3
* Use final modifier where appropriatePer-Åke Minborg2016-11-091-2/+2
| | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7226