aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/orderedlayout
Commit message (Collapse)AuthorAgeFilesLines
* Build uitest war with mavenTeemu Suo-Anttila2016-04-1537-3569/+0
| | | | Change-Id: I32625901ca27a282253df44c6e776cf9632bacda
* MarginInfo CTOR with two booleans: vertical, horizontal (#14113).Denis Anisimov2016-02-291-1/+1
| | | | Change-Id: Iad15b95abeb24e7dd1e06b1d9f70844cb061cb49
* Revert changes which were previously reverted from only 7.5 (#19424)Teemu Suo-Anttila2016-01-012-144/+0
| | | | | | | | | | | | | | Revert "Take Window special case into account for invalid layouts (#17598)" This reverts commit abc1c5dff6438d65e53473b69ae9a3ca2b8e60e1. Revert "Render nested invalid layouts correctly (#17598)" This reverts commit ac4e85f4e35a57d1ba6e6f3448744cbb0c2df60f. Added test to ensure a similar problem is not reintroduced later Change-Id: I892896e953637d793d0c0a788f28f3b61494d441
* Use computed style in more IE9 edge cases (#13359)Artur Signell2015-06-242-0/+140
| | | | Change-Id: I847c9077199f46964ba8d1931e951529db6c5475
* Render nested invalid layouts correctly (#17598)Artur Signell2015-06-112-0/+144
| | | | Change-Id: I959d62091f79c171a8c9f2c9b4ed2c7a67c65c39
* Use TestBench-4.0.2Teemu Suo-Anttila2015-02-192-5/+6
| | | | | | | | - Based on TB4 Parallel testing. - Browser setup no longer uses static capabilities. - Some code cleanup here and there. Change-Id: I5c419316cd36f4f5041eaa8da8fda3d8b46596c4
* Move TB2 files to separate folderArtur Signell2014-12-1816-1058/+0
| | | | | | This avoids running other HTML files as TB2 tests Change-Id: I32445aeaeaf77f3a34771db6fa0d2eb40fc60ff7
* Improve CaptionLeakTest on IE8 (#13829)Juuso Valli2014-06-172-31/+71
| | | | Change-Id: I0c04f3318af2c9c53e5967485008faa260830996
* Revert "Fix for 'Aborting layout after 100 passess' (#13359)"Sauli Tähkäpää2014-06-122-241/+0
| | | | | | | Causes regression with IE8: http://r2d2.devnet.vaadin.com:8111/viewLog.html?buildTypeId=Vaadin72_Vaadin72DevelopmentBuildTb2Tests&buildId=86020 Change-Id: I6d848777b28a1d3f27a25fec778cba8d68a45690
* Fix tooltip test problems caused by #12458Henri Sara2014-06-122-0/+134
| | | | | | | | | | | | | | | Tooltips are no longer removed but moved outside the viewport, which broke several tests. Rewrite related tests using TB4 to be stable across all browsers. There are differences between browsers (e.g. position -999 or -1000, gwt-uid-* varied between browsers etc.) so TB2 tests kept failing on some or all browsers. Some tests have been renamed to better indicate what they do. Change-Id: Ia7276871f3c26d506dc70e1719347d020b547bfc
* Fix for 'Aborting layout after 100 passess' (#13359)Tomi Virtanen2014-06-052-0/+241
| | | | | | | | | | | | | | | | | | | 'Aborting layout after 100 passes.' is caused by LayoutManager falling into a loop on rounding fractional layout slot sizes up and down while trying to fit layout's content in the space available. LayoutManager round always up, that causes this issue with IE9+ and Chrome. This change helps LayoutManager to round fractional sizes down for browsers that causes problems if rounded up. Browsers may fall into the loop especially with a zoom level other than 100%. Not with any zoom level though. Problematic zoom level varies by browser. OrderedLayoutExpandTest uses zoom levels other than 100%. Test for Chrome is the only one that really is able to reproduce error without the fix. IE9/10 would too, but the zoom level could not be set exactly to the required 95% for IE. Test works best as a regression test for other browsers. Change-Id: Ie840b074df5fed5ea3b15fba9a6fd372a5c0b76a
* Fix tooltip delay (#13695)Juuso Valli2014-05-272-2/+16
| | | | Change-Id: I1c3ed59d8a19d3355a3c729fb3635731b326a00e
* Ensure correct tab is open in debug windowArtur Signell2014-05-132-0/+3
| | | | Change-Id: I6a2745c59c468aa2fbc45032a8478f533494b181
* Update ErrorIndicator test from TB2 to TB4Teemu Suo-Anttila2014-05-092-82/+41
| | | | Change-Id: Ia5755dd476411d51415afb9bbd20ade91e3a23f4
* Update remaining copyright years to 2014Artur Signell2014-04-232-2/+2
| | | | Change-Id: I1fc2bd735b538ebac6d4f41fc8536f26795cc85f
* Merge changes from origin/7.1Artur Signell2014-04-2311-12/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e77e73c Update copyright year to 2014 Conflicts: client-compiler/src/com/vaadin/server/widgetsetutils/metadata/ConnectorBundle.java client/src/com/vaadin/client/ApplicationConnection.java server/src/com/vaadin/data/util/converter/StringToNumberConverter.java shared/src/com/vaadin/shared/ui/ui/PageState.java shared/src/com/vaadin/shared/ui/window/WindowState.java theme-compiler/src/com/vaadin/sass/SassCompiler.java theme-compiler/src/com/vaadin/sass/internal/ScssStylesheet.java theme-compiler/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluator.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryExpression.java theme-compiler/src/com/vaadin/sass/internal/expression/BinaryOperator.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/ArithmeticException.java theme-compiler/src/com/vaadin/sass/internal/expression/exception/IncompatibleUnitsException.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandler.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSDocumentHandlerImpl.java theme-compiler/src/com/vaadin/sass/internal/handler/SCSSErrorHandler.java theme-compiler/src/com/vaadin/sass/internal/parser/CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/Generic_CharStream.java theme-compiler/src/com/vaadin/sass/internal/parser/LexicalUnitImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/LocatorImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/MediaListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/ParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Parser.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserConstants.java theme-compiler/src/com/vaadin/sass/internal/parser/ParserTokenManager.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSLexicalUnit.java theme-compiler/src/com/vaadin/sass/internal/parser/SCSSParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/SelectorListImpl.java theme-compiler/src/com/vaadin/sass/internal/parser/Selectors.java theme-compiler/src/com/vaadin/sass/internal/parser/ThrowedParseException.java theme-compiler/src/com/vaadin/sass/internal/parser/Token.java theme-compiler/src/com/vaadin/sass/internal/parser/TokenMgrError.java theme-compiler/src/com/vaadin/sass/internal/resolver/ClassloaderResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/FilesystemResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/ScssStylesheetResolver.java theme-compiler/src/com/vaadin/sass/internal/resolver/VaadinResolver.java theme-compiler/src/com/vaadin/sass/internal/selector/SelectorUtil.java theme-compiler/src/com/vaadin/sass/internal/tree/BlockNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ExtendNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ForNode.java theme-compiler/src/com/vaadin/sass/internal/tree/FunctionNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ImportNode.java theme-compiler/src/com/vaadin/sass/internal/tree/KeyframesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListContainsNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListModifyNode.java theme-compiler/src/com/vaadin/sass/internal/tree/ListRemoveNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MediaNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MicrosoftRuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/MixinNode.java theme-compiler/src/com/vaadin/sass/internal/tree/NestPropertiesNode.java theme-compiler/src/com/vaadin/sass/internal/tree/Node.java theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/SimpleNode.java theme-compiler/src/com/vaadin/sass/internal/tree/VariableNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/EachDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfElseDefNode.java theme-compiler/src/com/vaadin/sass/internal/tree/controldirective/IfNode.java theme-compiler/src/com/vaadin/sass/internal/util/ColorUtil.java theme-compiler/src/com/vaadin/sass/internal/util/DeepCopy.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayInputStream.java theme-compiler/src/com/vaadin/sass/internal/util/FastByteArrayOutputStream.java theme-compiler/src/com/vaadin/sass/internal/util/StringUtil.java theme-compiler/src/com/vaadin/sass/internal/visitor/BlockNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/EachNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ExtendNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/IfElseNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/ImportNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/MixinNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/NestedNodeHandler.java theme-compiler/src/com/vaadin/sass/internal/visitor/VariableNodeHandler.java theme-compiler/tests/src/com/vaadin/sass/AbstractTestBase.java theme-compiler/tests/src/com/vaadin/sass/internal/expression/ArithmeticExpressionEvaluatorTest.java theme-compiler/tests/src/com/vaadin/sass/parser/ParserTest.java theme-compiler/tests/src/com/vaadin/sass/resolvers/VaadinResolverTest.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Interpolation.java theme-compiler/tests/src/com/vaadin/sass/testcases/css/Selectors.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AbstractDirectoryScanningSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/AutomaticSassTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Comments.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ControlDirectives.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Extends.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Functions.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Imports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Mixins.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/NestedProperties.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Nesting.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentImports.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/ParentSelector.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTests.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassLangTestsBroken.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/SassTestRunner.java theme-compiler/tests/src/com/vaadin/sass/testcases/scss/Variables.java theme-compiler/tests/src/com/vaadin/sass/tree/ImportNodeTest.java uitest/src/com/vaadin/tests/push/BasicPushTest.java uitest/src/com/vaadin/tests/push/PushConfigurationTest.java uitest/src/com/vaadin/tests/push/PushReconnectTest.java Change-Id: Ic08c4f9aecd4c684ce74408de4e0b0d0ff617273
| * Update copyright year to 2014Artur Signell2014-04-1611-12/+12
| | | | | | | | Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
* | Merge changes from origin/7.1Build Agent2014-03-212-0/+130
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7112abe Preventing premature start of drag due to Chrome move event #13381 7e7b623 reduce frequency of session locking and StreamingProgressEvents (#13155) 7cab7fd Improve error message when reusing UI instance (#13457) 3e53fa6 Fixed "EEE" in DateField's date pattern (#13443) 1881ea8 Fix for width issue of TabSheet (#12805) 396820e Test for streaming reconnect issue (#13435) 2f93186 Eliminate .v-caption memory leak (#13346) 0c7cbc7 Fixes a memory leak on IE8 in LayoutManagerIE8 (#12688) 5441ef0 Merged IntegrationTestRunner into TB3Runner 3545db2 Added User-Agent and Screen Width + Height labels to portlet test. c5aaf93 Refactored JSR286 portlet test. 52dcbaa Pressing ESC now closes the DateField popup when using month or year resolutions. (#12317) e45294f Revert "Preventing premature start of drag due to Chrome move event #13381" Change-Id: I35e119a6e8e68e226487906af35eaa220f3af16f
| * Eliminate .v-caption memory leak (#13346)Henri Sara2014-03-142-0/+130
| | | | | | | | Change-Id: I6577dabaaf5d9fa4c73158d3391dfcd28dd0629e
* | Fix NestedLayoutCaptionHoverTest to work with TB 3.1.3Teemu Suo-Anttila2014-03-061-5/+12
| | | | | | | | Change-Id: Ief75a235f8563f9664dd82c9c5a1aab38c7bc77d
* | Merge changes from origin/7.1Build Agent2014-02-212-0/+93
|\| | | | | | | | | | | | | | | | | | | 3b327f6 Change copying of Date values to avoid wrapping of date (#13269) 6f21052 Eliminate spacing memory leak on client (#13315) 6c076e3 Workaround for input prompt used as value on ESC in FF (#8051) ed82d1a Slow down test to hopefully make it more stable (and four times longer) b59f7a0 TreeTable does not have partial updates enabled in Vaadin 7 and probably won't ever have. Change-Id: Icd8354b29a5145056dfb47409bdde9d98610bcf5
| * Eliminate spacing memory leak on client (#13315)Henri Sara2014-02-172-0/+93
| | | | | | | | Change-Id: I432ae4a04d74826dd1cce108177bd503774a8463
* | Merge changes from origin/7.1Jonatan Kronqvist2014-02-102-0/+163
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c551507 Selected option is updated when item caption changes in Select (#9250) 3595685 Converted TestUIWidgetset test to TB3 and fixed wrong text in assertion. 89d860c Convinience methods for getting mouse and keyboard in test. d00397f Converted TB2 test to TB3 and fixed text assertion. 857de0f Renamed test according to conventions and fixed assertion text. b9a6a48 Update textbox when Select item caption changes (#9250) 1687889 Retain focus while changing DOM in OrderedLayout (#12967) f93c870 Remove unselected rows from selection on client side (#13008) 1d1ccf4 Fix Firefox and Vaadin 7 scroll distance (#11353) 62ac53a Ensure widgetset compile messages go to stdout (#7516) 171d02a Remove references to read/write through modes (#13184) 3f09c10 Better-looking CSS for Vaadin API Javadocs (#13219) f0a4ea9 Do not throw NPE for equals(null) (#8910) 3897025 Add deprecated expand ratio methods to FormLayout (#12876) b89dba9 Exclude a possible bin directory when building (#13258) 69983d0 Re-adjusted the rendering order of TabSheet tabs to prevent an NPE in isClipped (#12343) e5dee6a Use Calendar as sender for action handlers (#13191) Change-Id: I581ec7517aaa19a2e46b48e31cdefdd3db2c05c5
| * Retain focus while changing DOM in OrderedLayout (#12967)Teemu Suo-Anttila2014-01-162-0/+163
| | | | | | | | Change-Id: Id25177a2dfecc2d0d3b8bb5803656a39bec9c5d6
* | Added missing exception declarations to TB3 testsJuho Nurminen2014-02-071-1/+1
| | | | | | | | Change-Id: If81520024c16faa92ba84d91e669dab03a843eb9
* | Fixed always failing testbench test.John Ahlroos2014-01-173-33/+100
|/ | | | | | | | The test was always failing since it relied on the GWT generated gwt-X ids in its locator. Converted test to TB3 and used a different approach for testing the same thing. Change-Id: Ib806086c19b58fa9fac16e2270c46830f0706b22
* Update TB3+ convention to use a separate *Test fileArtur Signell2013-10-082-32/+51
| | | | | | | | | | | | 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
* Fixes #12564 (HorizontalLayout breaks w/ alignment & error indicator)Matti Tahvonen2013-10-041-0/+96
| | | | | | 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
* Only consider caption tooltips for own slots (#12469)Leif Åstrand2013-08-301-0/+33
| | | | Change-Id: I2d804b460fbca7cb7dbea01c88ae3dc7e63f344d
* Show tooltips for ordered layout captions (#10046)denisanisimov2013-08-022-0/+161
| | | | Change-Id: I80cb1cbd573d7e0de8aa200a4513dc32984ba9f5
* Global code reformatLeif Åstrand2013-04-051-0/+1
| | | | Change-Id: I4b3c74ede518aa2712038d1451974a93cdecabc2
* Fixed middle vertical alignments in HorizontalLayout #10852John Ahlroos2013-02-072-0/+71
| | | | Change-Id: I85dac7b89ec4ec670cf92e5c760090fbef5929af
* Hide components if width 100% + expand ratio 0 #10783John Ahlroos2013-01-226-2/+238
| | | | Change-Id: I5ca5eac5fbfeec744078ebcb83f08192c1bf2af8
* Maintain Table scroll position when changing expand (#10489, #10106)Leif Åstrand2013-01-142-0/+113
| | | | Change-Id: I4937d8943eab65cd4da2ec2e01af5935f96e244d
* Don't include relative sizes in expand compensation (#10222)Leif Åstrand2013-01-042-0/+127
| | | | Change-Id: I1b94a8ffbbe66e64a585e1d7729dae3af6d815b6
* Updated copyright notices and added missing license headersArtur Signell2013-01-041-1/+1
| | | | Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
* Update AbstractOrderedLayout calculation logicLeif Åstrand2013-01-031-0/+12
| | | | | | | | | | | | | | | | * Always use expansion logic if the layout's size is fixed * Ensure e.g. expansion changes happen even if no hierarchy or measurement changes (#10161) * Separate the calculation of expand ratios from the adjustment for the sizes of children without expansion * Ensure there are element resize listeners for all elements that should be measured (#10488) * Postpone calculations if there are elements that have not yet been measured * Use measurements for fixing the height under more circumstances * Only update based on hierarchy & state if something might have changed Change-Id: I8542afbcb7e93d44bd0dff751a56ed10033937fc
* Global code cleanupLeif Åstrand2012-11-211-2/+1
| | | | Change-Id: I14f46e6aa4f9cbdd9037f1c4ad1ac38fe7cbda86
* Remove Window.addComponent() (#2924)Henri Sara2012-11-141-5/+7
| | | | Change-Id: Ida3269e3cce906fd4b55c5e1049b24e0ff383289
* Panel and Window based on AbstractSingleComponentContainer (#2924)Henri Sara2012-11-141-1/+3
| | | | Change-Id: I9eb1f40a02dcad0f756ad2518d86ef1c52aa69c2
* Fixed ordering in ordered layout when inserting components #10154John Ahlroos2012-11-092-0/+234
| | | | Change-Id: I025745a4f575ecaece0e897e9b8f90adba7c2d63
* Merge "Test for #10098"John Ahlroos2012-11-071-0/+214
|\
| * Test for #10098Artur Signell2012-11-071-0/+214
| | | | | | | | Change-Id: I50fd7fc998ca394bfd1139b26a19bd5bb48cc354
* | Test script for #10154Artur Signell2012-11-071-0/+32
| | | | | | | | Change-Id: I0fcae73633ea2f7d98323d2e2a0e00df6ef0b5fc
* | Test for #10154Artur Signell2012-11-071-0/+71
| | | | | | | | Change-Id: Ie49c010564e7ce45f823f0f61a81135ae9a7132b
* | Moved classes from com.vaadin to com.vaadin.server (#10145)Artur Signell2012-11-061-1/+1
|/ | | | Change-Id: Ica48f1d5edbefde0ef8afca0c2774fe122a6c8ad
* Move LegacyWindow to its own file (#9917)Johannes Dahlström2012-11-022-3/+3
| | | | Change-Id: Iac2f000dfcc9dc8c52d45b83842dfa0d8382c1d5
* Fixed problem with style names in testArtur Signell2012-10-261-10/+9
| | | | Change-Id: I14f602b0a90c4770ce12d5831298ee05aaf8179d
* Formatted projectArtur Signell2012-10-261-1/+0
| | | | Change-Id: I771ca4edea66ad29a80628ee1a98d1c5ff1679ab
* Slots now get their childrens primary stylename in Vertical/Horizontal ↵John Ahlroos2012-10-222-0/+135
| | | | | | layouts #9576 Change-Id: I68f58868606b91353224a6eed83262b33e0af8ea