Commit Graph

1114 Commits

Author SHA1 Message Date
Teemu Suo-Anttila
012e649775 Fix TB3 local testing and occasionally failing SliderDisableTest.
Change-Id: I58e60e55838c3339c934cf975e5e148c8f09a78b
2013-11-19 13:12:06 +00:00
John Ahlroos
1c1506ef04 Base grid component and column API (#12829, #12830)
Change-Id: I6c4eae8a4369e9452dd56e764633cecfe9bf553a
2013-11-19 11:07:24 +00:00
Artur Signell
dde6a4893d Output test results in XML reports instead of to standard output
This is a workaround for a problem with the integrated TeamCity JUnit
listener which is not thread safe. Without this the test results are
completely mixed up in TeamCity. For more information, see
http://youtrack.jetbrains.com/issue/TW-33176.

All standard JUnit test reports is put in result/reports. For uitest
there are three report directories: result/reports-tb2,
result/reports-tb3 and result/reports-integration to be able to clean
the directories before running a given type of tests.

This change is based on the separate fixes by John.

Change-Id: I2f0dee416f6745544636f2f3dcea0d0832ff8076
2013-11-18 12:40:30 +00:00
Leif Åstrand
81a1c293f0 Revert "Fixed lost scrollLeft when row count changed in Table (#12652)."
This reverts commit 533ddcda27.

Seems like the caused regressions are far from trivial to resolve. A new approach might be needed to resolve this issue.

Change-Id: I88cf75608e8d47fffab5a366a8ad1b3b70c1c11f
2013-11-15 14:14:28 +00:00
Artur Signell
642818fef2 Allow using @RunLocally to run on a local Firefox/Chrome/Safari
Change-Id: Ibb1dfd12dc48637d8179f80322b5203ea5562805
2013-11-15 15:41:02 +02:00
Artur Signell
33e58977c2 Use localhost when running locally to avoid potential network issues
Change-Id: Ie43604a2b41d2214d55d0976ba3c81ea361c8c56
2013-11-15 06:32:30 +00:00
Matti Tahvonen
e05e10eccf Added extra asserts to make test more safer to blind refactorings
Change-Id: I5dd159640bdc4f188c291017032ca96ca8b85d11
2013-11-14 12:17:04 +02:00
Matti Tahvonen
cbc9949b69 Added test case for #12726
Change-Id: I396bfa4f255d64dd1729afa1be6771ff35026ad9
2013-11-14 11:41:40 +02:00
Leif Åstrand
a752fcb109 Add column freezing to Escalator (#3087)
Change-Id: I9943b20ca2568c353c90dec598534fbb5ab58203
2013-11-14 09:26:31 +02:00
Henrik Paul
fd95c4845d Convert CellRenderer to revised EscalatorUpdater (#12645)
Change-Id: I046c53e775cdeaf4cfb02c47b3f2ca35231e4045
2013-11-13 09:38:41 +02:00
Matti Tahvonen
9be3b40801 Workaround for missing value change event in chrome (#10109)
Change-Id: I019527041539fcd0083261b693767144492e626a
2013-11-12 17:31:20 +02:00
Henrik Paul
fe33fb6316 Fixes insert/remove columns and testcase (#12645)
This includes also other bugs that were found while creating a more suitable testcase for this

Change-Id: I841e3643550b02d1ba16d2eee74deab9be15cc26
2013-11-12 13:42:53 +02:00
Henri Sara
9885b8c7d7 Merge branch '7.1' into testbench4
Conflicts:
	publish.xml

Change-Id: Ic8187a44ac731a930921a6ddcbe0f7eb07deef7e
2013-11-12 11:27:07 +02:00
Artur Signell
dd7e6fee8c Merge changes from origin/7.1
30e9b7c Add a test for @mixin { @font-face {...} } (#11649)
0a2cf2c Prevent showing "Session Expired" notification if navigating away (#12298)
8efc385 Fixes NPE in TreeTable.setContainerDS(null) (#12928)
23815e6 Remove broken JSch check
c308d8a Fixes double scrollbar issue in browserframes (#11780) Fixed by adding font-size 0 to the base theme.

Change-Id: I64ae167e8e6b61205718998b80d534fb2cf0cb3d
2013-11-11 16:33:27 +02:00
Artur Signell
dc5183c625 Merge changes from origin/7.1
0d3c35b Forces redraw in IE 8 when table does post layout. (#12687)
533ddcd Fixed lost scrollLeft when row count changed in Table (#12652).
c351b64 Revert "Make Panel scroll the correct div (#12736)" Revert "Reverted change in how hack works (#12727, #12736)" Revert "Fixes the handling of the scroll position of a Window (#12736)" Revert "Recovering scroll position after regression problems. (#12727)" Revert "Ticket #12727 - Panels get unnecessary scroll bars in WebKit when content is 100% wide."
2e3e877 Fix scroll position handling in Window Webkit hack (#12736)
6b38173 Adds JBoss EAP 6 server to integration test suit (#12908)
e933562 Minimal fix for error handling with streaming (#12578)
1385857 Do not apply fix on mobile devices or devices without scrollbars (#12736)

Change-Id: I1e620342c936ea23eacd2082a0a92b15e453b924
2013-11-11 16:26:51 +02:00
Artur Signell
2f9bcc0c21 Merge commit 'fefedeab68461ebc04fd45f91a35835fc9026a56'
Conflicts:
	client/src/com/vaadin/client/ui/VWindow.java

Change-Id: I03768d21133066aed5ff70b8c6df9e2761eb4e4e
2013-11-11 16:26:41 +02:00
Artur Signell
9835a829de Merge changes from origin/7.1
a5a9131 Converted LayoutTesterApplication test to TB3
1376429 Fix compilation error in test
7b120fc Tests for validating reconnect works for streaming and websockets (#12868,#12853,#12852)
9e6a82d Force connection to closed state on reconnect (#12853)
e365eee No longer require specifying Atmosphere js version in two places
ca7e928 Update to Atmosphere js 2.0.3.vaadin2 (#12868, #12852)
1cc4dc1 Fix duplicate id issue in test and test more corner cases
c21a684 Prepare for Safari 7 testing (#5288)
7615fd1 Made test more stable and added Firefox reconnect test (#12492)
186696d fix regression related to #12504
c48c94d Reverted change in how hack works (#12727, #12736)
f328340 Fix NPE caused by setting ApplicationConnection too late (#12736)
b47915f Extracted test to separate class
e07e674 Remove possibility to use static inner classes for tests
c4aff77 Fix NPE in fix (#12504)
15dce28 Make test more reliable by updating description which does not update the DOM
6a63d12 Make Panel scroll the correct div (#12736)
cc796b0 Ensure testing Jetty does not run out of heap space
f8da926 Updated to Atmosphere 1.0.18.vaadin1 (#12891)

Change-Id: Ic30441d72c4e45551255724a0dcc3b3fa5a1729b
2013-11-11 16:19:52 +02:00
Artur Signell
26614f9e29 Merge changes from origin/7.1
e413646 Ensure error screenshots are named according to the browser and not reference
2a3890c Revert "Only print testbench failure TeamCity messages when running in TC"
8971651 Revert "Publish error artifacts immediatly in TeamCity"
1265600 Stop polling if Communication Error #12362
878c2bd Added dummy checkstyle and test targets to liferay module
017bd06 Fixes the handling of the scroll position of a Window (#12736)
e2157f4 Fixed Tab error tooltips (#12802)

Change-Id: Ie01650362e8082f48fd9bd6cac2bf51b2dbf0d97
2013-11-11 16:15:44 +02:00
Artur Signell
e75dc7e789 Merge changes from origin/7.1
51a46a0 Recovering scroll position after regression problems. (#12727)
c464dcf Convert push test to TB3 so it has a chance to pass
2c6d010 Fixes test issues preventing it from passing
049b9d9 Remove out of order flush() (#12283)

Change-Id: I600294f41a4a1b7682f99bddb03042f84bee2702
2013-11-11 15:56:07 +02:00
Henrik Paul
d060b01d3c Add scrollToRow/Column, also some final declarations (#12645)
Change-Id: I4142edff9bc078c35ee70643fc3368bec10003f9
2013-11-11 15:04:45 +02:00
Thomas
c308d8a949 Fixes double scrollbar issue in browserframes (#11780)
Fixed by adding font-size 0 to the base theme.

Change-Id: I8d0224cb65f8ab36c50d2fd68157de4803c823e2
2013-11-11 09:50:05 +00:00
Henrik Paul
ecb954092f Implement escalator pattern for widget (#12645)
Change-Id: Ibdc5a5162ae88e886e74d93f3f75f4ea3c6dab89
2013-11-08 15:36:52 +02:00
Thomas
6b381737e8 Adds JBoss EAP 6 server to integration test suit (#12908)
Change-Id: I2d31a0b446e40f0c221403dfb66a990e346e53c0
2013-11-06 13:33:32 +00:00
Patrik Lindström
a12b62485d Merge remote-tracking branch 'origin/7.1' into testbench4
Change-Id: If596876f0a17c471dc7db6b6eea25ed1c3b87fb1
2013-11-06 15:27:36 +02:00
Tapio Aali
533ddcda27 Fixed lost scrollLeft when row count changed in Table (#12652).
Change-Id: I868f56c1e7003c6619859ba46619f4c53ef9744e
2013-11-06 11:58:36 +00:00
Jarno Rantala
0d3c35b4f1 Forces redraw in IE 8 when table does post layout. (#12687)
Without forcing the redraw, IE8 measures component sizes incorrectly in some cases.

Change-Id: I38e8a70e18753714b00f5ca4492749d6c84f10dc
2013-11-06 11:24:15 +00:00
Thomas
fefedeab68 Send window position data back to server after drag (#12885)
Change-Id: I9ca766b0e06390c7ab90f9cbd4996b83032789db
2013-11-06 11:12:06 +00:00
Artur Signell
cc796b0ebe Ensure testing Jetty does not run out of heap space
Change-Id: If4549c7bcb0a6518756aa42827340415c44a030c
2013-11-05 09:44:39 +02:00
Artur Signell
15dce287e5 Make test more reliable by updating description which does not update the DOM
Many browsers (IE) choke quite easily when there is a 1MB string inside a div

Change-Id: Ied9b27c17c5374b7cac36820be9cbe38e84448ee
2013-11-04 20:32:04 +00:00
Juho Nurminen
a3e176c560 Changed v-customcomponent overflow to visible (#12482)
Change-Id: I1e82337e719d16abce2c7f2060162af81f9192ea
2013-11-04 17:54:57 +02:00
Artur Signell
e07e674527 Remove possibility to use static inner classes for tests
Change-Id: I461568918bc09bd7a09abbf9c4a34f1a5f3b997f
2013-11-04 11:25:03 +00:00
Artur Signell
b47915f8d5 Extracted test to separate class
Change-Id: Ibfad0180e93e7f74b91427761b40c86938044c50
2013-11-04 11:25:03 +00:00
Artur Signell
7615fd1d1b Made test more stable and added Firefox reconnect test (#12492)
Waits longer for push message as at least Firefox has some kind of built in back off for websocket reconnects

Change-Id: Iaab2e09e8364f0b6247b3b39c19be439a4995800
2013-11-01 09:03:36 +00:00
Artur Signell
c21a6848a2 Prepare for Safari 7 testing (#5288)
Change-Id: I8868d9bd5e6dcc2b6ece404460700f00e6f2004e
2013-11-01 06:22:32 +00:00
Artur Signell
1cc4dc18fa Fix duplicate id issue in test and test more corner cases
Change-Id: I4bacfe7353968df7b0f1a8786ae4e488dffa3565
2013-10-31 18:41:15 +00:00
Artur Signell
7b120fc196 Tests for validating reconnect works for streaming and websockets (#12868,#12853,#12852)
Change-Id: I0e1e51291e9275a78737ad0e70e63b75ef993a63
2013-10-31 15:57:07 +00:00
Artur Signell
137642958a Fix compilation error in test
Change-Id: I1ad693fdc55becd4b4e620b8549d824b4496b908
2013-10-31 14:30:27 +02:00
Artur Signell
a5a91311e9 Converted LayoutTesterApplication test to TB3
Change-Id: I2cee37ae8297c74b4a37fc59e3cf835c9291ed43
2013-10-31 07:07:11 +00:00
Juho Nurminen
e2157f4796 Fixed Tab error tooltips (#12802)
Change-Id: I5ad33f38be5fac64805950d143ad2712e671ff83
2013-10-30 13:43:33 +00:00
Mika Murtojarvi
017bd0684c Fixes the handling of the scroll position of a Window (#12736)
After the first commit the same fix has been applied also for panels, in
addition to other suggested changes.

The scroll position of a Window is now memorized before applying
the fix for bug #11994. The position is restored after the fix.

Because the scrolling issue is known to appear also in other components,
the fix for the scrolling has been moved to the Util class.

Change-Id: I5251011b5bede77a7fb18972e1d90016c0eccc23
2013-10-30 13:39:05 +00:00
Artur Signell
8971651a93 Revert "Publish error artifacts immediatly in TeamCity"
This reverts commit 5fb1da2da0.

Change-Id: I9d84b75e5e189378eacd2559bb42399b77957010
2013-10-30 09:08:03 +02:00
Artur Signell
2a3890cf71 Revert "Only print testbench failure TeamCity messages when running in TC"
This reverts commit d0e604f6b5.

Change-Id: I14509a9cb1365761d02a3a8a18d3febc4a7ba918
2013-10-30 07:05:10 +00:00
Artur Signell
e413646588 Ensure error screenshots are named according to the browser and not reference
Change-Id: I3fe0a3f5e2906bde79d6d9fc3e84dab8102ffd60
2013-10-29 13:32:45 +00:00
Jarno Rantala
f5feaa2e3a Forces small delay before showing accessible tooltip on focus (#12849)
Screen reader (JAWS 14) seems to get confused about the focused item if
the tooltip is shown on focus. This commit forces small delay before
showing the tooltip. More info, see
http://www.w3.org/TR/2011/CR-wai-aria-20110118/roles#tooltip

Change-Id: I2973a1a3844936e09fef28afe37a0ecbdda69122
2013-10-29 10:22:09 +00:00
Henrik Paul
3bbf30054f Let UI fire PollEvents (#12466)
Change-Id: I7eb5e407b6822f5b3ac8e103ba7c9f676c51648f
2013-10-29 09:25:53 +00:00
Artur Signell
2c6d010d90 Fixes test issues preventing it from passing
Ensure push is enabled correctly without a fallback and made test more stable

Change-Id: I6c653a96375e05c6ad18e1f5b697c6a584c6c53f
2013-10-23 13:06:25 +00:00
Patrik Lindström
a247c5ae31 Merge remote-tracking branch 'origin/7.1' into testbench4
Change-Id: Ib0d22bb186bc17ddca2e6dbf09eda7c0d19b88c4
2013-10-23 15:15:35 +03:00
Artur Signell
c464dcf921 Convert push test to TB3 so it has a chance to pass
Change-Id: I6381ea4bd61b3df19599f2f9d3a303a50c810460
2013-10-23 12:05:20 +00:00
Leif Åstrand
d70961ff25 Merge changes from origin/7.1
c7ae45c Validate that the connector is enabled before triggering actions for it (#12743)
ce89a75 Created constants for tested browser versions (#12786)
f9ea9b3 Allow running tests locally by overriding runLocally() (#12786)
e70ba25 Added liferay module for building liferay.zip #12748
7c12694 Add sub directory support to sass test scanner (#12790)
39fdf66 Handle numbers in the same way if they do not have a unit (#12732)
6155d61 Disable fallback in a way compatible with Atmosphere JS 2.0.3 (#12241)
f401595 Test for pushing large chunks of data (#12567)
d41967d Skip compilation of TB2 tests if tests.tb2.skip is set
6c1ba81 Reverted button click() logic check (#12743)
779c8a0 Disable automated testing on Opera until issues are resolved (#12487, #12367, #12800)
962c1c3 Fix compilation error
7ee11a7 Remove unused test super class (#12786)
a4211dc Resolve concurrency issue in running TB3 tests
20c28aa Fixed javadoc
0d36896 Add more hax to make test work with new Atmosphere JS (#12241)
ed50200 Fix serialization issue (#12703)
dd51b7f Added more exception handling to PushHandler (#12578, #11882)
6f76840 Sass variables can now start with underscore (#12716)
ab5b20c Ticket #12727 - Panels get unnecessary scroll bars in WebKit when content is 100% wide.
361ad17 Fixed focus issue in TableMoveFocusWithSelectionTest (#12540)
ee809e5 Revert broken fix and test (#12446)

Change-Id: I71b6e3c2dc6b02845794df0934ba807d7ccac784
2013-10-22 09:12:59 +03:00
John Ahlroos
361ad179eb Fixed focus issue in TableMoveFocusWithSelectionTest (#12540)
Change-Id: I40dbc81b6aa4eaf0a235ae2cc7f04025011445c9
2013-10-21 15:14:26 +00:00
Felype Santiago Ferreira
ab5b20cf50 Ticket #12727 - Panels get unnecessary scroll bars in WebKit when content is 100% wide.
Change-Id: Ia34e7c3ce755556460d237fb3489501274ced39f
2013-10-21 12:25:17 +00:00
Patrik Lindström
90626d3583 Improve Calculator test application (#12744)
Change-Id: Ib65ade5ecc589717e68e34b7469b5bae3c58786d
2013-10-21 12:06:39 +00:00
Marc Englund
dd51b7f730 Added more exception handling to PushHandler (#12578, #11882)
PushHandler now catches Exception and calls ErrorHandler more.

Change-Id: I7032c00f717b1dae34f4352abc035b1b398c7cfc
2013-10-21 08:16:37 +00:00
Leif Åstrand
a48370a761 Merge commit 'd461fb438f62b38d2082b41b0a3c7a1189927c3d'
Conflicts:
	server/src/com/vaadin/server/VaadinService.java

Change-Id: Ieac9cce1d3a0351d21d433e523f2ab8e97550f50
2013-10-18 17:21:31 +03:00
Artur Signell
c90c0f280c Use alternate icon text for NativeButton (#12780)
Change-Id: I1390a3f5914977895c4111d44844c7be8ed46a61
2013-10-18 12:48:40 +00:00
Henrik Paul
7cba636d89 Merge changes from origin/7.1
377d49e Allow configuring deployment port for TB3 tests
6779857 Updatet servlet tests to follow the same *Test naming convention
e1c38bf Avoid obsolete calendar panel renderings to avoid various NPEs. (#12504,#12667)
63f10ec Fixed compilation error in TB3 test
3e593b0 Focus selected row in Table #12540
3c842b7 added small pause to make test pass
1b7e40d Only fetch rows if there are some (#11189)
f595d05 Make the various Writers member fields instead of local variables (#12446)
4cb304d Converted broken test to TB3
2aa2fdc Handle ClientMethodInvocation serialization with JSONArray as parameter (#12532)
1449425 Also hide shim iframe of VOverlay on setVisible(false) (#12731)
25fc2f2 Fix whitespace after including a mixin (#12715)
c29ca5e Update to atmosphere javascript 2.0.3-vaadin1 (#12241, #12127)
f75164f Disable unit cache to avoid compilation issues when switching between branches
6a99730 Allow skipping TB2/TB3 tests using tests.tb2/tb3.skip

Change-Id: I5a92798e66575c2cfd1d3f761a5f00af7e83dc64
2013-10-18 15:09:53 +03:00
Artur Signell
0d36896125 Add more hax to make test work with new Atmosphere JS (#12241)
Change-Id: Id75cabd402e243ed4bec7da61771554f2df4fbf6
2013-10-17 13:54:29 +00:00
Artur Signell
20c28aa2f0 Fixed javadoc
Change-Id: I0c54a5d033d53efd2c82a1dc03f9b6fda423e8ce
2013-10-17 13:10:44 +00:00
Artur Signell
a4211dc5e9 Resolve concurrency issue in running TB3 tests
Ensure nobody can update the static collections of browsers to run on
but that sub classes can restrict which browsers to run on using
super.getBrowersToTest().remove(something)

Change-Id: Iad520840801fbeb719bae51050714c0e47148804
2013-10-17 15:44:07 +03:00
Artur Signell
7ee11a7126 Remove unused test super class (#12786)
Change-Id: I7a56c9da10557485d5562eaf8d9197bfff4bc849
2013-10-17 11:19:30 +03:00
Artur Signell
962c1c3b5a Fix compilation error
Change-Id: I0068b68ef29c2b3f669869cb4bf427567f71c8b2
2013-10-16 17:03:14 +03:00
Artur Signell
779c8a0dc3 Disable automated testing on Opera until issues are resolved (#12487, #12367, #12800)
Change-Id: Id90abf6b2241aeb4f4e83551647169512a93401b
2013-10-16 16:33:54 +03:00
Artur Signell
d41967dffa Skip compilation of TB2 tests if tests.tb2.skip is set
Change-Id: I647fb48059372b497c77580d252c9622d259d3eb
2013-10-16 11:55:08 +00:00
Artur Signell
f401595330 Test for pushing large chunks of data (#12567)
Change-Id: I846b8417f69a0dca7cda2c3851148896d22cabcc
2013-10-16 11:48:05 +00:00
Artur Signell
6155d61cda Disable fallback in a way compatible with Atmosphere JS 2.0.3 (#12241)
Change-Id: I4023b50038288e39559cb8542ed59be807274d40
2013-10-16 14:10:49 +03:00
Artur Signell
f9ea9b31d4 Allow running tests locally by overriding runLocally() (#12786)
Uses Firefox either from path or from the location given using firefox.path in /work/run-eclipse-run-selected-test.properties

Change-Id: I29faa94cac4c978792a8fab9db338048553d166a
2013-10-15 17:11:16 +03:00
Artur Signell
ce89a75620 Created constants for tested browser versions (#12786)
Change-Id: I8f349bb3c338bb7e9073944891436edac5ee1bb1
2013-10-15 17:03:36 +03:00
Artur Signell
c7ae45cc24 Validate that the connector is enabled before triggering actions for it (#12743)
Automated test enabled only for IE9-IE11 because of #12785

Change-Id: I265e5d1ead3fa56469861c5a98dcc9d0106d1051
2013-10-15 13:20:54 +00:00
Felype Santiago Ferreira
d461fb438f Fixed swallower access. Now error handler logs exceptions. (#12703)
Change-Id: If8fe00e10c7ec56cbd8753ff88d4816613a340f2
2013-10-15 13:06:39 +00:00
Pekka Hyvönen
c978ad89cb 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. 

Change-Id: Ia31054e496064695708ed2392e83aa53056d2b5b
2013-10-15 08:00:22 +00:00
Artur Signell
6a99730d89 Allow skipping TB2/TB3 tests using tests.tb2/tb3.skip
Change-Id: If9f16657731fa5ea06e61bf9702abe385e4fc7a1
2013-10-15 07:58:54 +00:00
Patrik Lindström
df9a1192ef Merge remote-tracking branch 'origin/7.1' into testbench4
Change-Id: I58fe3b4126b61ec342ee06c18ce49a7fa7d4fd3d
2013-10-11 14:27:29 +03:00
Artur Signell
4cb304d8eb Converted broken test to TB3
Change-Id: Ic30db7584a65c944eb45c576e12b7671399d1965
2013-10-11 08:52:24 +00:00
Leif Åstrand
1f5a487165 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

Change-Id: Ie4557c2003f9cbc121cf287cf6f41bc5eaefe929
2013-10-10 12:50:13 +03:00
Leif Åstrand
fd48caf689 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)

Change-Id: I73bd688d390bcec9ea3c92a2ede4cad3c9daf7dc
2013-10-10 12:49:52 +03:00
Juho Nurminen
333d6515ed Merge commit '478acb8e9aa7505cc6eacf219e87202191810a39'
Conflicts:
	client/src/com/vaadin/client/ui/VTabsheet.java

Change-Id: If6a8663ad0c52789c1e01e750acbc343364d4767
2013-10-10 11:56:25 +03:00
Matti Tahvonen
1b7e40de94 Only fetch rows if there are some (#11189)
IE hacks cause calls to onScroll in situations where the cache row fetch
logic is not working correctly (causes JS exception). This change has an
optimization to pass this logic if there are no rows available and this
way fixes the JS exception as well.

Change-Id: I3425f3d75cad8b65e605638343b167abf7b48067
2013-10-09 16:31:21 +03:00
Pekka Hyvönen
8850d2c7a4 Table column header dnd ghost element location and styles (#12714)
Change-Id: I1c5c0fee61e2a47f0f9c8fdfbbd48f49171135b6
2013-10-09 15:24:25 +03:00
Matti Tahvonen
3c842b76ed added small pause to make test pass
Change-Id: I2e58a7444e5a2740f81409e6f248e0acedcead54
2013-10-09 14:38:41 +03:00
John Ahlroos
3e593b0949 Focus selected row in Table #12540
Change-Id: Ic920f9cb11840a456a7c49746317eaccde1e1406
2013-10-09 11:30:08 +00:00
Henrik Paul
b29caad20c Initial escalator commit (#12645)
Change-Id: Ibd0ac2896e12b99ddebdc26674a2dfced486c49a
2013-10-09 14:26:05 +03:00
John Ahlroos
63f10ec8bb Fixed compilation error in TB3 test
Change-Id: I62e246995879733393af3275778e9201cd970adb
2013-10-09 11:01:33 +03:00
Matti Tahvonen
e1c38bf70c Avoid obsolete calendar panel renderings to avoid various NPEs.
(#12504,#12667)

Change-Id: Ie0a9a8d9913116520b766062ebabdb771a76d1b6
2013-10-08 14:41:03 +00:00
Artur Signell
6779857911 Updatet servlet tests to follow the same *Test naming convention
Change-Id: I3c718232364f5ca7cce7131fa7685e4a2b833120
2013-10-08 13:19:53 +00:00
John Ahlroos
377d49ee17 Allow configuring deployment port for TB3 tests
Change-Id: Iee0827d1e65dcbc1fc6c71701b80f355285b6902
2013-10-08 12:58:35 +00:00
Artur Signell
daf06e935a Use class name and not enclosing class for screenshot name
Change-Id: I8e9e0487f4354ee0523b5d3c0c016a002c395107
2013-10-08 12:28:30 +00:00
Artur Signell
5fb877b093 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

Change-Id: I5ce1681e35d9c1de02a83b38528f17ee705331d7
2013-10-08 15:27:07 +03:00
Artur Signell
f488825d46 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

Change-Id: Ifc0180b377284bbd029202494ad194d324f8213b
2013-10-08 12:25:17 +00:00
Artur Signell
63e16e6547 Mark as deprecated to discourage usage for new tests
Change-Id: I87d417da5b6b8cf9753604944dff74f8f39c321a
2013-10-08 12:23:27 +00:00
Artur Signell
4f3cc4cef8 Converted push test to TB3 (#12226, #12522)
Change-Id: Ia12b35ef6beed0bf2f534f2c9505b22ce7b3c7c3
2013-10-08 08:59:38 +00:00
Artur Signell
10bcbdc652 Actually open integration test.
Regression since the change in test behavior (no longer automatically
opens test URL)

Change-Id: I1c4efc9b5b5c8a28818afa6f91af1a8b159354b4
2013-10-08 05:47:13 +00:00
Artur Signell
64530550ab Run tests on Tomcat 8 (#12326)
Change-Id: I99d91f16c5ad2dce6fb93f2862913b23518410d7
2013-10-07 20:49:18 +03:00
Matti Tahvonen
07ca622a6b Fixes #12564 (HorizontalLayout breaks w/ alignment & error indicator)
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. 

Change-Id: I960e4a9eba0388281868f18a182c8788cedf08f9
2013-10-04 09:52:57 +00:00
Leif Åstrand
30484511f8 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)

Change-Id: Ia8281fb81d371dd4813371d62890a1ed34990d35
2013-10-04 12:00:00 +03:00
Artem Godin
267a4cae6d 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.

Change-Id: I1245b2ff30ce1932614c1eac37bd0131cbd29dd7
2013-10-03 12:08:42 +00:00
John Ahlroos
d0e604f6b5 Only print testbench failure TeamCity messages when running in TC
Change-Id: Ifa04ce512743bc8ccddea0bdca7b82cceaff150e
2013-10-02 08:05:35 +00:00
Artur Signell
b8828e7270 Only publish files actually produced by this test/browser
Change-Id: If4f66157791d642801c0100bb4bc0f293efe76cc
2013-10-02 09:39:55 +03:00
Juho Nurminen
ffb33be8a1 Update slider client-side state object on value change (#12676)
Change-Id: Ief93d845e5498388072e05a0faff7ef2d29f1c77
2013-10-01 13:45:13 +00:00
Juho Nurminen
478acb8e9a Check modifiers when handling TabSheet hot keys. Fixes #12178
Change-Id: I685dbf2c22e3b160632b811652bf3ab52d3ef6dc
2013-10-01 11:22:23 +03:00
Henrik Paul
2bbb367053 Moved test class to appropriate source folder (#12337)
Change-Id: I01b25109a487bd0b9ff6a7903564ee5c867d6a33
2013-10-01 07:45:53 +00:00
Artur Signell
b235d9c4e1 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

Change-Id: Ie70996fcbdb2769fcd4ec56cb878e20198e02bf6
2013-09-27 11:56:48 +00:00
Artur Signell
649735f755 Added user agent for IE 11 (#12631)
Change-Id: I1ba1791c04a3d1685e1bc482d2b04a748e19f012
2013-09-27 10:31:02 +00:00
John Ahlroos
5fb1da2da0 Publish error artifacts immediatly in TeamCity
Change-Id: I69cb2208b7f6b3263ddb25fa26eebebcc6f9a7c3
2013-09-27 06:30:06 +00:00
Artur Signell
c18b20050d 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)

Change-Id: Idb4389aac388b728490a4ffd57d30aee20ea9fe8
2013-09-26 09:28:50 +03:00
Artur Signell
bd0ae0581f Limit the number of tests run concurrently (#12572)
Change-Id: I015e92ccc9be963543032c14dd9d051bcba58e53
2013-09-26 06:15:27 +00:00
John Ahlroos
d3261d77a4 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.

Change-Id: I47df33c75aa9b7e4f9a5f4bd5daeb301028517e8
2013-09-26 05:36:29 +00:00
Artur Signell
a2daf65958 Converted TB2 push tests to TB3 (#12580)
Change-Id: Ifd6286aee75946eb47c39886c08473a5a0c10545
2013-09-25 11:22:28 +00:00
Artur Signell
1df28c3141 Run TB3 tests also on IE11 (#12631)
Change-Id: I1ae0f8618e69ba61bb946cde18c2936b751f3a5f
2013-09-25 10:01:55 +00:00
Leif Åstrand
3940d85136 Use explicit button for reading asynchronously created messages (#10338)
Change-Id: Icde7e1f612ed60867b3d3d58aedbe36d16ad61a5
2013-09-25 06:49:35 +00:00
Artur Signell
a7583c616e TB3 test for browsers (#12572)
Change-Id: I1011aed7b3a7f4a339199be4e598b02b27500307
2013-09-24 10:46:33 +00:00
Artur Signell
21af0c3431 Updated TB3 tests to use Firefox 24 (#12604)
Change-Id: I738e5e3aca7b5332ced2179593f304c6d375b0f1
2013-09-24 10:01:49 +00:00
Artur Signell
e5566429bf Converted servlet integration tests to TB3 (#12573)
Change-Id: I964be2ef805875f36a2f0f8139feaa353c9aaee0
2013-09-24 11:25:12 +03:00
Artur Signell
a682e3b534 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

Change-Id: Ie6bffd4e68b4889074e9c470faa3c65f923e55c4
2013-09-24 05:36:15 +00:00
Artur Signell
6b17abed4c Make it possible to override web driver in tests (#12572)
Change-Id: If696c8a57fc370d2851592d745ab8a2698631ed5
2013-09-23 15:48:48 +03:00
Artur Signell
7f7dc316e3 Base files for TB3 tests (#12572)
* Converted LabelModes to TB3 for validation

Change-Id: Ic9e69d46623a16986961bdc8cc050b375622a91d
2013-09-23 12:35:15 +00:00
Leif Åstrand
e577bf9f0c Merge changes from origin/7.1
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

Change-Id: Icff34ba20a330e633c1b29ca8fd77d84b79841f5
2013-09-23 15:15:02 +03:00
Patrik Lindström
a9f332fddb Add simple calculator test application (#12444)
Change-Id: Ie2880c9321f46a004e53ca0fa08aa43f840e6a5d
2013-09-23 08:52:22 +03:00
Jonatan Kronqvist
c7aaa0413f Don't try to cast a connector to Widget. Fixes #12619
Change-Id: I0fe98ca90ed3969f1af1be60668b4c1c561675eb
2013-09-20 15:32:12 +03:00
Artur Signell
d6954f86e4 Include TestBench 3.1.1 in the project (#12572)
* Jetty is updated to 8.1.9.v20130131 to avoid conflicts with TestBench dependencies
* The new jetty dependens on servlet 3.0

Change-Id: Ibbbc8f5838feb4c132ee2b6f7d7f3f630e95dd68
2013-09-17 12:40:47 +00:00
Artur Signell
1de4389154 Use JUnit 4.11 in all modules (#12572)
Change-Id: I244f4afdebe956166a9158d85dc69fd7746c5a47
2013-09-17 12:37:21 +00:00
Artur Signell
0f7bcffdb9 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)

Change-Id: I44f3d5f003e62e7ab86a22188b22933491226868
2013-09-17 14:16:36 +03:00
Jonatan Kronqvist
d60b9419e3 Merge branch '7.1' into testbench4
Change-Id: Id93edf5895131bb13d1be792d0914ace399e713c
2013-09-16 16:16:51 +03:00
Johannes Dahlström
3a4351f9b7 Ensure PushConnection is properly cleaned up on disconnect (#12226, #12522)
Change-Id: I0bab199632554655ef92a624f5654852b4b157d1
2013-09-13 14:02:10 +00:00
Artur Signell
9b052579eb Test for push with streaming based on Table
Change-Id: I42146b8c0918a65c809bcb55e3930dad5bbb6e6f
2013-09-13 10:08:46 +00:00
Jonatan Kronqvist
6ab9e2d060 Allow different locator strategies #12485
Refactored the ComponentLocator class to allow for implementing
different locator strategies.

Change-Id: I93f3decbce4d4361cc605bcf0ce4379a187c482c
2013-09-12 10:53:12 +00:00
Leif Åstrand
dcf9c61cc0 Protect CurrentInstance instances from garbage collection (#12509)
Change-Id: I9ec103a1a42d8888d6f680f477393807223740cf
2013-09-05 13:34:10 +00:00
Johannes Dahlström
1e73ca85b3 Fix keystore path to correspond to the Vaadin 7 directory structure (#12520)
Change-Id: I58d5633baabc03e4e7cda413aa5b9231c7fa3e57
2013-09-05 14:58:00 +03:00
Artur Signell
3d01d74aa4 Reduce Ivy resolver spam to a minimum (#12510)
Change-Id: Ie80f2bad49f38a2391a8a560825aceb19f82de0a
2013-09-04 21:04:11 +03:00
Leif Åstrand
22fcb44faf Include unobfuscated file used by test in the war (#12468)
Change-Id: Id90faf1dde880bb1aa51f9c337dca594f4993884
2013-09-04 08:20:24 +00:00
michaelvogt
f14fc3cbd2 Keep the Tooltip in the DOM (#12458)
Change-Id: Ic707632ee51181e660b64935f68e564bdfc4443b
2013-09-03 07:22:18 +00:00
Leif Åstrand
ce110b8b06 Merge changes from origin/7.1
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

Change-Id: Id7eeba06d14518c254ceb01e38e2441967932755
2013-09-03 10:07:22 +03:00
Jonatan Kronqvist
4c5bb0e1d5 Sets the locale in the test case. #12460
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.

Change-Id: I44de92c68954eac425308eeaf7e07e76c717f2bf
2013-09-03 09:37:26 +03:00
Jonatan Kronqvist
7068d7827b The colon in the calendar event caption is now also hideable. Fixes #12460
Change-Id: Idc81c3cc614bc59c2a93615bd5ac5cac9b72f752
2013-09-02 11:15:05 +00:00
Henrik Paul
a24d391349 Table ignores Container updates while painting (#12258)
Vaadin threw an IllegalStateException if a Container was updated while
Table was being painted. SQLContainer was known to invalidate its cached
size during a Table repaint, resulting in an ItemSetChangeEvent. This fix
has been copied over from how ComboBox handles this situation.

Change-Id: I04af71a5ea3844da245cb9e31ada4a30ff704619
2013-09-02 11:14:14 +00:00
Leif Åstrand
f7ee8fb1d2 Updated _trackMessageSize based on latest upstream version (#12468)
Change-Id: Ie7db27a026d52befe027ed2abb96e62947f8116d
2013-09-02 10:50:53 +00:00
Jonatan Kronqvist
e6af0f0a5a Avoid leaking memory from inherited ThreadLocales. Fixes #12401
The issue is fixed by changing the normal HashMap inside the inheritable
thread local to a map implementation holding only weak references to the
values (WeakValueMap).

Also included is a test UI that starts threads, which run until the JVM
is quit. This along with VisualVM was used to reproduce the issue and
verify the fix.

Change-Id: I116cc4e56e8a19c3b770abab6b18b9e262f4dafa
2013-09-02 09:41:39 +00:00
Leif Åstrand
be3953c068 Merge changes from origin/7.1
4f3e81a Use <code> instead of {@code} for sample containing { and } (#12311)
c7a48ae Delay sending DateField popup value to server until popup is closed #6252
dc491a4 Reset waitingForFilteringResponse flag to false inside onBlur (#12325)
4fb775a Fixed a typo in FieldGroup.isModified() JavaDoc. (#12172)
aa47197 Add a chapter on installing IvyDE (for #12359)
eaec281 GWT requires max 1.6 compiler compliance level currently - #12345
f72be69 Terminate JVM if server.close() has no effect (#12363)
36413cb Make sure that no fileIds are replayed to the client (#12330)
7182665 Fix scrollbar for Window under WebKit browsers (#11994)
61dbe9c Search only remaining message for delimiter (#12404)
b5a212a Report min and max times from Profiler (#12409)
7220ca8 Fixed DragAndDropWrapper using wrong drop target in IE8 #12406
c87772b Escape markup in CustomLayout's JavaDoc (#12410)
f5b67af Optimize ComputedStyle.getIntProperty() (#12411)
0473036 Add more detailed profiling for some client side hotspots (#12418)
7dfe5ae Fixed test broken by fixes to drag&drop #12406
234ed1c Fixed test broken by PopupDateField communication change #6252
c7a8c3f Fixed failing TabKeyboardNavigation test #12433
fac9ff6 Optimize resetting of state when detaching components (#10899, #11284)
af995de Optimize large Vertical/HorizontalLayout client side (#12420, #10899)
39fd5fc Fix bug for spacing on first widget (#12420)
bd4442b Fixed broken test due to changes in drop position by #12406
b83240f Optimize CssLayout hierarchy update (#11284)
a52b286 Added controlDirective to ifContentStatement. Fixes ticket #12105.
8ce45c7 Disable slow sanity check when not in debug mode (#12463)
232eb42 Enable use of profiler without debug window (#12465)
6dc46c5 Use the add() path of CssLayout only when appending to the end (#11284)
bea7fa3 Only consider caption tooltips for own slots (#12469)
dce63d1 Allow creating session for Portlet UI init request (#12473)
ad669c3 Adds junit to the ide configuration for the theme-compiler module.

Change-Id: Icd734d6849cc4f4014e1268f4fabe1ed92f72e38
2013-08-30 13:43:34 +03:00
Leif Åstrand
bea7fa3430 Only consider caption tooltips for own slots (#12469)
Change-Id: I2d804b460fbca7cb7dbea01c88ae3dc7e63f344d
2013-08-30 08:13:54 +03:00
John Ahlroos
d827a1760d Fixed failing test after accessibility changes in #11827
Previously a tab could be selected by using the enter key. This was
changed in the ticket to use the space key instead due to accessability
reasons.

Fixed test by replacing all enter key presses with space key presses.

Change-Id: I9037785be212bb62835bfb1b17629e115c3fa601
2013-08-28 09:19:18 +00:00
John Ahlroos
e97fb8cbff Made test stable in IE8 #12406
Change-Id: If109cb760534b7d50d310b49c8a2cef86192fcca
2013-08-27 17:09:51 +03:00
John Ahlroos
bd4442bf67 Fixed broken test due to changes in drop position by #12406
Change-Id: Ia5c706a4315f8b8c618ca5c3e8681e656809dcec
2013-08-26 14:26:25 +03:00
John Ahlroos
53b66ed1ef Merge commit '5fb05e84c80931fcaa9929ad556a20f5316e06a8'
Change-Id: Ib3f2d1d269f8ec7ee1f03dfdbc290453e2356387
2013-08-23 09:20:37 +03:00
John Ahlroos
c7a8c3f609 Fixed failing TabKeyboardNavigation test #12433
The test fails on Opera 12 since the assertText is done before the
tabsheet has had time to change the tab content. Added a small waiting
period after the tab is changed before the assert is made to fix the
issue.

Change-Id: I89dfe040b577106f9f843c8b4013d20be1e02166
2013-08-22 11:22:39 +03:00
John Ahlroos
234ed1c9b5 Fixed test broken by PopupDateField communication change #6252
After #6252 the value is no longer communicated to the server
immediatly but only once the popup is closed. Changed the test to assume
the new behaviour.

Change-Id: I74782971d47367a8a57a520d5f4ab736f9b37c2c
2013-08-21 14:51:50 +03:00
John Ahlroos
7dfe5aea90 Fixed test broken by fixes to drag&drop #12406
Due to the fixes to the VDragAndDropManager the drop location became a
lot more accurate and so changed where the drops were made in the test.
To fix it I adjusted the pixel position within the drop target element to account for the
changed accuracy.

Change-Id: I60fec00a40c36fe0afcc7a4bacb2f7b101201b70
2013-08-21 10:40:01 +00:00
John Ahlroos
7220ca8758 Fixed DragAndDropWrapper using wrong drop target in IE8 #12406
VDragAndDropManager was assuming that the target element will always be
inside the cloned "drag image" element while dragging. This assumption
is false since the "drag image" can be 0x0px or transparent effectivly
disabling dragging.

Since Testbench 2 is also very flaky in using the Vaadin locators with
the drag/drop commands I replaced the locators with shorter locators
using a debug id to make the test more readable and stable.

Change-Id: I2cc9683d11e982521e74418c74dd3e81ee617ac5
2013-08-20 12:47:50 +00:00
Artur Signell
61dbe9caa1 Search only remaining message for delimiter (#12404)
Change-Id: I0d61984aa795ec2b3bd384c2f93f6e3ee2a71be3
2013-08-20 09:19:15 +03:00
Artur Signell
633e0201cd Merge changes from origin/7.1
16d17f9 Fix native scrolling regression in iOS 6 homescreen apps (#12295)
7212e02 Fix race in VaadinService.lockSession() (#12282)
2d5a107 Update "lastRequestedFirstvisible" field value right away (#10666).
325cdf9 Disable failing calendar Actions Menu Test (#12181)
8ba4117 Split UiAccess test (#12332)

Change-Id: I30e7aaacaf0ecbdc1a6dbdf956a6e48f4846de32
2013-08-19 17:31:46 +03:00
Artur Signell
acc12f857d Merge changes from origin/7.1
7cb49d1 Fix invisible calendar actions menu #12181
44aacf4 Clarify Embedded javadoc (#12290)
59a043b Fix actions in action menu appearing in random order #12250
5d57129 Fix calendar click events on context menu #12297
f5e3663 Document multiple load semantics in @StyleSheet and @JavaScript (#12200)
17bb700 Add optional OSGi Import-Package for javax.validation (#12301)
ea148c8 Disable all logging if production mode is enabled (#12299)
326bbb5 Fixes parsing of multiple push messages in streaming mode (#12197)
7fc1054 Ensure StringToIntegerConverter rejects values outside range of int (#12230)
f587298 Improve URI fragment listener javadocs (#12296)
d97cfbc Refine handling of null and empty URI fragments (#12207)
99c7d0b Show tooltips for ordered layout captions (#10046)

Change-Id: Ifb2e0131fde769e2620b7ba03755a5ba324d8aaf
2013-08-19 12:37:52 +03:00
Artur Signell
65b262cd69 Merge changes from origin/7.1
a53d487 Verify the connector hierarchy if assertions are enabled (#12271)
e9f3fcc Fix issue with hidden component cells in Table and TreeTable #12119
cbab936 Fixes light theme window sprites #12171
938d412 Fixes button :active state on firefox #12126
4219227 Fixed wrong classname in WindowThemes TB test #12171

Change-Id: I09bdb2fd0d16acad2afd84c544b26223d5f603a1
2013-08-19 12:34:29 +03:00
Patrik Lindström
7182665fde Fix scrollbar for Window under WebKit browsers (#11994)
Change-Id: Ie39d521c2f299bca0e2175fd8bb59beaa4f66241
2013-08-15 14:03:45 +00:00
John Ahlroos
84651fdb6f Fixed WAI-ARIA test related to #11820 which never has succeeded
Due to Testbench bug #12375 the test had never succeed on IE9/IE10.
To circumvent the issue I changed the way the test was done by
substituting the /@class assertion with an xpath statement instead which
works on all supported browsers.

Change-Id: Iad663ae6cf0976c09e0907942f8324d57b4328e6
2013-08-15 16:27:27 +03:00
Henrik Paul
36413cb556 Make sure that no fileIds are replayed to the client (#12330)
Due to how ProxyReceivers are constructed and serialized, we don't want
to resend the ProxyReceivers for files that already are in the queue.
Either we needed to change the way ProxyReceivers behave, or just make
sure that they aren't resent. I chose the double-check method.

Change-Id: I7c4e866ba4287afd3e80329be3640335d4ff00af
2013-08-15 10:49:25 +00:00
John Ahlroos
36d0f09420 Fixed WAI-ARIA test related to #11821 which never has succeeded
Due to Testbench bug #12375 the test had never succeed on IE9/IE10.
To circumvent the issue I changed the way the test was done by
substituting the /@class assertion with an xpath statement instead which
works on all supported browsers.

Change-Id: Idd5b8cb37404a2f88c4a00dc9849e3645559551d
2013-08-15 12:39:46 +03:00
John Ahlroos
23a0ed5c08 Fixes tests broken by accessability fixes #11874 and #11820
Both WAI-ARIA fixes improves the accessability by adding a hidden
element into the dom for the screen readers. Unfortunatly this
broke tests based on a certain DOM path.

Change-Id: I64631f22d7ef0bbb840131802dab1e50e9dac913
2013-08-15 09:55:18 +03:00
Leif Åstrand
f72be69c60 Terminate JVM if server.close() has no effect (#12363)
Change-Id: If024d94d496a6cf2e6f0f342d368ac7bd746de38
2013-08-13 13:17:59 +03:00
John Ahlroos
7e2d22659e Fixed DOM path in theme tests after accessability improvement #11874
The WAI-ARIA fix added an element to the Window header making the dom
path in the tests invalid.

Change-Id: Iee7eb4f922153da8a413c81e6611f0d967ebe134
2013-08-13 11:14:20 +03:00
John Ahlroos
ba8eb2afd8 Fixed DOM path in test after accessability improvement #11874
The WAI-ARIA fix added an element to the Window header making the dom
path in the test invalid.

Change-Id: Ifc8e993969643c32fbf552aa55b8700744ecbc9d
2013-08-12 16:40:36 +03:00
John Ahlroos
650dae3aea Fixed DOM path in test after accessability improvement #11874
The WAI-ARIA fix added an element to the Window header making the dom
path in the test invalid.

Change-Id: I32592496d95b8fc0238e4a3a651b6ebc21f46f46
2013-08-12 15:09:03 +03:00
John Ahlroos
d9479ea06c Fixed DOM path in test after accessability improvement #11874
The WAI-ARIA fix added an element to the Window header making the dom
path in the test invalid.

Change-Id: Ia056adc55d12800bded3e6791d119ca0a786ef33
2013-08-12 05:36:26 +00:00
John Ahlroos
d02e9c3486 Fixed DOM path in test after accessability improvement #11820
The WAI-ARIA fix added a new element into the notification making the
dom path in the test invalid.

Change-Id: Id0ce89ebff618bd68f6a7db51c72b6d25227d0cb
2013-08-09 16:29:34 +03:00
John Ahlroos
c7a48ae008 Delay sending DateField popup value to server until popup is closed #6252
Change-Id: Ib6f4681ea38fe7a6cac8a44bc4ab4b23151844dd
2013-08-09 08:31:47 +00:00
John Ahlroos
5fb05e84c8 Fixes Button icon alt text not being updated #12333
Change-Id: I23a26fbc5281e76792e257321d96f3d30a8bc2b2
2013-08-08 13:17:30 +03:00
Leif Åstrand
8ba4117221 Split UiAccess test (#12332)
Change-Id: I231e84d84adca79549d00a88dd4ae613ff291dbc
2013-08-07 09:42:13 +00:00
Patrik Lindström
325cdf92e9 Disable failing calendar Actions Menu Test (#12181)
This test cannot be completed in a smart fashion until TestBench 3 is in
use, because of differences in the DOM structure created by GWT for IE
and Opera, versus Webkit and Gecko browsers. TB2 requires identical DOM
structure for assertion queries to work.

Change-Id: I6f5f9aac1c25e4e105459da215db080b031b2aab
2013-08-07 08:49:12 +00:00
denisanisimov
2d5a10718e Update "lastRequestedFirstvisible" field value right away (#10666).
Change-Id: Idef31fa74f4720b5c55511de0545cd8ae1b77b26
2013-08-07 05:22:38 +00:00
denisanisimov
99c7d0b3cd Show tooltips for ordered layout captions (#10046)
Change-Id: I80cb1cbd573d7e0de8aa200a4513dc32984ba9f5
2013-08-02 11:40:10 +00:00
Leif Åstrand
d97cfbc9a1 Refine handling of null and empty URI fragments (#12207)
Change-Id: Ie133694b010a586c6336e9b04be7bcd94d2525e9
2013-08-02 10:20:46 +03:00
Leif Åstrand
bd923f394c Detach previous UI with the same window.name (#10338, #12255)
Change-Id: I15234985f1591d6af383c6e014679762619d5000
2013-07-31 14:24:40 +00:00
Patrik Lindström
7cb49d10de Fix invisible calendar actions menu #12181
Change-Id: I4cdf3d1e584f1537f0f216ddd6f65c1ec4a2ee6b
2013-07-30 11:33:18 +00:00
Jarno Rantala
47f4c612a9 BeanValidator changed to throw exception with array of causes (#11324)
BeanValidator was modified to throw InvalidValueException with array of causes
instead of exception with one message including HTML. This way
AbstractErrorMessage is able to create correct error notification message with
multiple lines.

Change-Id: I414189f56ac282daad9dd3fe58d13fd99108c479
2013-07-30 07:45:02 +00:00
John Ahlroos
421922705b Fixed wrong classname in WindowThemes TB test #12171
Change-Id: I23ce7ba8a87c119ada78bba1d4735c4d8404b4f8
2013-07-29 13:16:40 +03:00
John Ahlroos
cbab936d08 Fixes light theme window sprites #12171
The close buttons images for the Window black theme was mistakenly
added to the white theme sprite and ended up in the middle of the
light theme window. Moved the black theme button images to the
black theme sprite.

Change-Id: Ieaaaa1b404f1d623c61fe7cfecb4996d96904b27
2013-07-26 14:01:13 +03:00
John Ahlroos
e9f3fcc211 Fix issue with hidden component cells in Table and TreeTable #12119
Change-Id: I2f491d04ff177f7f0ce104c96b1c4a84ee7a2bc0
2013-07-24 12:58:25 +00:00
Leif Åstrand
b345bf217a Merge changes from origin/7.1
3229847 Fix lost focus in Table when refreshing row cache (#12231)
654d570 Don't close an unbound VaadinSession for GAEVaadinServlet (#12209)
2ea19f3 Make VaadinService.closeInactiveUIs set UI threadlocals (#12186)
7f5a0a7 Add Require-Bundle for our rebased atmosphere bundle (#12195)

Change-Id: I65c9a33462b3508b763115f8410fec3e62e16d45
2013-07-23 13:18:04 +03:00
Tapio Aali
3229847265 Fix lost focus in Table when refreshing row cache (#12231)
svn changeset:25991/svn branch:6.8
svn changeset:26075/svn branch:6.8
svn changeset:26091/svn branch:6.8

Change-Id: Ia4a6ab4cc6ff98795a6d1f9b1701a345dc3f4dc4
2013-07-16 16:42:06 +03:00
Leif Åstrand
f0d8ccd131 Merge changes from origin/7.1
419c6c7 Implemented Focusable in MenuBar (#7674)
a4f1277 Fixed NPE in ApplicationRunnerServlet (#12145)
08d365a Fixed slider value initialization on HSV and RGB tabs of ColorPicker. (#7863)
da480bd Fix VaadinService.findUI to throw Error if UIConstants.UI_ID_PARAMETER is not set (#11943)
6291a50 Ensure that Slider diffstate always contains "value" (#12133)
7e7e698 32x32 favicons added, replacing the old favicons (#12143)
1702059 Replace printStackTrace with getLogger().log() (#12147)
b421d6e Updated Javadoc for Table.getColumnAlignment fixing #6810
414e3bf Fixed an error in CustomComponent JavaDoc (#10038), and some improvements.
4583d07 Fix NPE in Like.java (#10167)
6c4da29 Ensure table's cells aren't refreshed if table is detached. (#9138)
e37464c #11638: Ending an imported SCSS file with a comment causes an error in the Sass
478eeb5 Test using Jetty 9 (#12124)
f7cc72d Close only combobox on escape, not the window (#12163)
9a9b0a5 Automatic test for escape closing window from combobox (#12163)
ae565a2 Fix bug in PopupDateField where locale was retained incorrectly if changed while popup was open (#12153)
d7a64fd Enable native scrolling in home screen apps on iOS 6+ (#12149)
4a04f00 Add test case for testing ClickEvent after dragging button (#7690)
775c969 Make UploadInterruptedException visible (#12070)
6a4bbe5 Set heartbeat response Content-Type to text/plain (#12182)
e4011c6 When InputStream cannot be opened while writing static resource response, display 404 instead of 500 (#10920)
20162db Set current instances when calling UI.push from VaadinSession.unlock (#12168)
94c0f86 Ensure VaadinSession.service is set up by storeInSession (#12204)
23ed487 Attempt to get GAE lock for UIDL requests (#12211)
7f52b2e Improved AbstractClientConnector performance (#12219)
a934261 Improving performance of ConnectorTracker (#12218)

Change-Id: I810124d60c22d4d0ab837a19eb9c2689951864b5
2013-07-15 09:15:13 +03:00
michaelvogt
c44ca12705 Tabsheet should not immediately select a tab when changing tab using
keyboard (#11823)

Adds the necessary WAI-ARIA roles to the component (#11827)

Change-Id: Ie1ed40227679e3497971b834919713614a8cc23e
2013-07-12 11:24:11 +00:00
michaelvogt
e45e036598 Prevent to exit a Window with the tab key (#11874)
Change-Id: Icd12ec6e2eac626ad493707dfa8288d620bb9bb7
2013-07-12 07:20:38 +00:00
Leif Åstrand
20162dbe20 Set current instances when calling UI.push from VaadinSession.unlock (#12168)
Change-Id: I27795ab9ae3e3692f508e847936ccaa5a1ebadd4
2013-07-10 10:32:38 +00:00
Joonas Lehtinen
104e472d21 Fixes @PreserveOnRefresh losing page title on refresh #11054
Moves Page title to PageState instead of using RPC for changing the title on Page.setTitle().

Change-Id: I8e5ab2064c04235503fb2531f4cdbb108530ac7e
2013-07-09 12:23:48 +00:00
michaelvogt
8b5a7e940b Tabsheet tabs should support alternate text (#11824)
Change-Id: I000fe6102291d8bd9bbe484b5683b50c40c8470b
2013-07-08 11:44:39 +00:00
Patrik Lindström
4a04f00687 Add test case for testing ClickEvent after dragging button (#7690)
Change-Id: I9ecb796a9bcbc8415efe27873fdbd71745d0aa85
2013-07-08 07:33:52 +00:00
michaelvogt
00c473abf0 Accessibility for Window (#11821)
Change-Id: Ica5d13fb138e8ed1c1966858c9e1dd0c4aa13af5
2013-07-04 17:06:39 +03:00
Patrik Lindström
ae565a2293 Fix bug in PopupDateField where locale was retained incorrectly if
changed while popup was open (#12153)

Change-Id: Ib4bebab8c6e75e7f1af7cfc5198ab6516e94a45e
2013-07-04 14:03:38 +03:00
Henri Sara
9a9b0a5180 Automatic test for escape closing window from combobox (#12163)
Change-Id: I38a143fb76ebf3a64cd416e5ba7d325aedc60ffe
2013-07-04 10:08:52 +03:00
Henri Sara
f7cc72df9b Close only combobox on escape, not the window (#12163)
Change-Id: I356e115b5cd96ba0a598178a15215654f2fd16bb
2013-07-03 16:33:50 +03:00
michaelvogt
d2c2ebb61e Support screen reader only notifications (#11830)
Change-Id: I09391b27c0b3df538ffe74c4edb8d96224f14cd3
2013-07-03 11:18:57 +00:00
michaelvogt
d23c06a614 Accessibility for Notification (#11820)
Change-Id: Ic9c1a417fa791927897b6fcdf35a1fb4444dfd70
2013-07-03 11:18:00 +00:00
Henri Sara
24b0386b4f Fix two tests broken by removal of StringToNumberConverter (#12092)
Change-Id: Ic1520ddf670d83ce804acf240067c85d493196ca
2013-07-02 09:23:28 +03:00
Artur Signell
b84d2feabf Adds String <-> BigDecimal converter (#9997)
* BigDecimal properties connected to String based fields (TextField/TextArea/...) are now supported without custom converters

Change-Id: I2dab67875b3cfdb46b17e9d4cc35ffb94c114478
2013-07-01 06:14:48 +00:00
Artur Signell
478eeb51cd Test using Jetty 9 (#12124)
Change-Id: Ie765e542e2319dc1d94c61a986cab3720556e66a
2013-07-01 06:11:39 +00:00
Anna Koskinen
6c4da29442 Ensure table's cells aren't refreshed if table is detached. (#9138)
Change-Id: I026cd70e9e518fa320f6ec3011194359385a3a4a
2013-06-28 14:10:11 +00:00
Risto Yrjänä
6291a5080e Ensure that Slider diffstate always contains "value" (#12133)
Force diff state to contain "value", so that value changes from value
change listeners work.

Change-Id: I5b2c661f1297ec0272c150a5a9ff4ca26f19fefe
2013-06-28 13:14:07 +00:00
Teemu Pöntelin
08d365a418 Fixed slider value initialization on HSV and RGB tabs of ColorPicker. (#7863)
Change-Id: I3776400d849d4ba9f76d6296603152c0a6464aaa
2013-06-28 13:04:31 +00:00
Jouni Koivuviita
a4f127722a Fixed NPE in ApplicationRunnerServlet (#12145)
If the path for a test case file contained special characters (such as
space), they would get URL encoded which wouldn't work for File
constructors.

Fixed by using URI.getPath(), which does the decoding.

Change-Id: I2a7c13b785adbb2e486d3807b115540c0ba70fa6
2013-06-28 13:03:59 +00:00
Jens Jansson
419c6c7875 Implemented Focusable in MenuBar (#7674)
Change-Id: I31cd6fafffacc16147e63d3878fcf025163deb5b
2013-06-28 12:36:19 +00:00
Artur Signell
c3540bf159 Merge changes from origin/7.1
3affc37 Enable using @Stylesheet with vaadin:// (#9934)
177c424 Updated Atmosphere dependency to 1.0.14.vaadin2 (#12017, #12033, #12115)
dbfb9a3 Add version property to integration tests to servers know if it is a Vaadin 6 or 7 test
e371001 Ensure caption is used when child is set to required (#12077)
90ed657 Use atmosphere 1.0.14.vaadin3 which fixes Android 4.1 support (#12101)
6f2db49 Include Atmosphere fix for Android 4.1 (#12101)
c4ec786 Things now align better in SimpleTree, for #12058
172d704 Actually show loading indicator during loading (#12128)
6c10136 Use varargs instead of array where appropriate (#4513)
939095a Debug window poll interval claims interval is in seconds and not milliseconds (#12098)
68f025f The 'license.html' file has flaw in the HTML (unclosed span tag) (#11952)
c107efc Remove sub window references from Window javadocs (#9892)

Change-Id: Id386718b46f87a91708a51d70cdb5b47a0157e8b
2013-06-28 14:54:20 +03:00
Artur Signell
e371001c7b Ensure caption is used when child is set to required (#12077)
Change-Id: Id4a9674c1b2e1c41dbba1f6fde11502400591a52
2013-06-25 13:09:40 +03:00
Artur Signell
dbfb9a3189 Add version property to integration tests to servers know if it is a Vaadin 6 or 7 test
Change-Id: Id16238351289ce8df81bed3cd364cc4aa8bba95c
2013-06-24 19:10:55 +03:00
tapio
cdb8d682af Add support for setId to TabSheet.Tab (#12064)
Change-Id: Ia88b9d03a26b9670ab4026f8083a0b932dafa1c0
2013-06-24 09:12:27 +00:00
Artur Signell
cc8bb2c509 Merge changes from origin/7.1
bad3208 Corrected fix and better error checking for action/event request (#12056)
a7957df Fixes broken request listeners (#12056)
d5dbae8 Exclude external classes and FutureAccess
b4fc9bc Define LegacyPropertyToStringMode parameter strings in the enum (#11970)
7fb8080 Don't attempt to run microbenchmarks as unit tests (#8759)
3067b23 DebugWindow sections now use previously empty areas to describe the functionality, for #12058
28f72b6 Highlight on server when highlighting on client, for #12058
86e1a31 VUIDLBrowser no longer requires shift-click to 'highlight component on server', open recursively changed to 'alt-click', for #12058
76b9cd1 DebugWindow styles improved and structured more, for #12058
1befbeb Test using Glassfish 4 (#12075)
78af0eb Specified supported server versions and added Glassfish 4 (#12075)
ad9c350 Fixed test issues with type=null (#11895)
8c4800a Updated to atmosphere 1.0.14-vaadin1
2d54adf Highlight on server was still spamming in one instance, for #12058
0754158 Rename getCommunicationMethod -> getCommunicationMethodName (#12019)
8669f6a Actually compile an IE10 permutation (#12080)
47c199f Add 'transport' GET parameter to AbstractTestUI (#12094)
b637ab5 Reinitialize pendingAccessQueue after deserialization (#12097)

Change-Id: Ie664f5c7ec4be2d4841d8b659d6a3ecd0c11624d
2013-06-18 22:27:12 +03:00
Johannes Dahlström
47c199f6fa Add 'transport' GET parameter to AbstractTestUI (#12094)
* Value can be 'xhr', 'websocket', or 'streaming'
* xhr disables push even if already enabled
* others set push to automatic if not already set to manual

Change-Id: Iaf929bbb78865fa7d832718841e781e76cdf7277
2013-06-18 13:56:57 +03:00
Artur Signell
1befbeb52f Test using Glassfish 4 (#12075)
Change-Id: I09b062642e54b6184a10c4a9446147f9241c3d16
2013-06-14 08:21:19 +00:00
Leif Åstrand
faa693e33b Merge changes from origin/7.1
da0a112 Merge changes from origin/7.0
6ba8938 Restore legacyPropertyToString value parsing logic (#11970)
d5c0ffa Fix NPE when converting null values (#11895)
2aa3096 Avoid string casing problems (#11970)
0f107f3 Update widgetset template (#12053)
eb64fda Add support for rem units (#11279)
5f66766 Using StringTokenizer instead of String.split() in AbstractComponent (#8759)
15b217d Handle push disconnections and reconnections more reliably (#11831, #11922)
47addab Adding isIOs and isAndroid to the WebBrowser wrapper around VBrowserDetails (#11168)
0aa5907 Do not write 404 as a response to all action/event requests (#12056)
55ebe13 Detach and attach when adding or removing the caption wrapper (#11708)
7830af2 Fix GridLayout resize after removing caption (#12011)
53e3a25 DebugWindow resize/move improved, fixes #11937 (also implements shift-resize and alt-move, improves bounds-check)
f2b2ce9 Updated to Smartsprites 0.2.10 (#12069)
29c9b60 SimpleTree styling changed for #12058
da8382d DebugWindow now remembers open tab/section, InfoSection fixed to support being opened at once, for #12058
4f5bcef Info tab is now tab 1, hierarchy tab 2
a089743 Consistently recover from disconnections in IE (#12073)
59103a9 Always notify parent of enable state changes (#12062)
997e9a9 Fixed test issue apparently caused by three levels of classes
54ffbdb Add missing license header

Change-Id: Ifba747964fa0d8265bb468ca555b84dadec9fa0a
2013-06-13 22:38:42 +03:00
Artur Signell
59103a9595 Always notify parent of enable state changes (#12062)
Change-Id: I30ee9a968050301d79c5073a62d85390652f76a9
2013-06-13 16:19:08 +00:00
Artur Signell
4f5bcef25a Info tab is now tab 1, hierarchy tab 2
Change-Id: I24f349d5fefff3239eb1687e7321e97e2c8a0e96
2013-06-13 16:06:52 +00:00
Patrik Lindström
7830af22d8 Fix GridLayout resize after removing caption (#12011)
Change-Id: Ieda9b23a1cbf6700cc7438d0b404c3229dd27ed8
2013-06-13 17:15:51 +03:00
Leif Åstrand
eb64fda3eb Add support for rem units (#11279)
Change-Id: Id6b6402b22956cd96b86cef86f11088e959dc05d
2013-06-12 15:49:29 +03:00
Artur Signell
da0a112088 Merge changes from origin/7.0
02da730 Merged testbench test for #7110 from 6.8 (fix not needed for 7.0)

Change-Id: I4a53d5a1fed3018c8cdda5b1aa88715e911ed112
2013-06-12 09:39:21 +03:00
Leif Åstrand
be274254b5 Merge changes from origin/7.1
9100cfc Do not rely on broken javadoc features for default values (#11970)
fad7bf7 Remove DEFAULT constant as an annotation enum cannot use it (#11966)
1f14422 Merge changes from origin/7.0
9b38072 Exclude provided portal-service from all zip (#9823)
8f4add9 Fixed button highlighting when dragging #10917
8eb567e Make UI.pushConnection transient to prevent null resource after deserialization (#11809)
9efd4d6 Fixed test issues
1b0a214 Pass ConversionException to getConversionError (#11960)
bca14c0 Correctly report theme version in the debug window (#11442)
f9bffed Fix for NPE in debug window in IE (#12015)
da29e2b Fixed serialization issues
a5ec937 Info section for the debug window (#12019)
d6fca78 Fix race condition in upload with push (#10214)
e7201fd Allow using element resize listeners from javascript connectors (#11996)
e853280 Print warning if in production mode and theme compilation is required (#12031)
d9becf9 Use vaadin-atmosphere without slf4j dependency (#11765)
37bc9e4 Reformatted using Ant editor (#12040)
5adb5c2 Include compatibility web.xml in uitest.war (#11688)
424af57 Move ClientConnector.setParent to Component and Extension (#11777)
074d7b3 Fixed incorrect line breaks (#12040)
2cada0b Reformatted release notes using Eclipse (4 spaces)
a0182a0 Updated release notes for 7.1.0 (#11993, #11991, #11870)
5793a1c Make VaadinServlet use enclosing UI class by default (#12039)
3d9d47d Added type parameter to converter methods (#11895)
ecc2de3 Removed dead code

Change-Id: I68ad269dc46ac03d7285b92e0ebdcd3eda059629
2013-06-12 09:14:11 +03:00
Artur Signell
3d9d47d222 Added type parameter to converter methods (#11895)
Change-Id: I6562c537d9e5a0745eb67bc613123a265578ae00
2013-06-11 12:40:09 +00:00
Artur Signell
074d7b358d Fixed incorrect line breaks (#12040)
Change-Id: Icd97ebd2b54731cf8133b940d024ad8f91c5922f
2013-06-11 08:24:53 +00:00
Artur Signell
5adb5c2cfa Include compatibility web.xml in uitest.war (#11688)
Change-Id: I4f500e37ef7b96e103d66c40fba152299516a55f
2013-06-11 06:19:00 +00:00
Artur Signell
37bc9e41db Reformatted using Ant editor (#12040)
Change-Id: If8afd65d5905302c64f12ef7f76ee7e63073c474
2013-06-10 20:21:56 +03:00
Leif Åstrand
e7201fd308 Allow using element resize listeners from javascript connectors (#11996)
Change-Id: I97b280c2e260752be87ce85d2eda81ec4f14d4fe
2013-06-10 10:48:23 +00:00
Leif Åstrand
808b655815 Merge changes from origin/7.1
2772641 OSGi support for vaadin-push (#11691)
42c4b20 Use "\0" instead of "|" as a push message delimiter (#11692)
778de06 Derive current servlet/portlet from the current service (#11779)
f8fb8b7 Upgrade to Atmosphere 1.0.13 (#11861)
fea4c5e Don't build and publish sources for package without source files
6a7683b Disable Atmosphere version number check (#11890)
ebb92e6 Improve error message if vaadinPush.js failed to load (#11673)
70131cd Extracted common code for number conveters to abstract super class (#11900)
0b63506 Fixed order of parameters in javadoc (#11158)
6bf83a4 Modified the logic in setPropertyDatasource which determines if a new converter is needed (#11863)
53a9c11 Fix TestingPushConnection.init signature (#11673)
05ef43f Updated client-compiler to depend on client-compiler-deps 1.0.2 #11879
9686323 Added isInitialStateChange to StateChangeEvent (#10477)
7cced5e Fixed test which had never passed
ada3311 Avoid creating an instance of every view while searching for the correct view (#11722)
5b35dd9 Added text file encoding and line delimiter info (#11907)
f8c4f99 Prevent spurious "Could not determine ApplicationConnection" error when using the debug window
8a42394 Fixed locators in test (aria div conflict)
6de01ac Fix text / javascript mismatch issue in Chrome (#11275)
f7f1e3e Added Java Date to Sql Date converter to better support sql dates (#11224)
2882cf9 Added Serializable where missing and ignore classes which do not need Serializable
4d7f190 Make access() enqueue the runnable if the session is locked (#11897)
4c2b86d Stop using PlaceHolder widgets in VTabsheet (#11026)
87018cd Add missing license header
cb1f63b Send window mode changes to the server immediately (#11737)
e52df7c Added ComponentConnector.isAttached (#11928)
2b5ba96 Define how CurrentInstance works with access() (#11897)
d345838 Remove ThreadLocal references from CurrentInstance (#11914)
bb7b404 Remove outdated testing (#11897)
f64d944 Merge "event not reported as target when context clicking in month view" to Vaadin 7.1 (#10217)
51c9fb5 Fix debug window SEVERE style, add styles for FINE, FINER and FINEST (#11891)
3b888fe Support nested SASS imports (#11909)
b2137f5 Ensure calendar panel is updated when range changes (#11940)
f8319eb Avoid deadlock checking in runPendingAccessTasks() (#11897)
51a98a3 Moved enums to avoid running them as tests
7c613d1 Exclude parsers from checkstyle as they are generated
35f3532 Fixes current text being overwritten in server update on RTA #11741
a744d21 Remove UI.runSafely and VaadinSession.runSafely (#11901)
84edd19 Make test independent of browser language (#11940)
a3ad62d Updated to custom build of Smartsprites 0.2.10 which includes a fix for SMARTSPRITES-36 (#9959)
a9afca6 Moved Locale data handling to LocaleService (#11378)
5e548ae Fixed javadoc compilation error
91182e2 Extract ProgressBar and deprecate ProgressIndicator (#11925)
a5b8209 Add primary style name support for ProgressBar/Indicator (#9913)
86b3689 Make ProgressInidcatorConnector use VProgressIndicator (#11925)
29fcadc Flush the output writer in case of SSE transport as well (#11955)
5e26b0b Fix streaming issue with iOS6 (#11934)
1b274c4 Limit sub window minimum size (#11510)
46cc08b Remove workarounds for broken Timer.cancel in IE (#11872)
d850db6 Add XML formatting instructions (#11956)
9a3dc4e Formatted XML files using defined rules (#11956)
57b7335 Fixed spelling mistake in API #11741
587e10b Fix stale info in javadoc for accessSynchronously (#11897)
36fd94a Remove IE6/IE7 permutation (#11954)
cccff37 Do not log legacy warnings in JUnit tests (#11963)
0f9b689 Throw exception if VaadinService has not been initialized (#11961)
1ed0980 Move ApplicationConnection.setOverlayContainerLabel to VOverlay (#11965)
0014563 Extracted dialog style to a separate block (#11734)
b82e60b Add missing dialog maximize/restore icons for Runo (#11734)
0d046d6 Add a separate debug window section for profiler output (#11950)
03830ae Ignore style resource that has already been added (#11667)
84bf5a7 Enabled drag & drop to Calendar #11048
6c36784 Merge commit '34e6c60a5a746c0306c3a84ae8d6c21dfd84d878' into 7.1
a82d57e Merge changes from origin/7.0
666dbb5 Use window.console instead of just console in vaadinPush to appease IE (#11980)
93751c1 Use correct day names when formatting dates (#6207)
19d0082 Fixed javadoc references
e6e752d Correctly decode summaries containing quotes (#11769)
54ed269 Log stack trace using fine when logging toString warnings
8d655f6 Move VaadinSession.runPendingAccessTasks to VaadinService (#11964)
b1ab27a Update broadcaster tutorial code
e63edcc Update deprecation javadoc for VaadinSession.getBrowser()
132eee5 Add @VaadinServletConfiguration (#11970)
aa99259 Send connector debug (highlight) using RPC (#11536)
6d4582e Change analyze layouts to use RPC (#11536)
6f912b1 Rename tests so they are run during build (Abstract* is ignored)
ebd4a5c Added missing rpc interface (#11536)
edca409 Allow customizing client-side push config on server side (#11867)
b0574f7 Add transport parameter to @Push (#11966)

Change-Id: I4670c783fec829f81890e2d645d93dd40860b909
2013-06-07 14:12:41 +03:00
John Ahlroos
02da730068 Merged testbench test for #7110 from 6.8 (fix not needed for 7.0)
Change-Id: I14e02a02d77420e601ec5f98d70453fa85f1a473
svn: http://dev.vaadin.com/changeset/0000025944/svn
2013-06-05 16:20:39 +00:00
Artur Signell
1f144228f6 Merge changes from origin/7.0
892b8ba Do not submit TextArea value on enter in IE (#11982)
bd3f975 Properly disable combobox when parent is disabled (#10734)
1b85e59 Added missing import (#11982)
3c8a3bf Merge of properly focus clicked input element in Webkit (#11854, #11297)
d647d7a Ensure VBrowserFrame content is unloaded in IE (#11683)
08ba394 Disable drag&drop when source or target component is disabled, re-implementation of 6.8 fix for #11801
b01427a Change field types from LinkedHashSet back to HashSet to retain binary compatibility (#11432)
14ebd0d Fixed newlines

Change-Id: Icea535d8d5130e013327dd76a194e3910f533332
2013-06-05 19:15:54 +03:00
Artur Signell
b0574f7b33 Add transport parameter to @Push (#11966)
Change-Id: Ic47e68a41ba407917a990ef82a98c1526a9510ef
2013-06-05 12:17:10 +00:00
Artur Signell
edca4095d2 Allow customizing client-side push config on server side (#11867)
Change-Id: I212067aa0bd04e3e73844ef57963b5622291986a
2013-06-05 15:14:42 +03:00
Artur Signell
14ebd0d9c8 Fixed newlines
Change-Id: I3cb7a5d24a17e375365bd5df383d0de516a66812
2013-06-05 09:31:07 +00:00
Marc Englund
08ba394b11 Disable drag&drop when source or target component is disabled, re-implementation of 6.8 fix for #11801
Change-Id: Iacd167ad7075620dae59ff2c7789efaf32521c59
2013-06-05 09:19:07 +00:00
Leif Åstrand
b1ab27a8fe Update broadcaster tutorial code
* Don't need to start a thread for broadcasting with the new UI.access
* Add @Push to the UI
* Use CopyOnWriteArrayList instead of synchronized methods

Change-Id: I63fad6977c1a3e504fc60445c3147b5a241c3132
2013-06-05 09:09:35 +00:00
Leif Åstrand
8d655f617f Move VaadinSession.runPendingAccessTasks to VaadinService (#11964)
Change-Id: Idb893baec693d0aaa3ccba1d3f61a62922e0a1ce
2013-06-05 09:08:48 +00:00
Artur Signell
3c8a3bfcab Merge of properly focus clicked input element in Webkit (#11854, #11297)
Change-Id: I4c313b55966bcbcd31a40bdd0bf561e887822e51
2013-06-05 08:55:12 +00:00
Artur Signell
bd3f97586b Properly disable combobox when parent is disabled (#10734)
Change-Id: I3fc238b684d213f509b136d520e67920cb6ed1a4
2013-06-05 09:52:32 +03:00
Artur Signell
93751c1355 Use correct day names when formatting dates (#6207)
Change-Id: I2010f87ef4f9359cdc95104cc02c83355a8630ed
2013-06-04 16:52:03 +03:00
Leif Åstrand
a82d57ee33 Merge changes from origin/7.0
b1390c5 Don't autoclose PopupView when changing fragment, fixes #10530
158c162 Do not clear combobox text unnecessarily (#10924, #11887)

Change-Id: I5cda623309d9e1b16ad09aa2a388552b5f33ca30
2013-06-04 13:05:43 +03:00
Leif Åstrand
6c36784ad2 Merge commit '34e6c60a5a746c0306c3a84ae8d6c21dfd84d878' into 7.1
#11448 is fixed in a different way for 7.1 because the tooltip event
handling has been slightly refactored.

Change-Id: I50db48ffdce22cdf6598daafcb022fc43ed11cf4
2013-06-03 16:01:52 +03:00
John Ahlroos
84bf5a77e6 Enabled drag & drop to Calendar #11048
Change-Id: I2dcc1f7159a6283cfbc0baafe6cba66530bf0a45
2013-06-03 11:07:19 +00:00
Leif Åstrand
03830aeb46 Ignore style resource that has already been added (#11667)
Change-Id: I828166f69c3ad1ac7e24c00de640c8645d2f2153
2013-06-03 10:12:01 +00:00
Artur Signell
9a3dc4e99c Formatted XML files using defined rules (#11956)
Change-Id: Iecd621321fdde29d2d89d910ba46e9dadee58995
2013-05-30 15:08:00 +00:00
Artur Signell
a5b8209d92 Add primary style name support for ProgressBar/Indicator (#9913)
Change-Id: I3d773640d2f1c8cd1b71c673685afd7059811d16
2013-05-29 13:42:04 +00:00
Leif Åstrand
91182e237f Extract ProgressBar and deprecate ProgressIndicator (#11925)
Change-Id: Id9eaee65762b0dadd59f3e730d3ff11712ab87fe
2013-05-29 13:27:13 +00:00
Artur Signell
a9afca67ba Moved Locale data handling to LocaleService (#11378)
The locale data is now tracked per UI instance and no longer sent in every request.

Change-Id: I4bebd00327da6f8d812181fd76a85eb6196d0010
2013-05-29 12:33:17 +00:00
Artur Signell
84edd1952c Make test independent of browser language (#11940)
Change-Id: Ibcabe18581e4ad021ad1b58919c77fd97f2ad47c
2013-05-29 11:32:49 +00:00
John Ahlroos
35f353274f Fixes current text being overwritten in server update on RTA #11741
If the server happens to update the state of the RTA while a user is
typing then the users text will be replaced by the value on the server. To fix
this the RTA should not update if the value is the same as the one
cached on the client side.

Also moves blur handling and server<->client syncronization to the
connector.

Change-Id: Ia807b1e2aa210eb881e4b9cea0870c0c5a9254b2
2013-05-29 09:21:33 +00:00
Artur Signell
b2137f5d4b Ensure calendar panel is updated when range changes (#11940)
Change-Id: Ic270e5c0aa1b28947b735fcb258bc9629d53cc21
2013-05-28 14:59:27 +00:00
Leif Åstrand
bb7b40487f Remove outdated testing (#11897)
* access is run right away instead of the next time there's a request
from the server.
* Non-inheritable CurrentInstance values are not carried over to access

Change-Id: I6a9f3f2a74647357fe02c43e96878d803cfaf207
2013-05-28 12:43:32 +00:00
Leif Åstrand
2b5ba963af Define how CurrentInstance works with access() (#11897)
Change-Id: I7ca62c5706fd37e7c44ed46703bcdce159b367f4
2013-05-28 14:55:35 +03:00
Leif Åstrand
cb1f63b860 Send window mode changes to the server immediately (#11737)
Change-Id: Icfaa8f97824d8ed92eaee786cee8c92083dc1084
2013-05-28 08:40:46 +00:00
Leif Åstrand
4d7f190b7f Make access() enqueue the runnable if the session is locked (#11897)
Change-Id: If162e81a29bbc982857e2a165a983e161ea837ee
2013-05-28 07:47:48 +00:00
Artur Signell
f7f1e3ece5 Added Java Date to Sql Date converter to better support sql dates (#11224)
Change-Id: I83d8c96a6877ea33b270a1a4a2c6f360a8147518
2013-05-24 15:55:59 +03:00
Artur Signell
8a42394c63 Fixed locators in test (aria div conflict)
Change-Id: Iaeef438de48ef9bda33fb81b0bb7f71d134b17ca
2013-05-23 12:43:38 +00:00
Johannes Dahlström
53a9c1123a Fix TestingPushConnection.init signature (#11673)
Change-Id: I7f5736fd456c21878a0eabdbff46a648932d3516
2013-05-22 13:56:49 +00:00
Marc Englund
b1390c580c Don't autoclose PopupView when changing fragment, fixes #10530
Change-Id: I83607c97db8499c5e3c76e6d4735a93b0754d580
Ticket: 10530
2013-05-21 09:03:31 +00:00
Leif Åstrand
34e6c60a5a Always add tooltip event handlers for Window (#11448)
This is needed to ensure tooltips are closed when moving the mouse
outside the component but still inside the window. In 7.1, this should
instead be implemented by overriding hasTooltip() to return true.

Merge: manual
Change-Id: I48d47474a4e4f0303fd85552612f6960fcdce0a7
2013-05-20 16:45:56 +03:00
Leif Åstrand
20b169873d Merge changes from origin/7.1
145a3e3 Send browser window resizes if there is a listener (#10055)
609acd1 Fixed table height rendering in Android 2.3 #11331
3dd6b44 Show tooltip on focus for DataField for AT (#11865)
4235382 Add ARIA presentation role to FormLayout (#11866)
f1130fa Reset focus after selection from ContextMenu (#11476)
fa0c9f5 Allow to close a context menu with ESC key (#11869)
656eaa5 Tweak TooltipConfiguration test to pass in IE9 and IE10
63dd611 Centers VOverlays in visual viewport on iOS, Android, fixes #11614
5a33d7d Test for #11775
0c8edf1 Avoid marking AbstractField dirty in primitive getters (#11201)
6c64757 Remove JavaDoc dependency to vaadin-server from PageState (#11873)
2f6d5e0 Tooltip accessibility fixes (#11799)
9b6b735 Merge changes from origin/7.0
1205e87 Merge commit 'a52ceb96590333' into 7.1
5a93038 Commit and push everything before a conflicting commit
73a50db Merge changes from origin/7.0

Change-Id: I63b89036a5973ca4ce14a6b3347f15c548e96169
2013-05-17 16:45:25 +03:00
Leif Åstrand
a1abfac2ac Merge changes from origin/7.1
1a6200e Merge #6880 test from 6.8; fix itself is not needed in Vaadin 7
67696f3 SQLContainer.indexOfId() also searches backwards (#11849, #10376)
0a437a5 Revert "Replaced css inject hack in TestUtils with Page.Styles.add() #11798"
611e5f9 Test for #11267 adapted from 6.8.

Change-Id: Idb91964c495a7d46ebf468896ff968a35c417397
2013-05-17 16:45:12 +03:00
Leif Åstrand
4bc1f6e6bb Merge changes from origin/7.1
29eeda5 Merge "Clean up Table popup menu close handler to prevent a memory leak" from 6.8 (#11840)
6d7f5e4 Eliminate unnecessary conversions of option keys
b8c6a15 Clear items in ComboBox only if changed (#10924)
42545ac Fix NPE if there's no query in the URI (#11836)

Change-Id: I211f8f2e0367588da17631219ebf6e69b02ea701
2013-05-17 16:39:02 +03:00
Leif Åstrand
71d2af2a6b Merge changes from origin/7.1
55ea6dc More specific workaround for no rows in TreeTable with pagelenght = 0 (#9203)
dca728c Warn if using old widgetset (#11836)
936439d Verify that tests are run with the expected JRE version (#11835)

Change-Id: I0a19ce453cd4215d3bc48a67494d06ff4fe85e8e
2013-05-17 16:29:59 +03:00
Leif Åstrand
73a50dbf00 Merge changes from origin/7.0
1a6200e Merge #6880 test from 6.8; fix itself is not needed in Vaadin 7
67696f3 SQLContainer.indexOfId() also searches backwards (#11849, #10376)
611e5f9 Test for #11267 adapted from 6.8.
609acd1 Fixed table height rendering in Android 2.3 #11331
63dd611 Centers VOverlays in visual viewport on iOS, Android, fixes #11614
5a33d7d Test for #11775
0c8edf1 Avoid marking AbstractField dirty in primitive getters (#11201)

Change-Id: I7437e0b249c1a95372d6f349e9d6336fb85f08a4
2013-05-17 16:14:27 +03:00
Leif Åstrand
9b6b735752 Merge changes from origin/7.0
55ea6dc More specific workaround for no rows in TreeTable with pagelenght = 0 (#9203)
dca728c Warn if using old widgetset (#11836)
936439d Verify that tests are run with the expected JRE version (#11835)
29eeda5 Merge "Clean up Table popup menu close handler to prevent a memory leak" from 6.8 (#11840)
6d7f5e4 Eliminate unnecessary conversions of option keys
b8c6a15 Clear items in ComboBox only if changed (#10924)
42545ac Fix NPE if there's no query in the URI (#11836)

Change-Id: I2e50ba59b45720a879c6e476333369523a730b9c
2013-05-17 15:10:48 +03:00
Artur Signell
5a33d7df70 Test for #11775
Change-Id: Ic2ff1a3b13e2d74bb9119b8336b8a83e0262833b
2013-05-17 10:15:17 +00:00
Marc Englund
63dd611503 Centers VOverlays in visual viewport on iOS, Android, fixes #11614
Change-Id: I21fc986b2f4253ad0491a49659db793acf77842d
Ticket: 11614
2013-05-17 10:13:23 +00:00
Leif Åstrand
656eaa5958 Tweak TooltipConfiguration test to pass in IE9 and IE10
Intermediate mouse move events are needed to make IE realize the same
element is hovered again

Change-Id: I409722e5b450988b3709a58e34b2eefe79a2be3c
2013-05-17 12:44:34 +03:00
Marc Englund
611e5f9030 Test for #11267 adapted from 6.8.
The problem is not present in 7, but you need to use a slightly different css to acieve the same result.

Change-Id: Iee6907a15fd9b0674dcb490f9110fc762c56deb6
Ticket: 11267
2013-05-15 08:51:24 +00:00
Leif Åstrand
0a437a54af Revert "Replaced css inject hack in TestUtils with Page.Styles.add() #11798"
Removing this change to make the tests behave more nicely until #11848 has been fixed.

This reverts commit f2c2236cf8

Change-Id: I776699f5082273e9c4d11248cc35e7ed6b665873
2013-05-14 14:17:28 +00:00
Henri Sara
67696f3dcb SQLContainer.indexOfId() also searches backwards (#11849, #10376)
Change-Id: Iea3f832cd50314f747b82b774c3be57797f9ac1d
2013-05-14 13:37:25 +00:00
Johannes Dahlström
1a6200e19b Merge #6880 test from 6.8; fix itself is not needed in Vaadin 7
svn changeset:25925/svn branch:6.8
svn changeset:25928/svn branch:6.8

Change-Id: I89e6f30d7d04f9511e26121f860f846bef7ec17d
2013-05-14 13:35:13 +00:00
Leif Åstrand
42545ac81a Fix NPE if there's no query in the URI (#11836)
Change-Id: I8960e5917ffb0988e705599d1fe5e8aacf2654ef
2013-05-14 13:27:42 +00:00
Henri Sara
b8c6a15da8 Clear items in ComboBox only if changed (#10924)
Selection is now sent only as a key, removed redundant attribute on the
item.

Change-Id: I882d4ae17a1dc91f7a55a0b4a94e47c078ffc022
2013-05-14 13:15:22 +00:00
Leif Åstrand
936439dfe4 Verify that tests are run with the expected JRE version (#11835)
Change-Id: I77b48cc646776a452204e2c93954fdd1eea7e4de
2013-05-13 16:38:23 +03:00
Leif Åstrand
dca728c134 Warn if using old widgetset (#11836)
Change-Id: Id7332da3468572f4df55aa7b3fed39ef811fe09d
2013-05-13 14:46:58 +03:00
Leif Åstrand
42d94768bf Merge changes from origin/7.0
7d9f544 Test for #11396 (merged from 6.8 branch). Depends on a blur event so cannot be autotested with TB.
1b18807 Remove pre-loader element after pre-loading, fixes #10863
ce9c818 Instead of applying workaround to the root panel, apply it to the sub window content element instead to prevent scrolling of the document when a sub window is removed. #11713 (#10776)
3f5d022 Liferay 6.2 compatibility (#11751)
ffd1c1b Don't ignore child component margins in AbstractOrderedLayout (#11553)
62ae5e1 More verbose output from running Jetty
21d9b67 Add a large number of debug calls to VFilterSelect (disabled by default)
bdb7931 Merge test for #11623 to 7.0.
19e27a1 Move suggestion popup width calculation from connector to VFilterSelect

Change-Id: I2d980126599e55fa5e4f6ec523dca16ba54107b5
2013-05-10 16:53:33 +03:00
Johannes Dahlström
bdb793187c Merge test for #11623 to 7.0.
The fix itself is not required due to the changed style name handling.

svn changeset:25902/svn branch:6.8
svn changeset:25903/svn branch:6.8

Change-Id: I95a9adbcac82236017369003765735bbaacfe980
2013-05-10 13:27:29 +00:00
Leif Åstrand
62ae5e19a1 More verbose output from running Jetty
This is an attempt to find what it is that sometimes seems to cause
Jetty to terminate before all the tests have run.

Change-Id: Id33e42c49d7528034b2859294e52111df218763a
2013-05-10 10:09:54 +00:00
Johannes Dahlström
ffd1c1bff5 Don't ignore child component margins in AbstractOrderedLayout (#11553)
Change-Id: I89d8364b97bfe7d072cc7e5221b35ab3cdb3c58b
2013-05-10 09:58:59 +00:00
Leif Åstrand
762c924a8b Update test to work with the new debug window
Change-Id: I9a1f7791faa3bbd8aae13c0d21c505570dfa131b
2013-05-08 13:14:46 +00:00
Marc Englund
1b188073c4 Remove pre-loader element after pre-loading, fixes #10863
Change-Id: Ibd2009315aadb25e574c82f3b4b54c501d9b1395
Ticket: 10863
2013-05-08 09:31:09 +03:00
Leif Åstrand
571792ed9d Remove old widget hierarchy hack that caused problems (#11752)
Change-Id: Icd66755512a2c1ab490e58f80389ed35966d3e3b
2013-05-07 12:59:11 +00:00
John Ahlroos
f2c2236cf8 Replaced css inject hack in TestUtils with Page.Styles.add() #11798
Change-Id: Ifb43fd1d2226756e104e2f5955e23151100e9357
2013-05-07 14:57:03 +03:00
John Ahlroos
9bd7c2bbec Fixed order of tests in LayoutTesterApplication #11796
Change-Id: I9fc1224df33a66f065594de4ae09a027ddaaa895
2013-05-07 13:01:46 +03:00
Johannes Dahlström
087756f1a6 Allow setting push mode in UI.init (#11739)
Change-Id: Ied24bc42a25800033351fcbacdc5fc5e0be8eda1
2013-05-02 11:29:34 +00:00
Leif Åstrand
80d96608dd Rename runSafely() to access() (#11756)
Change-Id: I640244732fb561d9f55da58f8ba94fd02875c191
2013-05-02 14:05:16 +03:00
Artur Signell
9589abe8ee Made test work also when current month is not April 2013
Change-Id: I4998dd4e146d5520c814e78e3456b2d37e446cef
2013-05-02 09:17:25 +03:00
Artur Signell
b6844e0985 Removed changing session id from test
Change-Id: I851df9f3b3743263267b4a434f846fcc789997e0
2013-05-02 08:42:50 +03:00
Henri Sara
b43525e117 Add Jetty to compilation class path of uitest WAR (#11688)
Change-Id: I0f185e9bb1f91f7eca7e93f6a42c413be48fdeec
2013-04-30 13:02:46 +03:00
Henri Sara
329b899bc1 Remove Jetty JARs from uitest WAR (related to #11688)
Otherwise, Atmosphere may auto-detect Jetty at least on some
other servers.

Change-Id: I12552af49bb07ee84705b785abb2bef53f9278ed
2013-04-30 11:37:41 +03:00
Artur Signell
1f08e16589 Fixed test (gwt-id-X not stable)
Change-Id: I4def9e78d3985d6f1c28fe7eb816120615cec057
2013-04-29 11:57:29 +00:00
Artur Signell
fcad91d2c8 Added workaround for #11737 to test
Change-Id: I9541abb5835c6851c3eea0d7567b4a848dc605d0
2013-04-29 11:54:21 +00:00
Artur Signell
235d0200c0 Fixed test (gwt-id-X not stable)
Change-Id: I5509c39e1461453d6c75e9fce477e2c202a986c2
2013-04-29 11:53:33 +00:00
Henri Sara
7d9f544d58 Test for #11396 (merged from 6.8 branch).
Depends on a blur event so cannot be autotested with TB.

svn changeset:25882/svn branch:6.8

Change-Id: I2db788e60397162a29f7802f772609e65a832d3f
2013-04-29 13:44:18 +03:00
Artur Signell
97e5714b0a Fixed test (maximize button added to DOM)
Change-Id: Id4319afc6eaef6f0afc65400d1208937c89fabbc
2013-04-29 12:31:13 +03:00
Artur Signell
57d9f9d801 Fixed test (gwt-id-X not stable)
Change-Id: I6da73c4dcbe61573b21a54423ba0f86d41ded607
2013-04-29 12:30:52 +03:00
Artur Signell
d8e0a553f4 Fixed last button in test to actually do something
Change-Id: I78657388ce43539e658ffbb23e995c8a20fe39d5
2013-04-26 13:49:26 +03:00
Artur Signell
c02a2c43e0 Support URL parameters for automatically configuring and running test
Change-Id: Icb7c7fda45fe27bb840a9493c519060a7cea2503
2013-04-26 09:06:06 +03:00
Artur Signell
b4218b8668 Ensure RPC are not delivered to closed UIs (#11714)
Change-Id: I7fadaa5d5190c36cd83a06249d7ae1d4475724e0
2013-04-26 05:52:06 +00:00
Artur Signell
ecc91e1b7b Close push connection when UI is detached (#11596)
Change-Id: Ibfc5923406b386786ae399b7f53cea47ac885f48
2013-04-26 05:51:41 +00:00
Leif Åstrand
220b1150ca Global code clean up
Change-Id: I380d6afbc6b30d817ea6cca3d6b4634ab12522b1
2013-04-25 14:01:27 +03:00
michaelvogt
7900166360 TestBench test for tree (#11612)
Together with fix for tree to pass the test

Change-Id: I3d6bead220ab61b171a267d15bda2570f7351d49
2013-04-24 07:01:08 +00:00
Artur Signell
7e55349929 Updated test as there is no longer a minimum height for a Window
Change-Id: I171ec24350c96a9b662b0407643743bad3793921
2013-04-23 15:37:55 +00:00
Artur Signell
5486eb531a Made test work in all browsers
Change-Id: Id3b1edeb121b353fa5c83bbef052fbde2d1e8ae4
2013-04-23 15:37:18 +00:00
Artur Signell
437c60c4e8 Fixed screenshot identifiers
Change-Id: I7b1ca21ec7fa89f3c725151a7d3dea0493614f93
2013-04-23 17:07:27 +03:00
John Ahlroos
ccec229966 Integration tests should be run with Firefox 17 ESR instead of Firefox 11 #11494"
Change-Id: I232cc1ad329a1ac00ff23b6c629418838af6102c
2013-04-23 13:20:34 +00:00
Artur Signell
ed79188e0d Merge commit 'feb9a8c3510afc76c079fafcd9e507205bde139c'
Conflicts:
	WebContent/release-notes.html
	theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java

Change-Id: Iad9ee95b2f399ff93f0e426a0810b18d923f8ff6
2013-04-23 14:54:48 +03:00
Artur Signell
49ac6f4da0 Sources for the "Broadcasting messages to other users" tutorial
Change-Id: I1408d2b4c33bb51393867b2a089035699a5af756
2013-04-23 11:30:14 +00:00
Artur Signell
c844d94b81 Renamed loading indicator states to 'first','second','third' (#11668)
Change-Id: I127070e2014bebf8aa09778b2dffee5481845ab4
2013-04-23 07:46:49 +00:00
Artur Signell
f596fea90a Renamed UI.getLoadingIndicator -> getLoadingIndicatorConfiguration (#11665)
Change-Id: If80abf821abd9c6c025e49b249339eb20d56f7ce
2013-04-23 07:46:25 +00:00