aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/application
Commit message (Collapse)AuthorAgeFilesLines
* Custom serializers accessors (#10658)Olli Tietäväinen2019-02-221-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | * add accessor methods for CUSTOM_SERIALIZERS in JsonCodec * javadoc * removed removeCustomSerializer method, renamed putCustomSerializer to addCustomSerializer, added sanity checks and JavaDocs * refactored addCustomJsonSerializer to set, added test UI * move enums to be parsed after custom serializers * move adding custom serializer to static block * throw an exception if multiple serializers are registered for class * updated javadocs * changed CustomJSONSerializerTest to a SingleBrowserTest * moved CustomJSONSerializerTest to server/ and it's now not a browser test * removed CustomJSONSerializerTest
* Enable maven formatting for uitest (#10908)Ilia Motornyi2018-05-1710-85/+71
|
* Remove empty comments (#10789)Ilia Motornyi2018-04-051-9/+0
|
* Remove copyright headers from test code (#10770)Teemu Suo-Anttila2018-03-2816-244/+0
|
* Update copyright year (#10761)Ilia Motornyi2018-03-2715-15/+15
|
* Set no-store headers for error responses (#10628)Leif Åstrand2018-02-131-1/+1
|
* Use lambda expressions. (#10268)Ahmed Ashour2017-11-013-53/+37
|
* Use lambda with Handlers (#10229)Ahmed Ashour2017-10-271-28/+21
| | | Also improve naming by replacing one-letter variable names.
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-2618-357/+165
| | | Also use "event" as the name for events
* Construct array inline (#10068)Ahmed Ashour2017-09-231-1/+1
| | | And some trivial test enhancements
* Access static members in a static way (#10054)Ahmed Ashour2017-09-211-1/+2
|
* Fix making components visible by push (#9934)Henri Sara2017-09-061-43/+0
| | | | | | | | Fix connector tracker cleanup for the case where a component is hidden by a request and is made visible again by push. This fixes a regression caused by #9305. Fixes #9905
* Do full connector tracker cleanup when the session lock is released (#9707)Artur2017-07-241-5/+5
| | | | | | | | | | As there is no "request end" call after invoking UI.access() from a background thread, the connector map was not earlier properly cleaned afterwards. If you toggled visibility of a component from the background thread, the tracker state became inconsistent. If this becomes a performance problem, it could probably be optimized to that cleanup is done in request end and only at the end of access if not inside a request. Fixes #9654
* Clean connector tracker after each access block to stop memory leaks (#9305)Artur2017-05-161-2/+45
| | | | | Immediately clean connectors which the client side does not know about Fixes #9303
* Always load the deferred connector bundle (#8713)Leif Åstrand2017-03-072-0/+85
| | | | | | | | | | endDependencyLoading that was used for starting to load the deferred connector bundle is only called during regular application init if the theme wasn't yet loaded when the initial UIDL request finished. With this patch, the bundle is instead set to be loaded after the initial UIDL message has been completely processed. Fixes #4763
* Overload AbstarctComponent.setDescription() with content mode parameter (#8252)Denis2017-01-201-1/+1
| | | | | | * Overload AbstarctComponent.setDescription() with content mode parameter Fixes #8185
* Global java code cleanup using Eclipse Neon.1Leif Åstrand2016-12-201-1/+1
|
* Remove AbstractComponent.immediatePekka Hyvönen2016-10-131-80/+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
* Make Valo the default themePekka Hyvönen2016-10-0612-24/+22
| | | | | | | | | | LegacyApplication explicitly uses "reindeer" as default theme. Extended AbstractTestUI to AbstractReindeerTestUI, that all old tests now inherit. All new tests should be based on AbstractTestUI. Also added AbstractReindeerTestUIWithLog for those that needed it. Removed all found @Theme("valo") and used proper parent test class. Change-Id: I0bb45850f3f1d39c6f78dac35dfa08acbad427ad
* Unify listeners on the server sideAleksi Hietanen2016-09-291-2/+2
| | | | | | | | | | | 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
* Use diamond operator where it can be usedArtur Signell2016-09-051-1/+1
| | | | | | Does not modify compatibility packages to keep to closer to Vaadin 7.7 Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
* Format the project using Neon, remove trailing whitespaceArtur Signell2016-08-311-4/+2
| | | | Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
* Organize importsArtur Signell2016-08-301-1/+1
| | | | Change-Id: Ie58291fd4858d5421b23e56603808f158d559687
* Move and duplicate client side and state to compatibility packageArtur Signell2016-08-301-1/+1
| | | | | | | | | | | * ProgressBar * ProgressIndicator * OptionGroup * Table * Tree * TreeTable Change-Id: Ie1249631cbdd2721f2c3a36e1b8ffc8160fca6aa
* Implement new LabelArtur Signell2016-08-261-1/+1
| | | | | | | Label does intentionally not implement HasValue as it cannot provide a value to a model Change-Id: I36b8e1794d64caf566fa802177051ae2eb637bf9
* Move LegacyWindow back to com.vaadin.uiArtur Signell2016-08-253-3/+3
| | | | | | | There are too many dependencies between Legacy* and the core framework to be able to easily separate them. Change-Id: I6888e7a370b5d8da587e421abe3cb4686855c72f
* Move ProgressBar/ProgressIndicator to compatibility packageArtur Signell2016-08-221-1/+1
| | | | Change-Id: I9d8ef17fc4bd903ad6c4e258b800b72029e507fd
* Move and rename server classes which go into the compatibility packageArtur Signell2016-08-225-18/+18
| | | | | | | | * Use com.vaadin.v7 * Use the same class name as in Vaadin 7 * Use a "vaadin7-" declarative prefix for Vaadin 7 components Change-Id: I19a27f3835b18980b91a4f8f9464b2adde1a5fd5
* Organize importsArtur Signell2016-08-202-2/+2
| | | | Change-Id: Iedb6ed985dfc6b69c4a4753a876545d67621898f
* Rename legacy packages to v7Artur Signell2016-08-182-2/+2
| | | | Change-Id: I53f3bd49c234a8d126887f6effa83a3c5c92b4e0
* Update copyright year to 2016Artur Signell2016-08-1813-13/+13
| | | | Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
* Remove trailing whitespace from code and javadocArtur Signell2016-08-1813-39/+39
| | | | Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
* Format using Eclipse NeonArtur Signell2016-08-1815-70/+70
| | | | Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
* Update TextField to extend AbstractFieldNew (#51)Aleksi Hietanen2016-08-172-11/+11
| | | | | | | | - Changes input prompt to be based on the placeholder attribute. - Unifies TextChangeEvents with ValueChangeEvents. - add*Listener methods now return Registration objects, remove*Listener methods removed. Change-Id: Ie92506ae9db205bb0010ae9126c608c62ad023ff
* Convert CheckBox from legacy to AbstractFieldHenri Sara2016-08-111-11/+7
| | | | | | Add LegacyCheckBox for old field factories, Grid editor etc. Change-Id: Ic40790049421268c6de3d26730d1955d56aa86c4
* Make immediate mode the defaultHenri Sara2016-08-111-0/+3
| | | | Change-Id: I0a1fc0bf6f3de1b7d6975cd87cb7bb65c38dba4e
* Build uitest war with mavenTeemu Suo-Anttila2016-04-1524-0/+2081
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda