]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
10 years agoSass, the handling of selectors containing multiple #-symbols (#12832)
Mika Murtojarvi [Tue, 5 Nov 2013 09:20:21 +0000 (11:20 +0200)]
Sass, the handling of selectors containing multiple #-symbols (#12832)

After the first commit, a test case has been downloaded and added to
w3ctests. The indentation of a production was also changed in an
attempt to more clearly express its meaning.

Change-Id: I32356d1fcbafada982a5d3e22f0821e554cc6c8a

10 years agoChanged v-customcomponent overflow to visible (#12482)
Juho Nurminen [Tue, 29 Oct 2013 15:26:22 +0000 (17:26 +0200)]
Changed v-customcomponent overflow to visible (#12482)

Change-Id: I1e82337e719d16abce2c7f2060162af81f9192ea

10 years agoAdded jsoup as a testing dependency (#12735)
joheriks [Wed, 30 Oct 2013 15:37:31 +0000 (17:37 +0200)]
Added jsoup as a testing dependency (#12735)

Change-Id: I1d77e8f1f644b35dc435b00aa96d0cdf34077383

10 years agoImport W3C CSS tests to validate CSS parsing (#12735)
joheriks [Tue, 22 Oct 2013 14:30:31 +0000 (17:30 +0300)]
Import W3C CSS tests to validate CSS parsing (#12735)

Downloaded W3C conformance tests for CSS 2.1 and CSS 3 (selectors),
extracted all CSS (style tags, inline styles, and linked stylesheets),
Since each CSS is valid SCSS, the parser should accept them. Since these
are browser tests, some include CSS fragments which are intentionally
malformed. These are excluded via explicit exclusion lists.

Change-Id: Ib3347e1c559908f3bdd12817e55985e85f0009a2

10 years agoForces small delay before showing accessible tooltip on focus (#12849)
Jarno Rantala [Mon, 28 Oct 2013 12:53:54 +0000 (14:53 +0200)]
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

10 years agoLet UI fire PollEvents (#12466)
Henrik Paul [Mon, 9 Sep 2013 13:31:20 +0000 (16:31 +0300)]
Let UI fire PollEvents (#12466)

Change-Id: I7eb5e407b6822f5b3ac8e103ba7c9f676c51648f

10 years agoremoved obsolete field "width" from VNativeButton. (#12825)
Fabian Lange [Tue, 22 Oct 2013 22:06:24 +0000 (00:06 +0200)]
removed obsolete field "width" from VNativeButton. (#12825)

The field width of VNativeButton was written when setWidth() was invoked,
but it was never read anywhere. Removing it saves cpu time and memory.
This field was not marked as internal and it was protected, if anybody needs
it, they can easily add it to their classes.

Change-Id: I9f2bb9b5426b25ba36b3414cc70d2298e515ac23

10 years agoMerge changes from origin/7.1
Leif Åstrand [Tue, 22 Oct 2013 06:12:59 +0000 (09:12 +0300)]
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

10 years agoRevert broken fix and test (#12446)
Johannes Dahlström [Mon, 21 Oct 2013 13:16:37 +0000 (16:16 +0300)]
Revert broken fix and test (#12446)

The timeoutInterval variable needs to be part of per-UI state for the
code to work correctly. Storing it in a servlet-global MetadataWriter
instance is both semantically wrong and a race condition.

Also, the test currently throws NPE if assertions are enabled.

This reverts commit f595d057951523baf35a797692376dfa5de0bc8d.

Change-Id: Ia6d1383b2c112b86ce60c75a3ebb9f10da545d4a

10 years agoFixed focus issue in TableMoveFocusWithSelectionTest (#12540)
John Ahlroos [Mon, 21 Oct 2013 13:12:09 +0000 (16:12 +0300)]
Fixed focus issue in TableMoveFocusWithSelectionTest (#12540)

Change-Id: I40dbc81b6aa4eaf0a235ae2cc7f04025011445c9

10 years agoTicket #12727 - Panels get unnecessary scroll bars in WebKit when content is 100...
Felype Santiago Ferreira [Fri, 18 Oct 2013 07:44:35 +0000 (10:44 +0300)]
Ticket #12727 - Panels get unnecessary scroll bars in WebKit when content is 100% wide.

Change-Id: Ia34e7c3ce755556460d237fb3489501274ced39f

10 years agoSass variables can now start with underscore (#12716)
joheriks [Thu, 17 Oct 2013 08:16:45 +0000 (11:16 +0300)]
Sass variables can now start with underscore (#12716)

Change-Id: I1c6cb12113f2462f96e8fcfc0749d3f62fd1998c

10 years agoAdded more exception handling to PushHandler (#12578, #11882)
Marc Englund [Wed, 9 Oct 2013 12:31:06 +0000 (15:31 +0300)]
Added more exception handling to PushHandler (#12578, #11882)

PushHandler now catches Exception and calls ErrorHandler more.

Change-Id: I7032c00f717b1dae34f4352abc035b1b398c7cfc

11 years agoMerge commit 'd461fb438f62b38d2082b41b0a3c7a1189927c3d'
Leif Åstrand [Fri, 18 Oct 2013 14:21:14 +0000 (17:21 +0300)]
Merge commit 'd461fb438f62b38d2082b41b0a3c7a1189927c3d'

Conflicts:
server/src/com/vaadin/server/VaadinService.java

Change-Id: Ieac9cce1d3a0351d21d433e523f2ab8e97550f50

11 years agoUse alternate icon text for NativeButton (#12780)
Artur Signell [Mon, 14 Oct 2013 19:02:28 +0000 (22:02 +0300)]
Use alternate icon text for NativeButton (#12780)

Change-Id: I1390a3f5914977895c4111d44844c7be8ed46a61

11 years agoMerge changes from origin/7.1
Henrik Paul [Fri, 18 Oct 2013 12:09:43 +0000 (15:09 +0300)]
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

11 years agoMerge commit 'ebdc3652764e8ec2ce292879d459a8d0c6c2d2e3'
Henrik Paul [Fri, 18 Oct 2013 12:06:03 +0000 (15:06 +0300)]
Merge commit 'ebdc3652764e8ec2ce292879d459a8d0c6c2d2e3'

Conflicts:
server/src/com/vaadin/server/VaadinSession.java

Change-Id: I51383060a95354b7ffbcc5b12683c1d1a817b8bf

11 years agoFix serialization issue (#12703)
Artur Signell [Fri, 18 Oct 2013 10:00:31 +0000 (13:00 +0300)]
Fix serialization issue (#12703)

Change-Id: Ibdced8cdc3200ccfef2750e32fc8bf8dc544f1ae

11 years agoAdd more hax to make test work with new Atmosphere JS (#12241)
Artur Signell [Thu, 17 Oct 2013 12:46:40 +0000 (15:46 +0300)]
Add more hax to make test work with new Atmosphere JS (#12241)

Change-Id: Id75cabd402e243ed4bec7da61771554f2df4fbf6

11 years agoFixed javadoc
Artur Signell [Thu, 17 Oct 2013 08:25:50 +0000 (11:25 +0300)]
Fixed javadoc

Change-Id: I0c54a5d033d53efd2c82a1dc03f9b6fda423e8ce

11 years agoResolve concurrency issue in running TB3 tests
Artur Signell [Thu, 17 Oct 2013 12:21:09 +0000 (15:21 +0300)]
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

11 years agoRemove unused test super class (#12786)
Artur Signell [Thu, 17 Oct 2013 08:19:06 +0000 (11:19 +0300)]
Remove unused test super class (#12786)

Change-Id: I7a56c9da10557485d5562eaf8d9197bfff4bc849

11 years agoFix compilation error
Artur Signell [Wed, 16 Oct 2013 14:02:42 +0000 (17:02 +0300)]
Fix compilation error

Change-Id: I0068b68ef29c2b3f669869cb4bf427567f71c8b2

11 years agoDisable automated testing on Opera until issues are resolved (#12487, #12367, #12800)
Artur Signell [Wed, 16 Oct 2013 13:33:54 +0000 (16:33 +0300)]
Disable automated testing on Opera until issues are resolved (#12487, #12367, #12800)

Change-Id: Id90abf6b2241aeb4f4e83551647169512a93401b

11 years agoReverted button click() logic check (#12743)
Artur Signell [Wed, 16 Oct 2013 12:31:15 +0000 (15:31 +0300)]
Reverted button click() logic check (#12743)

The isConnectorEnabled() method should only to be used to check if the
client side is allowed to interact with the button, not on the server side
(isConnectorEnabled() is false if the component is not attached to a UI)

Change-Id: I56cd93a1041432199337148f5c4a1449a825c5bc

11 years agoSkip compilation of TB2 tests if tests.tb2.skip is set
Artur Signell [Wed, 16 Oct 2013 11:48:57 +0000 (14:48 +0300)]
Skip compilation of TB2 tests if tests.tb2.skip is set

Change-Id: I647fb48059372b497c77580d252c9622d259d3eb

11 years agoTest for pushing large chunks of data (#12567)
Artur Signell [Fri, 13 Sep 2013 06:18:47 +0000 (09:18 +0300)]
Test for pushing large chunks of data (#12567)

Change-Id: I846b8417f69a0dca7cda2c3851148896d22cabcc

11 years agoDisable fallback in a way compatible with Atmosphere JS 2.0.3 (#12241)
Artur Signell [Wed, 16 Oct 2013 11:09:45 +0000 (14:09 +0300)]
Disable fallback in a way compatible with Atmosphere JS 2.0.3 (#12241)

Change-Id: I4023b50038288e39559cb8542ed59be807274d40

11 years agoHandle numbers in the same way if they do not have a unit (#12732)
Artur Signell [Tue, 15 Oct 2013 19:50:47 +0000 (22:50 +0300)]
Handle numbers in the same way if they do not have a unit (#12732)

Change-Id: Ic9dba337ffb209bf73ab427fa3a39e542e645c08

11 years agoAdd sub directory support to sass test scanner (#12790)
Artur Signell [Tue, 15 Oct 2013 18:49:25 +0000 (21:49 +0300)]
Add sub directory support to sass test scanner (#12790)

Exclude partial scss files (starting with _)
Add new lines to normalized css for easier comparison

Change-Id: I2bfb796b293cb0b578c3c5c56aacffe7c1514b02

11 years agoAdded ItemSetAddEvent and ItemSetRemoveEvent (#2794)
Jarno Rantala [Thu, 10 Oct 2013 10:08:09 +0000 (13:08 +0300)]
Added ItemSetAddEvent and ItemSetRemoveEvent (#2794)

The events inherits the ItemSetChangedEvent and they contain more information about the added/removed items. These events are fired
from AbstractInMemoryContainer.

Change-Id: I0a7ddfd38fd01fa385479efc953ab444d1ecdf4c

11 years agoAdded liferay module for building liferay.zip #12748
John Ahlroos [Fri, 11 Oct 2013 12:41:49 +0000 (15:41 +0300)]
Added liferay module for building liferay.zip #12748

Change-Id: I16c7ba25387b3e1ad9a56e800c49755306b44890

11 years agoAllow running tests locally by overriding runLocally() (#12786)
Artur Signell [Mon, 14 Oct 2013 19:05:40 +0000 (22:05 +0300)]
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

11 years agoCreated constants for tested browser versions (#12786)
Artur Signell [Tue, 15 Oct 2013 14:01:32 +0000 (17:01 +0300)]
Created constants for tested browser versions (#12786)

Change-Id: I8f349bb3c338bb7e9073944891436edac5ee1bb1

11 years agoFile missing from method name collision fix (#12710)
Artur Signell [Tue, 15 Oct 2013 13:28:32 +0000 (16:28 +0300)]
File missing from method name collision fix (#12710)

Change-Id: I90b2960cc8664164962be524f41bfd3b24b933d3

11 years agoValidate that the connector is enabled before triggering actions for it (#12743)
Artur Signell [Tue, 15 Oct 2013 06:33:43 +0000 (09:33 +0300)]
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

11 years agoFixed swallower access. Now error handler logs exceptions. (#12703)
Felype Santiago Ferreira [Tue, 8 Oct 2013 13:04:32 +0000 (16:04 +0300)]
Fixed swallower access. Now error handler logs exceptions. (#12703)

Change-Id: If8fe00e10c7ec56cbd8753ff88d4816613a340f2

11 years agoConverted test to use screenshots due to IE8 issues with TB dnd commands
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.

Change-Id: Ia31054e496064695708ed2392e83aa53056d2b5b

11 years agoAllow skipping TB2/TB3 tests using tests.tb2/tb3.skip
Artur Signell [Fri, 11 Oct 2013 17:31:48 +0000 (20:31 +0300)]
Allow skipping TB2/TB3 tests using tests.tb2/tb3.skip

Change-Id: If9f16657731fa5ea06e61bf9702abe385e4fc7a1

11 years agoDisable unit cache to avoid compilation issues when switching between branches
Artur Signell [Mon, 14 Oct 2013 18:57:08 +0000 (21:57 +0300)]
Disable unit cache to avoid compilation issues when switching between branches

Change-Id: Iac8a3cdc4b17c031108c08cf3e8cd8769bc14961

11 years agoUpdate to atmosphere javascript 2.0.3-vaadin1 (#12241, #12127)
Artur Signell [Fri, 11 Oct 2013 13:28:32 +0000 (16:28 +0300)]
Update to atmosphere javascript 2.0.3-vaadin1 (#12241, #12127)

Build vaadinPush.js from the released version instead of having a separate
javascript version in the project

Change-Id: I37aac284216c8ec6efd03c242e639e88854f11fd

11 years agoFix whitespace after including a mixin (#12715)
Mika Murtojarvi [Mon, 14 Oct 2013 12:16:40 +0000 (15:16 +0300)]
Fix whitespace after including a mixin (#12715)

Change-Id: I9b25968cc140a9443820a26eadb6b5a1507ad7ec

11 years agoAlso hide shim iframe of VOverlay on setVisible(false) (#12731)
Henri Sara [Wed, 9 Oct 2013 09:31:00 +0000 (12:31 +0300)]
Also hide shim iframe of VOverlay on setVisible(false) (#12731)

Change-Id: I48258a24bb14bbe79c1e11c9bda4a18b120b2a42

11 years agoHandle ClientMethodInvocation serialization with JSONArray as parameter
Pekka Hyvönen [Fri, 11 Oct 2013 09:38:53 +0000 (12:38 +0300)]
Handle ClientMethodInvocation serialization with JSONArray as parameter
(#12532)

Change-Id: I67306d2b9d151614f72455063b0d01423aeed4c1

11 years agoUpdated shared-deps dependency to 1.0.3 (#12421)
John Ahlroos [Fri, 11 Oct 2013 08:33:16 +0000 (11:33 +0300)]
Updated shared-deps dependency to 1.0.3 (#12421)

Change-Id: I4087b1225c5825582628d5322711e806104efca0

11 years agoConverted broken test to TB3
Artur Signell [Fri, 27 Sep 2013 10:16:45 +0000 (13:16 +0300)]
Converted broken test to TB3

Change-Id: Ic30db7584a65c944eb45c576e12b7671399d1965

11 years agoMake the various Writers member fields instead of local variables (#12446)
Johannes Dahlström [Thu, 12 Sep 2013 13:07:59 +0000 (16:07 +0300)]
Make the various Writers member fields instead of local variables (#12446)

Change-Id: I9ca101edf6df41702b27635da9f749bdac5bf5f4

11 years agoMerge changes from origin/7.1
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

Change-Id: Ie4557c2003f9cbc121cf287cf6f41bc5eaefe929

11 years agoNo-op merge from origin/7.1
Leif Åstrand [Thu, 10 Oct 2013 09:49:56 +0000 (12:49 +0300)]
No-op merge from origin/7.1

633b4e8 Prepare for Atmosphere Javascript 2.0 (#12241)

Change-Id: I30b90ee145985c2779472854b2f6244704a20f12

11 years agoMerge changes from origin/7.1
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)

Change-Id: I73bd688d390bcec9ea3c92a2ede4cad3c9daf7dc

11 years agoMerge commit '478acb8e9aa7505cc6eacf219e87202191810a39'
Juho Nurminen [Thu, 10 Oct 2013 08:56:25 +0000 (11:56 +0300)]
Merge commit '478acb8e9aa7505cc6eacf219e87202191810a39'

Conflicts:
client/src/com/vaadin/client/ui/VTabsheet.java

Change-Id: If6a8663ad0c52789c1e01e750acbc343364d4767

11 years agoOnly fetch rows if there are some (#11189)
Matti Tahvonen [Fri, 4 Oct 2013 12:41:06 +0000 (15:41 +0300)]
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

11 years agoTable column header dnd ghost element location and styles (#12714)
Pekka Hyvönen [Wed, 9 Oct 2013 09:38:12 +0000 (12:38 +0300)]
Table column header dnd ghost element location and styles (#12714)

Change-Id: I1c5c0fee61e2a47f0f9c8fdfbbd48f49171135b6

11 years agoadded small pause to make test pass
Matti Tahvonen [Wed, 9 Oct 2013 11:37:57 +0000 (14:37 +0300)]
added small pause to make test pass

Change-Id: I2e58a7444e5a2740f81409e6f248e0acedcead54

11 years agoFocus selected row in Table #12540
John Ahlroos [Tue, 1 Oct 2013 13:55:39 +0000 (16:55 +0300)]
Focus selected row in Table #12540

Change-Id: Ic920f9cb11840a456a7c49746317eaccde1e1406

11 years agoFixed compilation error in TB3 test
John Ahlroos [Wed, 9 Oct 2013 06:59:03 +0000 (09:59 +0300)]
Fixed compilation error in TB3 test

Change-Id: I62e246995879733393af3275778e9201cd970adb

11 years agoAvoid obsolete calendar panel renderings to avoid various NPEs.
Matti Tahvonen [Fri, 27 Sep 2013 12:07:48 +0000 (15:07 +0300)]
Avoid obsolete calendar panel renderings to avoid various NPEs.
(#12504,#12667)

Change-Id: Ie0a9a8d9913116520b766062ebabdb771a76d1b6

11 years agoUpdatet servlet tests to follow the same *Test naming convention
Artur Signell [Mon, 7 Oct 2013 17:34:23 +0000 (20:34 +0300)]
Updatet servlet tests to follow the same *Test naming convention

Change-Id: I3c718232364f5ca7cce7131fa7685e4a2b833120

11 years agoAllow configuring deployment port for TB3 tests
John Ahlroos [Tue, 8 Oct 2013 12:54:55 +0000 (15:54 +0300)]
Allow configuring deployment port for TB3 tests

Change-Id: Iee0827d1e65dcbc1fc6c71701b80f355285b6902

11 years agoRecreate transient pendingAccessQueue in readObject() (#12456)
Johannes Dahlström [Tue, 24 Sep 2013 13:08:08 +0000 (16:08 +0300)]
Recreate transient pendingAccessQueue in readObject() (#12456)

This prevents a race condition in getPendingAccessQueue().

Change-Id: I1b8d013119e5963ed6083b7dd17afccd3a915e42

11 years agoUse class name and not enclosing class for screenshot name
Artur Signell [Mon, 7 Oct 2013 17:17:40 +0000 (20:17 +0300)]
Use class name and not enclosing class for screenshot name

Change-Id: I8e9e0487f4354ee0523b5d3c0c016a002c395107

11 years agoMakes test stable and adds helper comparison methods
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

Change-Id: I5ce1681e35d9c1de02a83b38528f17ee705331d7

11 years agoUpdate TB3+ convention to use a separate *Test file
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

Change-Id: Ifc0180b377284bbd029202494ad194d324f8213b

11 years agoMark as deprecated to discourage usage for new tests
Artur Signell [Mon, 7 Oct 2013 14:56:31 +0000 (17:56 +0300)]
Mark as deprecated to discourage usage for new tests

Change-Id: I87d417da5b6b8cf9753604944dff74f8f39c321a

11 years agoFixed incorrect logging (#12241)
Artur Signell [Mon, 7 Oct 2013 15:53:53 +0000 (18:53 +0300)]
Fixed incorrect logging (#12241)

Change-Id: Icfe32a26f9069b7c5ed8160dba93b806754acf58

11 years agoConverted push test to TB3 (#12226, #12522)
Artur Signell [Fri, 27 Sep 2013 10:44:00 +0000 (13:44 +0300)]
Converted push test to TB3 (#12226, #12522)

Change-Id: Ia12b35ef6beed0bf2f534f2c9505b22ce7b3c7c3

11 years agoRebuild OptionGroup on HtmlContentAllowed/Multiselect changes (#10451)
Artem Godin [Mon, 7 Oct 2013 14:19:57 +0000 (17:19 +0300)]
Rebuild OptionGroup on HtmlContentAllowed/Multiselect changes (#10451)

Fixes regression with HtmlContent in Safari 5 and changing of
Multiselect properties on the fly.

Change-Id: I4a3820eba8d1c06460777340ea36b1df31b38983

11 years agoActually open integration test.
Artur Signell [Mon, 7 Oct 2013 17:16:15 +0000 (20:16 +0300)]
Actually open integration test.

Regression since the change in test behavior (no longer automatically
opens test URL)

Change-Id: I1c4efc9b5b5c8a28818afa6f91af1a8b159354b4

11 years agoRun tests on Tomcat 8 (#12326)
Artur Signell [Mon, 7 Oct 2013 17:49:18 +0000 (20:49 +0300)]
Run tests on Tomcat 8 (#12326)

Change-Id: I99d91f16c5ad2dce6fb93f2862913b23518410d7

11 years agoFixed method name collision with new GWT Timer method (#12710)
Artur Signell [Mon, 7 Oct 2013 14:00:47 +0000 (17:00 +0300)]
Fixed method name collision with new GWT Timer method (#12710)

Change-Id: I71c62bb0c7fde101ad7b1315c277a2727bbc9e2b

11 years agoFixed Table range selection IE regression #12407
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.

Change-Id: Iaa91cc6a3a310aedc80c4c2475fa8e94a30a5563

11 years agoFix NullPointerException in logger when message is null (#12588)
Artem Godin [Thu, 3 Oct 2013 12:47:08 +0000 (15:47 +0300)]
Fix NullPointerException in logger when message is null (#12588)

LogSection.publish and VConsole.log/VConsole.error methods now replace
null message with an empty string ("")

Change-Id: I735b51bce971ababe2557f1b6c317c01066bc03c

11 years agoPrepare for Atmosphere Javascript 2.0 (#12241)
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

11 years agoFixes #12564 (HorizontalLayout breaks w/ alignment & error indicator)
Matti Tahvonen [Fri, 27 Sep 2013 16:00:53 +0000 (19:00 +0300)]
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

11 years agoFix typo in automerge script
Leif Åstrand [Fri, 4 Oct 2013 09:02:13 +0000 (12:02 +0300)]
Fix typo in automerge script

Change-Id: I41ca4f5cd21b85ead3ae2888d5c1b94cb40f1bd8

11 years agoMerge changes from origin/7.1
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)

Change-Id: Ia8281fb81d371dd4813371d62890a1ed34990d35

11 years agoFix OptionGroup elements losing focus on value change (#10451)
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.

Change-Id: I1245b2ff30ce1932614c1eac37bd0131cbd29dd7

11 years agoPorted regression fixes in 6.8 for #12407 to 7.1 branch
John Ahlroos [Wed, 2 Oct 2013 13:33:41 +0000 (16:33 +0300)]
Ported regression fixes in 6.8 for #12407 to 7.1 branch

Change-Id: Ie46ab97fc1ff89dd241eec9182ed0f92164b754d

11 years agoLink no longer implements LegacyComponent (#10015)
joheriks [Sun, 29 Sep 2013 15:22:56 +0000 (18:22 +0300)]
Link no longer implements LegacyComponent (#10015)

Change-Id: Iaadc82384d15704017077be282767141529889f2

11 years agoOnly print testbench failure TeamCity messages when running in TC
John Ahlroos [Mon, 30 Sep 2013 11:45:43 +0000 (14:45 +0300)]
Only print testbench failure TeamCity messages when running in TC

Change-Id: Ifa04ce512743bc8ccddea0bdca7b82cceaff150e

11 years agoDo not try to focus invisible components which not present in UIDL #12654
Yuriy Artamonov [Thu, 26 Sep 2013 07:37:42 +0000 (11:37 +0400)]
Do not try to focus invisible components which not present in UIDL #12654

Change-Id: I365940e72d97426eceb408878bc8b24d7655de7c

11 years agoreduce reflow and calculation in VOverlay (#12566)
Fabian Lange [Thu, 12 Sep 2013 14:20:17 +0000 (16:20 +0200)]
reduce reflow and calculation in VOverlay (#12566)

the actual position of VOverlay is only required when a shim or shadow is used.
Otherwise the calculation of its position causes unnecessary reflows.

Change-Id: Id3915fe55c6b477f5d3ff01ee3a505014303d6d6

11 years agoOnly publish files actually produced by this test/browser
Artur Signell [Wed, 2 Oct 2013 06:39:34 +0000 (09:39 +0300)]
Only publish files actually produced by this test/browser

Change-Id: If4f66157791d642801c0100bb4bc0f293efe76cc

11 years agoUpdate slider client-side state object on value change (#12676)
Juho Nurminen [Tue, 1 Oct 2013 12:14:28 +0000 (15:14 +0300)]
Update slider client-side state object on value change (#12676)

Change-Id: Ief93d845e5498388072e05a0faff7ef2d29f1c77

11 years agoCheck modifiers when handling TabSheet hot keys. Fixes #12178
Juho Nurminen [Mon, 23 Sep 2013 10:17:41 +0000 (13:17 +0300)]
Check modifiers when handling TabSheet hot keys. Fixes #12178

Change-Id: I685dbf2c22e3b160632b811652bf3ab52d3ef6dc

11 years agoMoved test class to appropriate source folder (#12337)
Henrik Paul [Tue, 1 Oct 2013 07:27:12 +0000 (10:27 +0300)]
Moved test class to appropriate source folder (#12337)

Change-Id: I01b25109a487bd0b9ff6a7903564ee5c867d6a33

11 years agoRefactor how TB3 tests are written (#12572)
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

Change-Id: Ie70996fcbdb2769fcd4ec56cb878e20198e02bf6

11 years agoPrefixes GET parameters in Liferay with portlet namespace #12602
John Ahlroos [Mon, 23 Sep 2013 13:51:42 +0000 (16:51 +0300)]
Prefixes GET parameters in Liferay with portlet namespace #12602

Change-Id: I9939a7af83482e136ed0d146accdeec0cd9f10ea

11 years agoAdded user agent for IE 11 (#12631)
Artur Signell [Fri, 27 Sep 2013 10:12:35 +0000 (13:12 +0300)]
Added user agent for IE 11 (#12631)

Change-Id: I1ba1791c04a3d1685e1bc482d2b04a748e19f012

11 years agoPublish error artifacts immediatly in TeamCity
John Ahlroos [Wed, 25 Sep 2013 10:51:23 +0000 (13:51 +0300)]
Publish error artifacts immediatly in TeamCity

Change-Id: I69cb2208b7f6b3263ddb25fa26eebebcc6f9a7c3

11 years agoFixes normal drag and drop events (regression since 7.1) and html5 style
Matti Tahvonen [Thu, 26 Sep 2013 12:59:55 +0000 (15:59 +0300)]
Fixes normal drag and drop events (regression since 7.1) and html5 style
D&D in IE10 (#12339)

Change-Id: Ied4504406ebbeab6ff464fb239f7b3f5987fbbd9

11 years agoMerge changes from origin/7.1
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)

Change-Id: Idb4389aac388b728490a4ffd57d30aee20ea9fe8

11 years agoCompass test cases (#11776)
Artur Signell [Mon, 2 Sep 2013 19:10:39 +0000 (22:10 +0300)]
Compass test cases (#11776)

Change-Id: Icf460eec606196bcff9b329fe7055bce6ed82c5f

11 years agoAdd support for partial imports (#11776)
Artur Signell [Mon, 2 Sep 2013 20:57:30 +0000 (23:57 +0300)]
Add support for partial imports (#11776)

Change-Id: I5696e63b618294b4e6bbd3b0e407befddc5aa8a8

11 years agoLimit the number of tests run concurrently (#12572)
Artur Signell [Tue, 24 Sep 2013 15:19:45 +0000 (18:19 +0300)]
Limit the number of tests run concurrently (#12572)

Change-Id: I015e92ccc9be963543032c14dd9d051bcba58e53

11 years agoRefactor how base paths are determined when resolving (#11776)
Artur Signell [Mon, 2 Sep 2013 20:49:10 +0000 (23:49 +0300)]
Refactor how base paths are determined when resolving (#11776)

Change-Id: Ibf07046280d5f61df21681310ec28993b6daf50f

11 years agoMoved import resolving logic to resolvers (#11776)
Artur Signell [Mon, 2 Sep 2013 19:37:59 +0000 (22:37 +0300)]
Moved import resolving logic to resolvers (#11776)

* made resolvers style sheet specific

Change-Id: Iab7e755d9e3214896c100dfde10727a1353c4354

11 years agoFixes issue with Table not scrolling completely to the end #12651
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.

Change-Id: I47df33c75aa9b7e4f9a5f4bd5daeb301028517e8

11 years agoConverted TB2 push tests to TB3 (#12580)
Artur Signell [Mon, 16 Sep 2013 11:44:43 +0000 (14:44 +0300)]
Converted TB2 push tests to TB3 (#12580)

Change-Id: Ifd6286aee75946eb47c39886c08473a5a0c10545

11 years agoRun TB3 tests also on IE11 (#12631)
Artur Signell [Wed, 25 Sep 2013 09:57:48 +0000 (12:57 +0300)]
Run TB3 tests also on IE11 (#12631)

Change-Id: I1ae0f8618e69ba61bb946cde18c2936b751f3a5f