Pekka Hyvönen [Fri, 11 Oct 2013 12:55:50 +0000 (15:55 +0300)]
Converted test to use screenshots due to IE8 issues with TB dnd commands
(#12714)
Basically the screenshot for IE8 after the drag + drop commands shows
that the column header drag element is not removed from DOM for some
reason. In real life, column header drag and drop works for IE8.
Leif Åstrand [Thu, 10 Oct 2013 09:50:13 +0000 (12:50 +0300)]
Merge changes from origin/7.1
503e575 Fix NullPointerException in logger when message is null (#12588) d9f6dad Fixed Table range selection IE regression #12407 6453055 Run tests on Tomcat 8 (#12326) 10bcbdc Actually open integration test. 3cba6bf Rebuild OptionGroup on HtmlContentAllowed/Multiselect changes (#10451) 4f3cc4c Converted push test to TB3 (#12226, #12522) 281fc43 Fixed incorrect logging (#12241) 63e16e6 Mark as deprecated to discourage usage for new tests f488825 Update TB3+ convention to use a separate *Test file 5fb877b Makes test stable and adds helper comparison methods daf06e9 Use class name and not enclosing class for screenshot name
Leif Åstrand [Thu, 10 Oct 2013 09:49:52 +0000 (12:49 +0300)]
Merge changes from origin/7.1
ffb33be Update slider client-side state object on value change (#12676) b8828e7 Only publish files actually produced by this test/browser 5966f01 reduce reflow and calculation in VOverlay (#12566) 600f5f3 Do not try to focus invisible components which not present in UIDL #12654 d0e604f Only print testbench failure TeamCity messages when running in TC 0e9ff32 Ported regression fixes in 6.8 for #12407 to 7.1 branch 267a4ca Fix OptionGroup elements losing focus on value change (#10451) 07ca622 Fixes #12564 (HorizontalLayout breaks w/ alignment & error indicator)
Artur Signell [Mon, 7 Oct 2013 16:56:43 +0000 (19:56 +0300)]
Makes test stable and adds helper comparison methods
* Takes into account that the timer can be triggered multiple times before the initial request is done (especially if the server is slow)
* Adds assertLessThan, assertLessThanOrEqual, assertGreaterThan, assertGreaterThanOrEqual to ease test creation
Artur Signell [Mon, 7 Oct 2013 15:12:06 +0000 (18:12 +0300)]
Update TB3+ convention to use a separate *Test file
For any issue there should be a UI class, e.g. LabelSomething and a
Test class which has the name of the UI + Test, e.g. LabelSomethingTest.
The LabelSomethingTest contains ALL tests which depend on LabelSomething
and are named accordingly to what they test.
For special and legacy cases also LegacyApplication and UIProvider are
supported in addition to UI classes
John Ahlroos [Mon, 7 Oct 2013 09:37:50 +0000 (12:37 +0300)]
Fixed Table range selection IE regression #12407
After fixes for #12407 the range selection did not work in the case
where the selection start had previously been removed. This caused
MultiSelectWithRemovedRow test to fail on IE.
Artur Signell [Thu, 12 Sep 2013 17:57:01 +0000 (20:57 +0300)]
Prepare for Atmosphere Javascript 2.0 (#12241)
* Atmosphere 2.0 has changed enableProtocol to default to true.
* Reopening a connection in Atmosphere 2.0 is signalled through an onReopen event (not present at all in Atmosphere 1.0.x)
Fix was backported from master
Change-Id: I6ed258087a0b3a06440ab9d19b621560fa4f998f
Merge: no
Removed some obsolete (hopefully!?) code doing some odd things with caption height calculation and some refactoring to make that part of code slightly more readable.
Leif Åstrand [Fri, 4 Oct 2013 09:00:00 +0000 (12:00 +0300)]
Merge changes from origin/7.1
8ce6565 Fixes normal drag and drop events (regression since 7.1) and html5 style D&D in IE10 (#12339) 5fb1da2 Publish error artifacts immediatly in TeamCity 649735f Added user agent for IE 11 (#12631) a5795f3 Prefixes GET parameters in Liferay with portlet namespace #12602 b235d9c Refactor how TB3 tests are written (#12572)
Artem Godin [Wed, 2 Oct 2013 14:07:14 +0000 (17:07 +0300)]
Fix OptionGroup elements losing focus on value change (#10451)
The misbehavior was caused by VOptionGroup.buildOptions recreating
associated panel on every change by removing and adding new elements.
With this fix applied it tries to update existing elements,
distinguishing them by assigned keys. It will recreate panel though if
elements are reordered or new elements were added/removed.
Artur Signell [Fri, 27 Sep 2013 10:14:36 +0000 (13:14 +0300)]
Refactor how TB3 tests are written (#12572)
* openTestUrl() must be called in the beginning of each test. Before that setPush and setDebug can be used to determine whether /run-push or ?debug should be used in the URL
Artur Signell [Thu, 26 Sep 2013 06:28:50 +0000 (09:28 +0300)]
Merge changes from origin/7.1
7f7dc31 Base files for TB3 tests (#12572) 6b17abe Make it possible to override web driver in tests (#12572) a682e3b Refactored build scripts to support TB2, TB3 + integration tests (#12572) e556642 Converted servlet integration tests to TB3 (#12573) 21af0c3 Updated TB3 tests to use Firefox 24 (#12604) a7583c6 TB3 test for browsers (#12572) 37b8543 Do not add empty package javadoc for new classes 0248b8f Fixes browser detection for IE11 (#12638) 1df28c3 Run TB3 tests also on IE11 (#12631) a2daf65 Converted TB2 push tests to TB3 (#12580) d3261d7 Fixes issue with Table not scrolling completely to the end #12651 bd0ae05 Limit the number of tests run concurrently (#12572)
John Ahlroos [Thu, 19 Sep 2013 13:42:50 +0000 (16:42 +0300)]
Fixes issue with Table not scrolling completely to the end #12651
Made the Table notice if the user is trying to scroll to an item on the
last "page" and in those cases actually scroll to that item, not just to
the page's first item as it did before.
Artur Signell [Mon, 16 Sep 2013 11:31:37 +0000 (14:31 +0300)]
Refactored build scripts to support TB2, TB3 + integration tests (#12572)
* Main build configuration triggers unit tests for all modules and uitest/build.xml testbench tests in parallel
* uitest/build.xml triggers Jetty startup and integration (server) tests in parallel. After the server has started, TB2 and TB3 tests are run in parallel.
* Server integration tests for servlet containers are run using TB3 and the com.vaadin.tests.tb3.ServletIntegrationTests test suite.
* Portlet integration tests are still run using TB2 test scripts
0e048a5 Clarified error message (#12583) d0af7d1 Add async-supported to all servlets to enable push testing (#12573) 1de4389 Use JUnit 4.11 in all modules (#12572) d6954f8 Include TestBench 3.1.1 in the project (#12572) cdb9a49 Enable native scrolling in all iOS versions newer than 5, not just iOS 6 (#12324) 0e2780a Ensure string converter is always set cf796e2 Add v-iosN classname for all iOS versions instead of just N=6 (#12324) 46ac1e6 Update release notes to more closely be like 7.0.x (#12544) d9f204f PostLayoutListener javadocs (#12562) c7aaa04 Don't try to cast a connector to Widget. Fixes #12619
Artur Signell [Wed, 18 Sep 2013 21:18:19 +0000 (00:18 +0300)]
Update release notes to more closely be like 7.0.x (#12544)
* Fixed ticket link and removed duplicate link
* Reordered sections to changes in this version comes before changes in old versions
* Updated browser versions
Artur Signell [Tue, 17 Sep 2013 11:16:35 +0000 (14:16 +0300)]
Merge changes from origin/7.1
de53191 Fix for #12279 (caret jumps when formatting in RTA). fca0f7a Add <br> as empty representation for webkit (#12490) 6dcece8 Allow creating TextBox or SuggestionPopup when extending VFilterSelect (#12491) 22fcb44 Include unobfuscated file used by test in the war (#12468) bc90a58 Unified xml files to end with new line 3d01d74 Reduce Ivy resolver spam to a minimum (#12510) 1e73ca8 Fix keystore path to correspond to the Vaadin 7 directory structure (#12520) dcf9c61 Protect CurrentInstance instances from garbage collection (#12509) 24ffbc2 Allow storing and restoring null instances in CurrentInstance #12509 0d79a84 Added a comment that hopefully explains the NULL_OBJECT #12509 e4d99b3 Use non-obfuscated version of vaadinPush.js when not in production (#12527) 3a31dfe NullPointerException in TableQuery.fetchMetadata() (#11403) 4659797 fixed incorrect name for close-pressed.png for windows in black theme (#12563) 9b05257 Test for push with streaming based on Table 3cafce3 NullPointerException in DateToSqlDateConverter (#12284) 3a4351f Ensure PushConnection is properly cleaned up on disconnect (#12226, #12522)
NullPointerException in DateToSqlDateConverter (#12284)
DateToSqlDateConverter throws a NullPointerException when the provided
value is null, thus violating the interface contract. If the provided
value is null, then the methods should return null.
Fabian Lange [Thu, 12 Sep 2013 12:16:37 +0000 (14:16 +0200)]
fixed incorrect name for close-pressed.png for windows in black theme (#12563)
The scss file and the light and normal style suggest that the name should be
"-pressed". This is what this patch fixes. I have considered renaming all
"-pressed" to "-active", to be consistent with e.g. "maximize-active.png"
but decided against due to compatibility concerns.
Artur Signell [Thu, 12 Sep 2013 17:57:01 +0000 (20:57 +0300)]
Prepare for Atmosphere Javascript 2.0 (#12241)
Atmosphere 2.0 has changed enableProtocol to default to true.
Reopening a connection in Atmosphere 2.0 is signalled through an onReopen event (not present at all in Atmosphere 1.0.x)
Fabian Lange [Mon, 2 Sep 2013 13:49:53 +0000 (15:49 +0200)]
Allow creating TextBox or SuggestionPopup when extending VFilterSelect (#12491)
This patch adds two methods, that one can override when extending VFilterSelect.
By doing so, the developer can for example change the behavior of setting text,
or performing clicks in the suggestion popup.
This change is backwards compatible, as it just offers two new methods to
override.
d8b0b50 Always unlock the same session instance that was locked (#12481) e6af0f0 Avoid leaking memory from inherited ThreadLocales. Fixes #12401 f7ee8fb Updated _trackMessageSize based on latest upstream version (#12468) a24d391 Table ignores Container updates while painting (#12258) 7068d78 The colon in the calendar event caption is now also hideable. Fixes #12460 61dd8f7 Corrected typo in version variable (#12440) 476e0b8 Changed 'feature release' text to maintenance release (#12486) faa2569 Updated browser versions 831747a Fix regression where empty RTA returns <br> (#12490) cb8df75 Add deprecation message to unused constant 4c5bb0e Sets the locale in the test case. #12460 11cdf93 Excludes WeakValueMap from the serializable test #12401
TestHideTimeAndSeparator didn't specify a locale, which
caused it to fail if the locale on the system where it
ran was different from the one on the system where the
test was created.