aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year range (#12507)Anna Koskinen2022-01-111-1/+1
|
* fix: Add row limit to DataCommunicator row data requests (#12415)Tatu Lund2021-09-301-0/+19
| | | | | | | | | | | * Add row limit to DataCommunicator row data requests * Add missing constant * Add unit test * Add test for extending Grid * Fixed test
* Cleaned out old references to removed buildhelpers and widgets modules. (#12383)Anna Koskinen2021-08-251-3/+0
|
* Update to Jsoup 1.14.2 (#12381)Tatu Lund2021-08-243-5/+19
|
* Update copyright year range. (#12215)Anna Koskinen2021-03-041-1/+1
| | | | * Update copyright year range.
* DateField value should actively adjust to the set resolution. (#12183)7.7.23Anna Koskinen2021-01-223-8/+51
|
* Add convenience overloading for setColumn (#12093)8.12.0.alpha2Tatu Lund2020-09-041-0/+19
| | | Fixes: https://github.com/vaadin/framework/issues/7773
* Clear thread local instances on connection lost in push handler (#12042)Tatu Lund2020-06-301-0/+1
| | | Adopted from https://github.com/vaadin/flow/pull/8567
* Refresh DataProvider only once when reordering the grid using GridRowDragger ↵Martín López2020-05-111-0/+20
| | | | | (#11981) Fixes #10844
* Provide extensive error information on GridLayout.OutOfBoundsException and ↵Martin Vysny2019-02-211-0/+24
| | | | | | IllegalArgumentException (#11461)
* Add API to access features of SelectionModels (#10939)Teemu Suo-Anttila2018-09-041-0/+62
|
* Fix Grid MultiSelectionModel to always use getId (#11086)Teemu Suo-Anttila2018-07-302-1/+102
| | | Fixes #11083
* Fix formatting (#11023)Ilia Motornyi2018-07-041-3/+2
|
* Code cleanup and serialization test in compatibility package (#10977)Ilia Motornyi2018-06-211-5/+13
|
* Fix temporal renderers serialization (#10929)Ilia Motornyi2018-06-132-6/+163
|
* Fix formatting of some files (#10972)Ilia Motornyi2018-06-121-11/+18
|
* Remove parse error when changing from invalid to empty date text (#10771)Alexander Nittka2018-06-071-0/+82
| | | Fixes #10673.
* Fix Grid not removing columns from sort orderTeemu Suo-Anttila2018-05-281-4/+23
| | | | Fixes #10928
* Fix Grid clearSortOrder not updating state (#10917)Teemu Suo-Anttila2018-05-151-2/+9
| | | Fixes #9074
* Fix using runo icons in FileTypeResolver (#10858)Ilia Motornyi2018-05-031-0/+1
| | | This patch adds a compatibility version of FileTypeResolver.
* Enable formatting in testbench-api module (#10852)Ilia Motornyi2018-05-022-15/+13
|
* Enable Maven plugin for Eclipse formatting (#10829)Ilia Motornyi2018-04-1926-79/+91
|
* Colorpicker validation handling (#10821)KatriHaapalinna2018-04-196-0/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ColorTextField, helper methods, and regex for validating and handling text input * Refactored structure to avoid creating new component for validation * Style to adapt to error indicator * Tests for validating input in ColorPickerPreview component's TextField * Merge branch 'master' into colorpicker_validation * Fix path to server class * Fix test: Submit the new value * Fix test: ignore Phantom JS * Fix hsl+hsla validation patterns to accept '%', test value tweaking * Merge branch 'master' of github.com:vaadin/framework into colorpicker_validation * Fix: remove warning when color is updated from elsewhere * Revisions: input validation only once, Logging level WARN * Revisions: unit tests for color pattern matching * Revisions: moved parsing to utility class, tests for parsing all accepted input formats * Fixed import in tests, comments * Revisions: Logger as constant, ignore utility class in serialization test * Corner case tests * Revisions: protected method for parsing error text, fix to test * Revisions: NPE fix
* Fixes declarative update of existing Composite (#10825)Ilia Motornyi2018-04-171-0/+29
| | | Fixes #10170
* Fix Grid Column not sortable with backend data and sort property (#10811)Teemu Suo-Anttila2018-04-131-1/+1
|
* Remove empty comments (#10789)Ilia Motornyi2018-04-0522-32/+0
|
* Added possibility to add listener for connectorMarkedDirty (#10773)caalador2018-04-041-0/+155
|
* Remove copyright headers from test code (#10770)Teemu Suo-Anttila2018-03-28145-2180/+0
|
* Update copyright year (#10761)Ilia Motornyi2018-03-27136-136/+136
|
* Fix date ranges for date and datetime fields (#10685)Ilia Motornyi2018-03-201-0/+6
| | | Fixes #9765
* Fix Column.setSortable being overridden (#10604)Teemu Suo-Anttila2018-02-072-27/+73
|
* Rename contentMode to descriptionContentMode in MenuItem (#10494)Leif Åstrand2018-01-081-5/+5
|
* Add ContentMode for the description of MenuItems (#9984)Jonas Zipprick2017-12-291-1/+24
| | | | | Adds the ability to set the content mode for the description of a menu item that is part of a menu bar. This functionality was already available for every AbstractComponent but missing for the menu items of menu bars. If no content mode is specified it defaults to the PREFORMATED content mode.
* Fix issues from API review for 8.2 (#10342)Aleksi Hietanen2017-11-213-19/+19
| | | | | | | | | | | | | | | | | * Rename HierarchicalDataCommunicator#getMapper to getHierarchyMapper * Make rpc field in Notification private * Change DropIndexCalculator.ALWAYS_DROP_TO_END to a generic static method * Move EditorImpl#editRow documentation to the interface level * Correct GridDragEndEvent, GridDragStartEvent constructor javadocs * Revert SharedState.registeredEventListeners to a Set * Rename GridDropTarget dropAllowedOnSortedGridRows * Rename ColumnState.contentMode to tooltipContentMode
* FileResource to use bufferSize, and StreamResource to use getCacheTime() ↵Ahmed Ashour2017-11-212-0/+47
| | | | (#10247)
* Remove unused imports (#10330)Ahmed Ashour2017-11-218-14/+6
|
* Rename GridDragger to GridRowDragger (#10333)Pekka Hyvönen2017-11-172-12/+12
| | | The old name GridDragger gave an impression that you're dragging the whole grid instead of rows.
* Add documentation on GridDragger (#10328)Pekka Hyvönen2017-11-162-0/+38
| | | | This pathc also switches GridDragger to by default not allow drops on rows when the grid has been sorted.
* Add helper for Grid row DnD (#10255)Pekka Hyvönen2017-11-152-0/+458
| | | | | | | | | | | | | | | | | | * Added Griddragger. * Refactored the GridDragger to match FW style Unit tests, Test UI and documentation to come next. * Change DropMode to BETWEEN and add Test UIs * Simplify GridDragger API * Fixes and unit tests for GridDragger Fixed issues regarding drop index calculation when sourche and target grid is the same. When the ListDataProvider is not internally using List, always drops to the end. Updates the old data provider instead of creating a new one to preserve filters&sorting.
* Add new drop mode ON_GRID for GridDropTarget (#10296)Pekka Hyvönen2017-11-151-0/+152
| | | | | | | | | | | | | | | | | * Add new drop mode ON_GRID for GridDropTarget Also adds a way to not accept drops on rows when the user has sorted the grid. This way the bad UX can be avoided for showing the drop indicator for the wrong place when the grid has been sorted. This has not been made default behavior to GridDropTarget since it would change behavior compared to 8.1. Instead if is triggerable via API in GridDropTarget. * Refactor sorted grid drop logic to server side * Block setDropMode calls Blocking setDropMode set values if the grid has been sorted and drop on sorted rows is not allowed. The value is used once the grid is not sorted anymore or the drops are allowed on sorted rows.
* Fix TreeGrid to use correct super constructor (#10291)Jerome Meyer2017-11-141-0/+6
| | | Fixes #10195
* Fix end of line comments, which were made by automatic formatter (#10234)Ahmed Ashour2017-10-311-5/+3
|
* 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-268-25/+24
| | | Also use "event" as the name for events
* 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-2010-12/+14
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(