summaryrefslogtreecommitdiffstats
path: root/server/src/test/java
Commit message (Collapse)AuthorAgeFilesLines
* Add fallback resolvers for CurrentInstance (#10974)Gilberto Torrezan2018-06-131-2/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add fallback resolvers for CurrentInstance This allow applications to inject custom default instances when the current instances cannot be found by regular means. For example, when VaadinServlet.getCurrent() would return null, a fallback resolver could be invoked to properly create the servlet and return it. * Make the setting of CurrentInstanceFallbackResolvers protected * Remove the default constructor. Improve test. * Made setFallbackResolver public again * Rename the method to defineFallbackResolver, and make it throw when a type is used twice * Make the method thread-safe * Make the method thread-safe in a Java 6 way * Thread safety with ConcurrentHashMap API instead of just Map * Improve test with fake classes. * Clear the test state after it has been run.
* Added possibility to add listener for connectorMarkedDirty (#10876)Gilberto Torrezan2018-05-071-0/+199
|
* Update Copyright headers for year 2018 (#10762)Ilia Motornyi2018-03-28226-3404/+0
|
* Support null intermediate properties in NestedMethodProperty (#10085)Vassil Zorev2017-10-041-0/+6
| | | Ignore null intermediate properties in setValue().
* Clean connector tracker after each access block to stop memory leaks (#9331)Artur2017-05-172-1/+57
| | | | | Immediately clean connectors which the client side does not know about Fixes #9303
* Fix bug column and row expand ratio are not persisted Tien Nguyen2017-04-061-6/+23
| | | Fixes #9009
* Correctly detach header/footer components when column is removed (#8645)Artur2017-03-091-0/+92
| | | | | | | | | | | | * Correctly detach header/footer components when column is removed Fixes #8638 * Merge branch '7.7' into _detach-header-components-on-remove-column * Merge branch '7.7' into _detach-header-components-on-remove-column * Merge branch '7.7' into _detach-header-components-on-remove-column
* Handle unknown connectors consistently and quietly as described in #8111 (#8741)Artur2017-03-071-0/+49
| | | Fixes #8629
* Remove unnecessary full classnames and parenthesis from code (#8681)Teemu Suo-Anttila2017-03-0212-36/+34
| | | This change aims to reduce the number of false positives when comparing Vaadin 7 compatibility package in Vaadin 8 and actual Vaadin 7.7 branch. Conflicting parts are moved to imports as much as possible. Files have been formatted with same Eclipse version.
* Make it possible to disallow user selection in Grid (#8144)Artur2017-01-303-0/+173
| | | Fixes #7880
* Remove invalid trailing comma from Thai date format (#8311)Artur2017-01-241-0/+1026
| | | | | | * Remove invalid trailing comma from Thai date format Fixes #8303
* Remove tracking of unregistered connectors (#8153)Aleksi Hietanen2017-01-112-0/+45
| | | | | | | | | | | | * Remove tracking of unregistered connectors * Merge branch '7.7' into 8111-remove-unregistered-connector-tracking * Merge branch '7.7' into 8111-remove-unregistered-connector-tracking * Add tests that verify markAsDirty is called on old parent * Merge branch '7.7' into 8111-remove-unregistered-connector-tracking
* Correctly detach components in merged cells when a static row is removed (#8142)Artur2017-01-091-7/+54
| | | Fixes #8140
* Call error handler for exceptions in UI.init() (#8055)Artur2017-01-021-0/+188
| | | Fixes #4995
* Enable changing the backing bean for BeanItem (#4302) (#77)Artur2016-12-133-0/+135
| | | | | | When storing a bean to the database, you typically get a new and updated bean instance back. By allowing to change the bean instance, we make it possible to just update the single BeanItem instance which can be used in many places.
* Use proper UTF-8 encoding for Content-Disposition filenames (#19527) (#6607)Leif Åstrand2016-12-133-12/+49
|
* Fix margin in declarative format is recognized as unsupported property ↵Pekka Hyvönen2016-12-121-0/+23
| | | | | | | | | gridlayout (#103) (#7952) Backported to 7.7 from master (8). Fixes vaadin/framework8-issues#465 Change-Id: I9734341b747b8d16020443c71d72fcfd7e331af7
* Keep expand ratio for last row/column when reducing grid layout size (#20297)Artur Signell2016-11-161-0/+24
| | | | Change-Id: Iff53a803596f4fc1eae8e4bfa307b9c1f4df961a
* Fix NPE in case some items don't contain all properties of Grid.adam2016-11-141-0/+318
| | | | | | | This could occur in when parent is a different entity than its children in hierarchical data. Change-Id: Icd53b5b5e5544a3680d0cd99702ab78224b2dc08
* Add method to auto scale calendar time range (#17715)Steven Spungin2016-11-041-0/+54
| | | | | | Backported from master branch (Vaadin 8). Change-Id: I363c9798de0d238a5a4aa4b4e839a31da460434f
* Date/time issues are fixed in the tests.Denis Anisimov2016-11-021-1/+2
| | | | | | | | | | | - legacy DateField declarative format tests are fixed (day light saving time is taken into account). - CalendarMonthViewDndEvent UI because you are not supposed to work on Sundays (when the test is broken). Backported from master branch (Vaadin 8). Change-Id: I5e62c09da579e9f6eb2a58a87253618d3f30b2e9
* Send selection change events when changing selection mode (#20391)Artur Signell2016-10-181-0/+34
| | | | Change-Id: Iaeb772981f3ac039bf0fe3cde595cfdb3691cddf
* Check for duplicate property ids when setting Grid columns or column order ↵Artur Signell2016-10-141-0/+18
| | | | | | (#20386) Change-Id: I76be83642f0e56e55b0c0e502ac6769de1ee8af0
* Never check the selectAll checkbox in an empty grid (#20301)Artur Signell2016-10-131-4/+23
| | | | Change-Id: Ia15edb5a10de9bff047044161ffe83dd09f51098
* Workaround for deadlock issue (#18436)Artur Signell2016-10-111-0/+155
| | | | Change-Id: I4e32550e3d3095c2c914bb93d260819414d2e6e6
* Format Java files using Eclipse Neon and Vaadin settingsArtur Signell2016-09-20336-2672/+2733
| | | | | | | Using the same formatting in the 7.7 branch and the master branch eases porting of fixes Change-Id: I51b4693f2f120447702cf322ce4505608ad92987
* Make test independent of any converters present in the factoryArtur Signell2016-09-111-9/+9
| | | | Change-Id: I8b6b45df9d3929e4447976b8c7ae72e6491fb1af
* Prevent editor from being canceled while it is being saved (#19458)Artur Signell2016-09-051-0/+106
| | | | Change-Id: I062e097134035856f6c120584f48a5f3601bd9ac
* Fix ComboBox paging when number of items equals page length (#20213)Artur Signell2016-09-051-0/+158
| | | | | | | | When pageLength == number of items, no paging should be shown except if null selection is allowed, then there should be a second page with one item. Change-Id: I01c00f0c9d75a1dbb80d11b07c37c8ad7334ea07
* Update/remove empty @since for 7.7Henri Sara2016-08-153-72/+71
| | | | | Change-Id: Ib46a450c7d6a6d15eb6bea5d53351d182929e52f (cherry picked from commit b322664b8b21da53e6fc833005fe3968f8352bec)
* Fixed the compare filter to handle subclasses (#17169)Pontus Boström2016-08-011-0/+137
| | | | | | | | | Earlier the comparision worked only if the item value was a subclass of the value in comparator, but not in the other way around. Now the compairision works if the one is a subclass of the other and both implements Comparable. Change-Id: I1bcbba94f1263915f838e948ed9d8b68a14aefd0
* Changed logic to retrieve readonly state (#8643)Felype Santiago Ferreira2016-07-291-0/+51
| | | | Change-Id: Ibc86d36ce4c8f68eec400ad264546651353709f1
* Support static inner classes when reading/writing declarative files (#20038)Artur Signell2016-07-132-0/+45
| | | | | | | | Uses outer class name as package name for static inner classes. When reading, there is no way to know that the class is an inner class so only when creating a class fails, an inner class is tried as a backup. Change-Id: I3ebf5b2da11384f9dc64072a3dc8ee132607237c
* Allow reaching the wrapped Item through GeneratedPropertyItem (#20032)Anna Koskinen2016-07-061-0/+10
| | | | Change-Id: Ic38c2803b3d83e76fa74d21490a4277c6037b950
* Fix RpcDataProviderExtension serialization issue (#19906)Teemu Suo-Anttila2016-06-291-0/+39
| | | | Change-Id: I74e8e82df2a7bb26c45c9c3797d044061ec3c24d
* Provide a way to disallow navigation to the same state twice (#12107).Denis Anisimov2016-06-131-12/+80
| | | | Change-Id: I831a02f26929cc7ec4dac5177cb68f84bd0bfc2b
* Make tests pass in any timezone (#19813)Marco Collovati2016-05-262-9/+15
| | | | Change-Id: I78411b92a5b3c2f04ed8a15ebd2c183aa1af4ab9
* Make tests pass in any timezoneJoonas Lehtinen2016-05-203-5/+13
| | | | Change-Id: Ic81205bca5e25d0f525ae5fa0cbe20d0bd736a58
* Ensure ContainerOrderedWrapper returns itemIds in expected orderArtur Signell2016-05-191-4/+0
| | | | | | (#19427) Change-Id: I79cfe68cf5e9e37db27c53d2f7a1aa9a1573df90
* Ensure addItem(null) returns nullArtur Signell2016-05-031-1/+4
| | | | Change-Id: I67823b306e68637b469ed35fad00f6af64e8cc15
* Store unknown attributes in DesignContext #19749John Ahlroos2016-04-282-7/+46
| | | | Change-Id: I1e90d422ec716092e6d407b6965902f48eac1646
* Merge remote-tracking branch 'origin/master' into feature/mavenizeTeemu Suo-Anttila2016-04-211-0/+4
| | | | Change-Id: I1c55d6158caf32b796a9ad0d9e8df5392812e9a6
* Merge branch 'master' into feature/mavenizeelmot2016-04-132-13/+142
| | | | Change-Id: Id7db526d07a14ac259cbb50415bbafd2a7c2ab94
* Fix server test RemoveFromParentLockingTestelmot2016-04-011-4/+9
| | | | Change-Id: Ib3af43a1b6945db00194775fbb2a91b4b495ee9b
* Fix DesignFormatterTest for Winelmot2016-03-231-1/+1
| | | | Change-Id: Iefa9f9715c51e3b94b7a4df33ea7c0c166cf29d6
* Add @Test annotations, rename test classesTeemu Suo-Anttila2016-03-17137-519/+1262
| | | | Change-Id: Iac29db81c0c7ff425da73e7ae3d69eadabf5de77
* Migrate vaadin-server build to mavenTeemu Suo-Anttila2016-03-14422-0/+50186
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e