]> source.dussan.org Git - vaadin-framework.git/commitdiff
Tweaked layouttester tests to be more informative. (#11800)
authorAnna Koskinen <Ansku@users.noreply.github.com>
Tue, 12 Nov 2019 13:52:35 +0000 (15:52 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2019 13:52:35 +0000 (15:52 +0200)
120 files changed:
uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png
uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png
uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png
uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png
uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png
uitest/reference-screenshots/GridAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png
uitest/reference-screenshots/GridCaptionTest-LayoutCaption_ANY_Chrome__caption.png
uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png
uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png
uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png
uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png
uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png
uitest/reference-screenshots/GridIconTest-LayoutIcon_ANY_Chrome__icon.png
uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png
uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png
uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png
uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png
uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png
uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png [new file with mode: 0644]
uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png
uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png [new file with mode: 0644]
uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png [deleted file]
uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png [new file with mode: 0644]
uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png
uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png
uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png
uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png [deleted file]
uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png [new file with mode: 0644]
uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png
uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png
uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png
uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png
uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png
uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png
uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png
uitest/reference-screenshots/HAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png
uitest/reference-screenshots/HCaptionTest-LayoutCaption_ANY_Chrome__caption.png
uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png
uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png
uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png
uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png
uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png
uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon-scrolled.png [new file with mode: 0644]
uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon.png
uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png
uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png
uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png
uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png
uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png
uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png [new file with mode: 0644]
uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png
uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png [new file with mode: 0644]
uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png [deleted file]
uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png [new file with mode: 0644]
uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png [new file with mode: 0644]
uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png
uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png
uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png
uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png
uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png
uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png
uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment-scrolled.png [new file with mode: 0644]
uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png
uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png
uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__scrolled.png [new file with mode: 0644]
uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png
uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png
uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png
uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png
uitest/reference-screenshots/VIconTest-LayoutIcon_ANY_Chrome__icon.png
uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png
uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png
uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png
uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png
uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png
uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png [new file with mode: 0644]
uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png
uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png [new file with mode: 0644]
uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png [deleted file]
uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png [new file with mode: 0644]
uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png
uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png
uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png
uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png
uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png
uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseAlignment.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutExpand.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutForSpacingMargin.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutTestUI.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridAlignment.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridBaseLayoutTestUI.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridComponentSizing.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridIcon.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutExpand.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutMarginSpacing.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutRegError.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutSizing.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HAddReplaceMove.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HAlignment.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HComponentSizing.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HIcon.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HLayoutMarginSpacing.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HLayoutRegError.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HLayoutSizing.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/VLayout/VAlignment.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/VLayout/VComponentSizing.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/VLayout/VIcon.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/VLayout/VLayoutMarginSpacing.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/VLayout/VLayoutRegError.java
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/VLayout/VLayoutSizing.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/BaseLayoutMarginSpacingTest.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/BaseLayoutSizingTest.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutRegErrorTest.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutSizingTest.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/HLayout/HIconTest.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/HLayout/HLayoutRegErrorTest.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/VLayout/VAlignmentTest.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/VLayout/VComponentSizingTest.java
uitest/src/test/java/com/vaadin/tests/layouts/layouttester/VLayout/VLayoutRegErrorTest.java

index 876d8cc4677f6c83a2409bd895b55813ddcf43d0..99e287e45119afc858fe5a35b24371f153a867dc 100755 (executable)
Binary files a/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png and b/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png differ
index 1397c71a91780fd498f181aab1a5a4cbf995fd28..051910e15b38060e5bc4b4ddd297d1e87fd9634f 100755 (executable)
Binary files a/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png and b/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png differ
index 13786ad674ce068165d5fb0305906b8cb839c5fb..049103f2605868e7eb800e33a56996ac5aafa3ab 100755 (executable)
Binary files a/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png and b/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png differ
index 275ee57125f5a40f8fbbb03cd7650d9524c57dd1..b7e887f800e35870c16080f7e08d2fe2c45eeb83 100755 (executable)
Binary files a/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png and b/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png differ
index 89b1a7df3749ef2dd26c442f8a52385ab7aa854b..31727ab5fb55f99130d0ee108dd4b08b9e99d3a5 100755 (executable)
Binary files a/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png and b/uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png differ
index 487685788c55515d878aff1814049587df857584..152b63d06ecfc3c77311166abc7e55523dc94380 100755 (executable)
Binary files a/uitest/reference-screenshots/GridAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png and b/uitest/reference-screenshots/GridAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png differ
index ae7e507a6df25471c7f7e8d62894d6bbb17dd476..a3faa6fd82772797e1d4fd4d88fd8fe3a423e4da 100755 (executable)
Binary files a/uitest/reference-screenshots/GridCaptionTest-LayoutCaption_ANY_Chrome__caption.png and b/uitest/reference-screenshots/GridCaptionTest-LayoutCaption_ANY_Chrome__caption.png differ
index d0586e2696b997fde90bf2f71e81542e87a0ef5e..065588dc76731590438a01f6e8494cb64a3387d6 100755 (executable)
Binary files a/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png differ
index dfa56917b8d192cdfb4c59e9808f0089010a82c3..42877013215b4e133c9faf3e4bdf3df6b780e723 100755 (executable)
Binary files a/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png differ
index bcb9a03e894f89b1db803a4081f5a0ddf6f549b2..c8c6f50b9663fd4d864d80eb2f58edfdc4a9d12b 100755 (executable)
Binary files a/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png differ
index 6085226f880560703f79b7165f826d560e835343..8aeb0dbdd1247485dd4c957318602a5fba98a470 100755 (executable)
Binary files a/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png differ
index 13a8c5223d606075e42d6fc5b119c6e9deda2e39..5fb40dfbc7d3ea113e3c02683ebea12f3ea37791 100755 (executable)
Binary files a/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png differ
index 43680796e9148a1e7bdc71252a90c0601aca48dd..9fc27797a3d95dd2fc6a9ac41e2481d5063da353 100755 (executable)
Binary files a/uitest/reference-screenshots/GridIconTest-LayoutIcon_ANY_Chrome__icon.png and b/uitest/reference-screenshots/GridIconTest-LayoutIcon_ANY_Chrome__icon.png differ
index b1c048151c64495b37898dc9767ba1bf7c973e74..1342c2c57a8e09fd09283012bf0c9d94ca5138f4 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png and b/uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png differ
index 968bbec6863aa652d7facb7d1a85da17f8840009..cfa391874bee6f25a2dae5c8ebd266ab577ee5fc 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png and b/uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png differ
index c42dd36ae2890354e4c5e741eeb92f009c218adc..1ef52060e7a782b144a5b03758fbb183c6d64fa8 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png and b/uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png differ
index 64ca21f2136bc3c23ddec873d975a29d249287c6..886534c214e5c0499ab1c5c37e50f8c17a41a1db 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png and b/uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png differ
index 9ff966eb0fd28d846db09249c81ffc9bac628d9d..55e0994837c70454330bb9de5ce659d88b00ba6d 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png differ
diff --git a/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png b/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png
new file mode 100644 (file)
index 0000000..57d3ce7
Binary files /dev/null and b/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png differ
index 1141788026c2abc8621288b2c34bdfbf66ba620b..e27e41ae53c2e7189b671ff71ad964077626162f 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png and b/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png differ
diff --git a/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png b/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png
new file mode 100644 (file)
index 0000000..6153d28
Binary files /dev/null and b/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png differ
diff --git a/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png b/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png
deleted file mode 100755 (executable)
index 17029ed..0000000
Binary files a/uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png and /dev/null differ
diff --git a/uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png b/uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png
new file mode 100644 (file)
index 0000000..d8fc04f
Binary files /dev/null and b/uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png differ
index 58be1b4c7815fa130df6d75bc958fd9095b143a8..48d7459a767207fe38657d66078249b1b744e773 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png and b/uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png differ
index d0586e2696b997fde90bf2f71e81542e87a0ef5e..e5f6fef8f75db03c9d3a498fc3218e61f911cb7f 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png differ
index dfa56917b8d192cdfb4c59e9808f0089010a82c3..d9f4873bc60ff036db02076cb4b5d62ba77af6d2 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png differ
diff --git a/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png b/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png
deleted file mode 100755 (executable)
index 4962ab5..0000000
Binary files a/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png and /dev/null differ
diff --git a/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png b/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png
new file mode 100644 (file)
index 0000000..1fadc3b
Binary files /dev/null and b/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png differ
index 244582e7a6c4841b12c9d0cb3d1eaa5156a202ae..0d49fe084b636b4ded4484f3accb23c4691a3605 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png differ
index b408abe7e93c8656d1c43a444c7939a9f79f77ad..d545cb2c3d109bacc80476b59416f7245a8d4edc 100755 (executable)
Binary files a/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png differ
index aba227cf9f6108f19ebcdc58838e53ccb0151054..6618ca39bd8d27f9a7cc324b0fe445256c221038 100755 (executable)
Binary files a/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png and b/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png differ
index e09a68c16d3e7941c23da9b7d515bd4deb51960e..b2d42c7c8fe4e32dcfc19c31af5c5021807dfea1 100755 (executable)
Binary files a/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png and b/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png differ
index 9ccbf146903f3073b8d7b65eb21747bfe45ddf9f..6639e74b50087f76e0daa7b78729f3cde71e862b 100755 (executable)
Binary files a/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png and b/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png differ
index 2a1310c36f2546cc359d1c2a5a5cb2892980ad9b..ff1e4e4c8f8a5b0140d25167c1f6bf34c202f09a 100755 (executable)
Binary files a/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png and b/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png differ
index 634c2711de4125bc5dedd26acc34f1b6dac133f5..fd6e0c8178b1e4dedc1bab7eed0d0047ae8cb50a 100755 (executable)
Binary files a/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png and b/uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png differ
index 708a3177cef07badf44c6c7b39e9cc06bde3e85d..b0bf3054bb059989ec86d5e0ec3e11df0e31210f 100755 (executable)
Binary files a/uitest/reference-screenshots/HAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png and b/uitest/reference-screenshots/HAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png differ
index 72e70b91ada47023152829e95b21a7f7655c28cd..8aba1d52d5298324558781efbbef199bc8465233 100755 (executable)
Binary files a/uitest/reference-screenshots/HCaptionTest-LayoutCaption_ANY_Chrome__caption.png and b/uitest/reference-screenshots/HCaptionTest-LayoutCaption_ANY_Chrome__caption.png differ
index 12bc6904665fb20bf0eb8cd5087c1854a1e483e5..9d99e0b2e37c956db08debdbcee9213c636960f3 100755 (executable)
Binary files a/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png differ
index dff4d574b560891d8dde775b937f99a611c06b03..365878113bceebef548d8044c7b37263ba5fcd5d 100755 (executable)
Binary files a/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png differ
index e3ffe054aaf4cd70a320aa933221eb158ac23409..407d4b5b7aefe5f89087cf605b6adac3be706b00 100755 (executable)
Binary files a/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png differ
index d6b9c512198d9f6178b38f4405aa457fd85798c0..a0bd9cc86893628f8725799a9cde7f0099e7df96 100755 (executable)
Binary files a/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png differ
index e6dacf66643b8ca28211afa378006a77ec6e7291..9f266e3edbf3b011e1a6bc691e2c9eed66f85683 100755 (executable)
Binary files a/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png differ
diff --git a/uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon-scrolled.png b/uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon-scrolled.png
new file mode 100644 (file)
index 0000000..e2ee3b2
Binary files /dev/null and b/uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon-scrolled.png differ
index dfa3f0aa60ac6f5e03b3ca65d6a3bfb6e9918325..f805fec91915d0892614ad2eedaf2b73b3d685c4 100755 (executable)
Binary files a/uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon.png and b/uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon.png differ
index 81a0037d7fe033946568c26124a7c92310ebd1ea..3fed295bfebbb9c416efb00458e1d70c9bb7261f 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png and b/uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png differ
index b0c6ab60c2774e8e0fa4682db3f7314347176719..f801bf05d2812ad05924084f48b0bee123fe5af4 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png and b/uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png differ
index a57644d3ea1b806a4efdc187761230118f450e79..d6c1c2df557f20b4be29683cbdd85534dc4882ab 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png and b/uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png differ
index 3b32bcec399ef3799e26be8e553c012dc6f45091..55d98e1dbf84a1473d2e41cfa366cb27f3a4d4e4 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png and b/uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png differ
index 2585f163e9b1e1521761ce2427ba501ead30800f..13061814a2fb4978910437c91f7a80d1b164ac1c 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png differ
diff --git a/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png b/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png
new file mode 100644 (file)
index 0000000..1a4beb8
Binary files /dev/null and b/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png differ
index 1da3fb397f9b5a1ca48c5847a63118a8b46bfe7f..5cc8272623ca7770ce7a6efd96a1b4f7dfc7fb4f 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png and b/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png differ
diff --git a/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png b/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png
new file mode 100644 (file)
index 0000000..30bd922
Binary files /dev/null and b/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png differ
diff --git a/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png b/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png
deleted file mode 100755 (executable)
index 4fe1f5d..0000000
Binary files a/uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png and /dev/null differ
diff --git a/uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png b/uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png
new file mode 100644 (file)
index 0000000..7890264
Binary files /dev/null and b/uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png differ
diff --git a/uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png b/uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png
new file mode 100644 (file)
index 0000000..aec7bb9
Binary files /dev/null and b/uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png differ
index 94826b487a1b08093ba1216f775bd6cdef753968..73e61502f4ee1e080d939ea6c013590521d799ef 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png and b/uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png differ
index 12bc6904665fb20bf0eb8cd5087c1854a1e483e5..9d99e0b2e37c956db08debdbcee9213c636960f3 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png differ
index dff4d574b560891d8dde775b937f99a611c06b03..562eb6e26999c9b18df1effb05cd691aadf0d92b 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png differ
index e3ffe054aaf4cd70a320aa933221eb158ac23409..efe19ea55fdfc101e53fec31df5e608aa2b77fe4 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png differ
index d6b9c512198d9f6178b38f4405aa457fd85798c0..e02e28f3092fba0967ea59e9dfd4c0c492439011 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png differ
index e6dacf66643b8ca28211afa378006a77ec6e7291..2f34a2b88b039a1450d70c7bc469cc8f298e1b78 100755 (executable)
Binary files a/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png differ
diff --git a/uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment-scrolled.png b/uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment-scrolled.png
new file mode 100644 (file)
index 0000000..841d2e1
Binary files /dev/null and b/uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment-scrolled.png differ
index 609d847c61dd381deb30f7f3175ff79cd75f8171..f4793e0f70c9a856db4e8b3002d4884475e5d132 100755 (executable)
Binary files a/uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png and b/uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png differ
index e386e49c0b9f50ced2b63d7822376ade67b0dc98..8ab31b71aa14f2b9824a99b70cbc86f095f5e7c1 100755 (executable)
Binary files a/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png differ
diff --git a/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__scrolled.png b/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__scrolled.png
new file mode 100644 (file)
index 0000000..8ab31b7
Binary files /dev/null and b/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__scrolled.png differ
index bdd704f5c844d41bbc146f1a3700f3d1a57619f0..8483cc428284b125c33a529c3568e32be23f43c1 100755 (executable)
Binary files a/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png differ
index 768dfbb320ad76439ecb2f55a0be45e4858b3d0d..9ad4c64cd7bc5230c3d6eb53b4925f8796ff309f 100755 (executable)
Binary files a/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png differ
index 34921202db8e5d0868aa1085dcfc871dcec15d85..fa317dc8f46d069480ba3807968b51cc89f09b66 100755 (executable)
Binary files a/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png differ
index 5edcb46bed210ee84e34925656005b9c04b37faf..85dfedf6f9ec2169f5ef79b6e847a6208b203c20 100755 (executable)
Binary files a/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png differ
index 8ab345686387ce998a39b36f4b302fe917a97127..c35aa48a91bf87a041d9383b969d59f737261b9e 100755 (executable)
Binary files a/uitest/reference-screenshots/VIconTest-LayoutIcon_ANY_Chrome__icon.png and b/uitest/reference-screenshots/VIconTest-LayoutIcon_ANY_Chrome__icon.png differ
index 1f0dfba22a48b49a405c2b999bb2e0baf4fb06e9..1a7a61ebe97d7182d2bf2f50bf9c8377e0874e94 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png and b/uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png differ
index 7d8ec7f8bdf40c3d84e105b60b9b7c33c99ce46a..1ba9c22b97751cb5cabb69373d3f15c67cdd852e 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png and b/uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png differ
index 0795cce17c9dc9ca2138e2c4cdc4a941ca8e9836..894c926f2a115b6d75a923cf53db3a863a9a197e 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png and b/uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png differ
index 59c4f954014713ec180d361de9b68a37a1923c24..e153773bb3179904ed9ec77814bfceb0d906a56f 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png and b/uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png differ
index 391202dc57d4f168205623d5b937cc496532e34f..a990cf08e42d74761b52d08123daa2203176bfbe 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png differ
diff --git a/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png b/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png
new file mode 100644 (file)
index 0000000..df7882e
Binary files /dev/null and b/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png differ
index 91c1a7dfe39efe5568469278d5675cfb58035031..ba76ccd675412db0b267191857751b8bdeb17785 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png and b/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png differ
diff --git a/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png b/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png
new file mode 100644 (file)
index 0000000..9e785ec
Binary files /dev/null and b/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png differ
diff --git a/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png b/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png
deleted file mode 100755 (executable)
index d84c300..0000000
Binary files a/uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png and /dev/null differ
diff --git a/uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png b/uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png
new file mode 100644 (file)
index 0000000..f6759bc
Binary files /dev/null and b/uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png differ
index 61e4108f213dca487f8567f3466f3fd4aa9615b9..9a8b8d2a4fdc1e19abb79a28563f8727a590c7ee 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png and b/uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png differ
index e386e49c0b9f50ced2b63d7822376ade67b0dc98..02e9ad22c8df830fa35a0abb4175889c19933397 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png and b/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png differ
index bdd704f5c844d41bbc146f1a3700f3d1a57619f0..14fc7213167f357887c366d1e4049f191105235c 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png and b/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png differ
index 768dfbb320ad76439ecb2f55a0be45e4858b3d0d..4c512558d7c43361e6a11aa17d8b5a1ce5bb21bb 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png and b/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png differ
index 34921202db8e5d0868aa1085dcfc871dcec15d85..8b7f4d223782f31b3773032f036d57e90a1b0ebe 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png and b/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png differ
index 5edcb46bed210ee84e34925656005b9c04b37faf..81739b964f53543034c5995bbaaef3af3f8903dd 100755 (executable)
Binary files a/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png and b/uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png differ
index 7a2faebac5f077b180e3321dc6f8e10b4d3fa140..776b862064b926dca5bb044b52f0883b797cfb48 100644 (file)
@@ -53,7 +53,7 @@ abstract public class BaseAlignment extends BaseLayoutTestUI {
                 // TODO Auto-generated catch block
                 e.printStackTrace();
             }
-            layout.setHeight("300px");
+            layout.setHeight("100px");
             layout.setWidth("200px");
             layout.addComponent(components[i]);
             layout.setComponentAlignment(components[i], alignments[i]);
index 68bf1622a3e884ab678d0e980bc8e50b97fd7836..75945c7c255be8204e2a8824a548dbd50a11e772 100644 (file)
@@ -65,8 +65,6 @@ public class BaseLayoutExpand extends BaseLayoutTestUI {
         }
         Table t1 = getTestTable();
         Table t2 = getTestTable();
-        t1.setSizeFull();
-        t2.setSizeFull();
         l2.addComponent(t1);
         l2.addComponent(t2);
 
index 78be5f66d939d6a43a099158079b26e5b81c0436..97d962107dfdb632d71827b6e5ab20c450d7d9aa 100644 (file)
@@ -48,8 +48,6 @@ public class BaseLayoutForSpacingMargin extends BaseLayoutTestUI {
     private void buildLayout() {
         Table t1 = getTestTable();
         Table t2 = getTestTable();
-        t1.setSizeFull();
-        t2.setSizeFull();
         l2.addComponent(t1);
         l2.setMargin(false);
         l2.setSpacing(false);
index 2e58550be5c483872469e62342544bb7d1dc8b05..2d7f8b7e3135a7590e2569aa93c8d96eb789e0ab 100644 (file)
@@ -45,11 +45,11 @@ public abstract class BaseLayoutTestUI extends AbstractTestUI {
     protected static final String CALENDAR_32_PNG = "../runo/icons/16/calendar.png";
     protected static final String LOCK_16_PNG = "../runo/icons/16/lock.png";
     protected static final String GLOBE_16_PNG = "../runo/icons/16/globe.png";
-    public Alignment[] alignments = new Alignment[] { Alignment.TOP_CENTER,
-            Alignment.TOP_LEFT, Alignment.TOP_RIGHT, Alignment.BOTTOM_CENTER,
-            Alignment.BOTTOM_LEFT, Alignment.BOTTOM_RIGHT,
-            Alignment.MIDDLE_CENTER, Alignment.MIDDLE_LEFT,
-            Alignment.MIDDLE_RIGHT };
+    public Alignment[] alignments = new Alignment[] { Alignment.TOP_LEFT,
+            Alignment.TOP_CENTER, Alignment.TOP_RIGHT, Alignment.MIDDLE_LEFT,
+            Alignment.MIDDLE_CENTER, Alignment.MIDDLE_RIGHT,
+            Alignment.BOTTOM_LEFT, Alignment.BOTTOM_CENTER,
+            Alignment.BOTTOM_RIGHT };
 
     public final String[] CAPTIONS = new String[] { "",
             "VeryLongOneWordCaption",
@@ -93,7 +93,8 @@ public abstract class BaseLayoutTestUI extends AbstractTestUI {
     private void fillComponents() {
         for (int i = 0; i < components.length; i++) {
             String name = "Field" + i;
-            TextField field = new TextField();
+            TextField field = new TextField(alignments[i].getVerticalAlignment()
+                    + " " + alignments[i].getHorizontalAlignment());
             field.setValue(name);
             components[i] = field;
         }
@@ -110,9 +111,7 @@ public abstract class BaseLayoutTestUI extends AbstractTestUI {
         l2.setMargin(false);
 
         final AbstractComponent c1 = getTestTable();
-        c1.setSizeFull();
         final AbstractComponent c2 = getTestTable();
-        c2.setSizeFull();
 
         class SetSizeButton extends Button {
             SetSizeButton(final String size) {
@@ -128,6 +127,7 @@ public abstract class BaseLayoutTestUI extends AbstractTestUI {
                         } else if (compType == "component") {
                             c2.setHeight(size);
                             c2.setWidth(size);
+                            c2.setCaption("Configured width");
                         } else {
                         }
 
@@ -163,11 +163,13 @@ public abstract class BaseLayoutTestUI extends AbstractTestUI {
 
             }
         });
+        btn2.setCaption(btn2.getCaption() + " + add Label");
     }
 
     protected Table getTestTable() {
         Table t = new Table();
-        t.setPageLength(5);
+        t.setSizeFull();
+        t.setCaption("100% default width");
         t.addContainerProperty("test", String.class, null);
         t.addItem(new Object[] { "qwertyuiop asdfghjköäxccvbnm,m,." }, 1);
         t.addItem(new Object[] { "YGVYTCTCTRXRXRXRX" }, 2);
@@ -235,6 +237,12 @@ public abstract class BaseLayoutTestUI extends AbstractTestUI {
      */
     @Override
     protected void setup(VaadinRequest request) {
+        mainLayout.setSizeUndefined();
+        getLayout().setSizeUndefined();
+        if (getLayout().getParent() instanceof VerticalLayout) {
+            ((VerticalLayout) getLayout().getParent()).setSizeUndefined();
+        }
+
         mainLayout.addComponent(l1);
         mainLayout.addComponent(l2);
         addComponent(mainLayout);
@@ -254,8 +262,8 @@ public abstract class BaseLayoutTestUI extends AbstractTestUI {
             AbstractOrderedLayout l2, String w, String h) {
         l1.setWidth(w);
         l1.setHeight(h);
-        l2.setWidth(h);
-        l2.setHeight(w);
+        l2.setWidth(w);
+        l2.setHeight(h);
     }
 
     protected void setDefaultForVertical(AbstractOrderedLayout l1,
index 1c3e706d48c787f106d1155081ffd13cac766135..3b0a536b79cb12c80ddc009edc099c95c864ffb4 100644 (file)
@@ -23,6 +23,7 @@ public class GridAlignment extends GridBaseLayoutTestUI {
     protected void setup(VaadinRequest request) {
         buildLayout();
         super.setup(request);
+        layout.setSizeFull();
     }
 
     /**
@@ -31,8 +32,6 @@ public class GridAlignment extends GridBaseLayoutTestUI {
     private void buildLayout() {
         layout.setColumns(3);
         layout.setRows(3);
-        // layout.setHeight("600px");
-        // layout.setWidth("900px");
         for (int i = 0; i < components.length; i++) {
             layout.addComponent(components[i]);
             layout.setComponentAlignment(components[i], alignments[i]);
index e9f9bd76b3490749aa1abd536222f9066d82d287..5fe7fd84f2d966d61fdedb7c0f868503e7ecfb6d 100644 (file)
@@ -43,8 +43,7 @@ public abstract class GridBaseLayoutTestUI extends BaseLayoutTestUI {
 
     @Override
     protected void setup(VaadinRequest request) {
-        layout.setMargin(true);
-        layout.setSizeFull();
+        layout.setSizeUndefined();
         getUI().setContent(layout);
     }
 
@@ -55,9 +54,7 @@ public abstract class GridBaseLayoutTestUI extends BaseLayoutTestUI {
         layout.setMargin(false);
 
         final AbstractComponent c1 = getTestTable();
-        c1.setSizeFull();
         final AbstractComponent c2 = getTestTable();
-        c2.setSizeFull();
 
         class SetSizeButton extends Button {
             SetSizeButton(final String size) {
@@ -73,6 +70,7 @@ public abstract class GridBaseLayoutTestUI extends BaseLayoutTestUI {
                         } else if (compType == "component") {
                             c2.setHeight(size);
                             c2.setWidth(size);
+                            c2.setCaption("Configured width");
                         } else {
                         }
 
@@ -81,7 +79,7 @@ public abstract class GridBaseLayoutTestUI extends BaseLayoutTestUI {
             }
 
         }
-        Button btn1 = new SetSizeButton("550px");
+        Button btn1 = new SetSizeButton("350px");
         Button btn2 = new SetSizeButton("-1px");
         Button btn3 = new SetSizeButton("75%");
         Button btn4 = new SetSizeButton("100%");
@@ -104,5 +102,6 @@ public abstract class GridBaseLayoutTestUI extends BaseLayoutTestUI {
                 layout.addComponent(newLabel);
             }
         });
+        btn2.setCaption(btn2.getCaption() + " + add Label");
     }
 }
index 52d8b3db2e88cc2709e8016c7d4b666a55adad30..4e6a4638e2a03218c4fd1fc9df76339b83b72822 100644 (file)
@@ -28,5 +28,6 @@ public class GridComponentSizing extends GridBaseLayoutTestUI {
     protected void setup(VaadinRequest request) {
         getLayoutForLayoutSizing("component");
         super.setup(request);
+        layout.setSizeFull();
     }
 }
index 1ed8695aa343c2fa049d03bd3aa2f1b4563a3cae..119c825587a8c5c0debab7e3c1f704f909616c13 100644 (file)
@@ -16,6 +16,7 @@
 package com.vaadin.tests.layouts.layouttester.GridLayout;
 
 import com.vaadin.server.VaadinRequest;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.Button;
 import com.vaadin.ui.ComboBox;
 import com.vaadin.ui.Label;
@@ -39,4 +40,13 @@ public class GridIcon extends GridBaseLayoutTestUI {
         layout.addComponent(createLabelsFields(TabSheet.class, true, ""));
         super.setup(request);
     }
+
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "400px", "-1px");
+        l1.setSpacing(true);
+        l2.setSpacing(true);
+        mainLayout.setSpacing(true);
+    }
 }
index b939b825e7c4da4f2d884e99af3c3eed15b194e1..0e11c155055b023b21c261b4060e20dd7de2b504 100644 (file)
@@ -30,6 +30,7 @@ public class GridLayoutExpand extends GridBaseLayoutTestUI {
     protected void setup(VaadinRequest request) {
         buildLayout();
         super.setup(request);
+        layout.setSizeFull();
     }
 
     private void buildLayout() {
@@ -50,8 +51,6 @@ public class GridLayoutExpand extends GridBaseLayoutTestUI {
         }
         Table t1 = getTestTable();
         Table t2 = getTestTable();
-        t1.setSizeFull();
-        t2.setSizeFull();
         layout.setColumns(4);
         layout.setRows(4);
         layout.addComponent(new ExpandButton(1, 2, 1.0f, 0.0f), 0, 0);
index dce4bd576e4a67d2e07f44e0a6e686da9ed2c664..5f338e0ed047ec712f69caa7712cce37ad5467bb 100644 (file)
@@ -39,8 +39,8 @@ public class GridLayoutMarginSpacing extends GridBaseLayoutTestUI {
     private void buildLayout() {
         Table t1 = getTestTable();
         Table t2 = getTestTable();
-        t1.setSizeFull();
-        t2.setSizeFull();
+        t1.setSizeUndefined();
+        t2.setSizeUndefined();
 
         final Button btn1 = new Button("Toggle margin on/off");
         btn1.addClickListener(new ClickListener() {
index c536171f3822ac7601d9cb8c5f4cbf1c93f02de8..514a4384c544f29d0297fe9d643ebe39e71cc67b 100644 (file)
@@ -16,6 +16,7 @@
 package com.vaadin.tests.layouts.layouttester.GridLayout;
 
 import com.vaadin.server.VaadinRequest;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.Button;
 import com.vaadin.ui.CheckBox;
 import com.vaadin.ui.ComboBox;
@@ -51,4 +52,10 @@ public class GridLayoutRegError extends GridBaseLayoutTestUI {
         layout.addComponent(createLabelsFields(CheckBox.class, true, ""));
 
     }
+
+    @Override
+    protected void setDefaultForVertical(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2) {
+        setLayoutMeasures(l1, l2, "800px", "800px");
+    }
 }
index f3c486813bd58137e9186cdca3709c09eac4729d..f1116a1ee2b56813c16e044d4511e8bd0643c4d9 100644 (file)
 package com.vaadin.tests.layouts.layouttester.GridLayout;
 
 import com.vaadin.server.VaadinRequest;
+import com.vaadin.shared.ui.label.ContentMode;
+import com.vaadin.ui.AbstractComponent;
+import com.vaadin.ui.Button;
+import com.vaadin.ui.Button.ClickEvent;
+import com.vaadin.ui.Button.ClickListener;
+import com.vaadin.ui.Label;
 
 /**
  *
@@ -28,5 +34,63 @@ public class GridLayoutSizing extends GridBaseLayoutTestUI {
     protected void setup(VaadinRequest request) {
         getLayoutForLayoutSizing("layout");
         super.setup(request);
+        layout.setSizeFull();
+    }
+
+    @Override
+    protected void getLayoutForLayoutSizing(final String compType) {
+
+        layout.setSpacing(false);
+        layout.setMargin(false);
+
+        final AbstractComponent c1 = getTestTable();
+        final AbstractComponent c2 = getTestTable();
+
+        class SetSizeButton extends Button {
+            SetSizeButton(final String size) {
+                super();
+                setCaption("Set size " + size);
+                addClickListener(new ClickListener() {
+
+                    @Override
+                    public void buttonClick(ClickEvent event) {
+                        if (compType == "layout") {
+                            layout.setHeight(size);
+                            layout.setWidth(size);
+                        } else if (compType == "component") {
+                            c2.setHeight(size);
+                            c2.setWidth(size);
+                        } else {
+                        }
+
+                    }
+                });
+            }
+
+        }
+        Button btn1 = new SetSizeButton("600px");
+        Button btn2 = new SetSizeButton("-1px");
+        Button btn3 = new SetSizeButton("75%");
+        Button btn4 = new SetSizeButton("100%");
+
+        layout.addComponent(btn1);
+        layout.addComponent(btn2);
+        layout.addComponent(btn3);
+        layout.addComponent(btn4);
+        layout.addComponent(c1);
+        layout.addComponent(new Label(
+                "<div style='height: 1px'></div><hr /><div style='height: 1px'></div>",
+                ContentMode.HTML));
+        layout.addComponent(c2);
+        btn2.addClickListener(new ClickListener() {
+
+            @Override
+            public void buttonClick(ClickEvent event) {
+                Label newLabel = new Label("--- NEW LABEL ---");
+                newLabel.setSizeUndefined();
+                layout.addComponent(newLabel);
+            }
+        });
+        btn2.setCaption(btn2.getCaption() + " + add Label");
     }
 }
index e738cfb92b1dc3fa27f3610556b7558518d8203c..b0babf714754eaf0745bb6350e56e5a45c57260b 100644 (file)
@@ -15,8 +15,8 @@
  */
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
-import com.vaadin.annotations.Theme;
 import com.vaadin.tests.layouts.layouttester.BaseAddReplaceMove;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.HorizontalLayout;
 
 public class HAddReplaceMove extends BaseAddReplaceMove {
@@ -28,4 +28,10 @@ public class HAddReplaceMove extends BaseAddReplaceMove {
         super(HorizontalLayout.class);
     }
 
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "1200px", h);
+    }
+
 }
index 73067ea26a783364ec2e133202afe2471ba002a6..b9641c4d819ab811b719bd807a4ea0960f6b8ddb 100644 (file)
@@ -16,6 +16,7 @@
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
 import com.vaadin.tests.layouts.layouttester.BaseAlignment;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.HorizontalLayout;
 
 public class HAlignment extends BaseAlignment {
@@ -24,4 +25,10 @@ public class HAlignment extends BaseAlignment {
         super(HorizontalLayout.class);
     }
 
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "1000px", "200px");
+    }
+
 }
index 2471a122ebdecc6716e2af6dc3425292d4ff7c4b..00d93e11cbeed075eae73930bd2b9ef9703104f7 100644 (file)
  */
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
-import com.vaadin.annotations.Theme;
+import java.util.Iterator;
+
+import com.vaadin.server.VaadinRequest;
 import com.vaadin.tests.layouts.layouttester.BaseComponentSizing;
+import com.vaadin.ui.AbstractOrderedLayout;
+import com.vaadin.ui.Component;
 import com.vaadin.ui.HorizontalLayout;
+import com.vaadin.ui.Label;
 
 /**
  *
@@ -33,4 +38,23 @@ public class HComponentSizing extends BaseComponentSizing {
     public HComponentSizing() {
         super(HorizontalLayout.class);
     }
+
+    @Override
+    protected void setup(VaadinRequest request) {
+        super.setup(request);
+        Iterator<Component> iterator = l2.iterator();
+        while (iterator.hasNext()) {
+            Component component = iterator.next();
+            if (component instanceof Label) {
+                component.setWidth("30px");
+            }
+        }
+    }
+
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "900px", h);
+        l1.setSizeUndefined();
+    }
 }
index 64cdbccc6463157ab6ae824d3b68cb13d3401400..6f86b2ab5def30680c696207cc393d88c8263682 100644 (file)
@@ -15,8 +15,8 @@
  */
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
-import com.vaadin.annotations.Theme;
 import com.vaadin.tests.layouts.layouttester.BaseIcon;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.HorizontalLayout;
 
 /**
@@ -34,4 +34,10 @@ public class HIcon extends BaseIcon {
         super(HorizontalLayout.class);
     }
 
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "2900px", "200px");
+    }
+
 }
index 1a5ac319ea1c96b1c8eee07458f7bf4732a72473..bc5f347b10210d49cf90df105de19ba509231544 100644 (file)
  */
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
-import com.vaadin.annotations.Theme;
+import java.util.Iterator;
+
+import com.vaadin.server.VaadinRequest;
 import com.vaadin.tests.layouts.layouttester.BaseLayoutForSpacingMargin;
+import com.vaadin.ui.AbstractOrderedLayout;
+import com.vaadin.ui.Component;
 import com.vaadin.ui.HorizontalLayout;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Table;
 
 /**
  *
@@ -34,4 +40,24 @@ public class HLayoutMarginSpacing extends BaseLayoutForSpacingMargin {
         super(HorizontalLayout.class);
     }
 
+    @Override
+    protected void setup(VaadinRequest request) {
+        super.setup(request);
+        Iterator<Component> iterator = l2.iterator();
+        while (iterator.hasNext()) {
+            Component component = iterator.next();
+            if (component instanceof Table) {
+                component.setSizeUndefined();
+            } else if (component instanceof Label) {
+                component.setWidth("30px");
+            }
+        }
+    }
+
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        l1.setSizeUndefined();
+        l2.setSizeUndefined();
+    }
 }
index 70126a6dba12cc5105dee82abaad0311b73b8fd6..6a470e328e1027f0493231bbb6cce750250289cb 100644 (file)
@@ -15,8 +15,8 @@
  */
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
-import com.vaadin.annotations.Theme;
 import com.vaadin.tests.layouts.layouttester.BaseRegError;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.HorizontalLayout;
 
 /**
@@ -33,4 +33,10 @@ public class HLayoutRegError extends BaseRegError {
     public HLayoutRegError() {
         super(HorizontalLayout.class);
     }
+
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "3200px", "200px");
+    }
 }
index d4deece1443e335211ed4625d89653461542888b..c8115c4ddc041831540eb85452441dbd3010a28f 100644 (file)
  */
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
-import com.vaadin.annotations.Theme;
-import com.vaadin.tests.layouts.layouttester.BaseComponentSizing;
+import java.util.Iterator;
+
+import com.vaadin.server.VaadinRequest;
+import com.vaadin.tests.layouts.layouttester.BaseLayoutSizing;
+import com.vaadin.ui.AbstractOrderedLayout;
+import com.vaadin.ui.Component;
 import com.vaadin.ui.HorizontalLayout;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Table;
+import com.vaadin.ui.VerticalLayout;
 
 /**
  *
@@ -25,7 +32,7 @@ import com.vaadin.ui.HorizontalLayout;
  * @author Vaadin Ltd
  */
 
-public class HLayoutSizing extends BaseComponentSizing {
+public class HLayoutSizing extends BaseLayoutSizing {
 
     /**
      * @param layoutClass
@@ -33,4 +40,29 @@ public class HLayoutSizing extends BaseComponentSizing {
     public HLayoutSizing() {
         super(HorizontalLayout.class);
     }
+
+    @Override
+    protected void setup(VaadinRequest request) {
+        super.setup(request);
+        Iterator<Component> iterator = l2.iterator();
+        while (iterator.hasNext()) {
+            Component component = iterator.next();
+            if (component instanceof Label) {
+                component.setWidth("30px");
+            }
+        }
+        mainLayout.setSizeFull();
+        getLayout().setSizeFull();
+        if (getLayout().getParent() instanceof VerticalLayout) {
+            ((VerticalLayout) getLayout().getParent()).setSizeFull();
+        }
+        mainLayout.setExpandRatio(l2, 2);
+    }
+
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "900px", h);
+        l1.setSizeUndefined();
+    }
 }
index 5a0c6e8f7867eee46db6611be8bda1257bdb945b..1f40ab89bee894f732d73931ba0eb58588eed45e 100644 (file)
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
 import com.vaadin.tests.layouts.layouttester.BaseAlignment;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.VerticalLayout;
 
 public class VAlignment extends BaseAlignment {
     public VAlignment() {
         super(VerticalLayout.class);
     }
+
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "400px", "500px");
+    }
 }
index 2ac2d74ed6dd650df2830496b8502b934541b64a..220e7e7968f7ff592562b4aabc307f0895332502 100644 (file)
@@ -15,8 +15,8 @@
  */
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
-import com.vaadin.annotations.Theme;
 import com.vaadin.tests.layouts.layouttester.BaseComponentSizing;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.VerticalLayout;
 
 /**
@@ -34,4 +34,13 @@ public class VComponentSizing extends BaseComponentSizing {
         super(VerticalLayout.class);
     }
 
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        l1.setWidth("400px");
+        l1.setHeight("-1px");
+        l2.setWidth("400px");
+        l2.setHeight("800px");
+    }
+
 }
index 0ac3e00cdb465827ec4b38679895fc3b756b18e6..a2391e81a031c1939d7990a0423bb90185dcf0e0 100644 (file)
@@ -15,8 +15,8 @@
  */
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
-import com.vaadin.annotations.Theme;
 import com.vaadin.tests.layouts.layouttester.BaseIcon;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.VerticalLayout;
 
 /**
@@ -34,4 +34,13 @@ public class VIcon extends BaseIcon {
         super(VerticalLayout.class);
     }
 
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "400px", "-1px");
+        l1.setSpacing(true);
+        l2.setSpacing(true);
+        mainLayout.setSpacing(true);
+    }
+
 }
index e0ba99ccc333c8f0ec92caa9783756bbb6abec3e..0b1f38e9995d683ca94228b775066a61681bbbef 100644 (file)
  */
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
-import com.vaadin.annotations.Theme;
+import java.util.Iterator;
+
+import com.vaadin.server.VaadinRequest;
 import com.vaadin.tests.layouts.layouttester.BaseLayoutForSpacingMargin;
+import com.vaadin.ui.AbstractOrderedLayout;
+import com.vaadin.ui.Component;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Table;
 import com.vaadin.ui.VerticalLayout;
 
 /**
@@ -34,4 +40,25 @@ public class VLayoutMarginSpacing extends BaseLayoutForSpacingMargin {
         super(VerticalLayout.class);
     }
 
+    @Override
+    protected void setup(VaadinRequest request) {
+        super.setup(request);
+        Iterator<Component> iterator = l2.iterator();
+        while (iterator.hasNext()) {
+            Component component = iterator.next();
+            if (component instanceof Table) {
+                component.setSizeUndefined();
+            } else if (component instanceof Label) {
+                component.setWidth("100%");
+            }
+        }
+    }
+
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        l1.setSizeUndefined();
+        l2.setSizeUndefined();
+    }
+
 }
index 40730e4a573e28e042ec8942885b810461766af9..b38c2028a1adabd13b01c8537722035b735aa390 100644 (file)
@@ -15,8 +15,8 @@
  */
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
-import com.vaadin.annotations.Theme;
 import com.vaadin.tests.layouts.layouttester.BaseRegError;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.VerticalLayout;
 
 /**
@@ -33,4 +33,10 @@ public class VLayoutRegError extends BaseRegError {
     public VLayoutRegError() {
         super(VerticalLayout.class);
     }
+
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        super.setLayoutMeasures(l1, l2, "400px", "900px");
+    }
 }
index 67f1c2cbd12b57e5ded027e51f17b7306c4f08a5..cb7c7bd57331b8652c46abfde12408c2e40e1aea 100644 (file)
@@ -15,8 +15,8 @@
  */
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
-import com.vaadin.annotations.Theme;
-import com.vaadin.tests.layouts.layouttester.BaseComponentSizing;
+import com.vaadin.tests.layouts.layouttester.BaseLayoutSizing;
+import com.vaadin.ui.AbstractOrderedLayout;
 import com.vaadin.ui.VerticalLayout;
 
 /**
@@ -25,7 +25,7 @@ import com.vaadin.ui.VerticalLayout;
  * @author Vaadin Ltd
  */
 
-public class VLayoutSizing extends BaseComponentSizing {
+public class VLayoutSizing extends BaseLayoutSizing {
 
     /**
      * @param layoutClass
@@ -34,4 +34,12 @@ public class VLayoutSizing extends BaseComponentSizing {
         super(VerticalLayout.class);
     }
 
+    @Override
+    protected void setLayoutMeasures(AbstractOrderedLayout l1,
+            AbstractOrderedLayout l2, String w, String h) {
+        l1.setWidth("400px");
+        l1.setHeight("-1px");
+        l2.setWidth("400px");
+        l2.setHeight("500px");
+    }
 }
index 2584573dc529df2e0e1fc18cd4e078d92147dadc..10c7087c3f715c763ebe781ca5f1b129c43d558e 100644 (file)
@@ -14,7 +14,8 @@ public abstract class BaseLayoutMarginSpacingTest extends MultiBrowserTest {
         openTestURL();
         sleep(500);
         compareScreen("initial");
-        String[] states = { "marginOnSpaceOff", "marginOnfSpaceOn" };
+        String[] states = { "marginOnSpaceOff", "marginOnSpaceOn",
+                "marginOffSpaceOn" };
         ButtonElement marginBtn = $(ButtonElement.class).get(0);
         ButtonElement spaceBtn = $(ButtonElement.class).get(1);
         marginBtn.click();
@@ -23,5 +24,8 @@ public abstract class BaseLayoutMarginSpacingTest extends MultiBrowserTest {
         spaceBtn.click();
         sleep(1000);
         compareScreen(states[1]);
+        marginBtn.click();
+        sleep(1000);
+        compareScreen(states[2]);
     }
 }
\ No newline at end of file
index ee2a474544c6c9ec1fdff6a272e7f7ba88debda8..0c0321276af3d60f56fdde0d336a4cd81704b8ad 100644 (file)
@@ -14,13 +14,14 @@ import com.vaadin.tests.tb3.MultiBrowserTest;
  * @author Vaadin Ltd
  */
 public abstract class BaseLayoutSizingTest extends MultiBrowserTest {
+    protected String[] states = new String[] { "setSize350px", "setSize_-1px",
+            "setSize75Percent", "setSize100Percent" };
+
     @Test
     public void LayoutSizing() throws IOException, InterruptedException {
         openTestURL();
         sleep(500);
         compareScreen("initial");
-        String[] states = { "setSize350px", "setSize_-1px", "setSize75Percent",
-                "setSize100Percent" };
         List<ButtonElement> buttons = $(ButtonElement.class).all();
         int index = 0;
         // go through all buttons click them and see result
index 0c88d20cf25ab4e43f806e1ab68aeeacfe96c296..722d67b69e04951fe0de6a8d7495a9a36e9a1f62 100644 (file)
@@ -1,5 +1,13 @@
 package com.vaadin.tests.layouts.layouttester.GridLayout;
 
+import static org.junit.Assert.assertEquals;
+
+import java.io.IOException;
+import java.util.List;
+
+import org.openqa.selenium.interactions.Actions;
+
+import com.vaadin.testbench.elements.CheckBoxElement;
 import com.vaadin.tests.layouts.layouttester.BaseLayoutRegErrorTest;
 
 /**
@@ -9,4 +17,19 @@ import com.vaadin.tests.layouts.layouttester.BaseLayoutRegErrorTest;
  */
 public class GridLayoutRegErrorTest extends BaseLayoutRegErrorTest {
 
+    @Override
+    public void LayoutRegError() throws IOException {
+        super.LayoutRegError();
+
+        // The layout is too high to fit into one screenshot, we need to scroll
+        // and take another.
+
+        List<CheckBoxElement> checkBoxes = $(CheckBoxElement.class).all();
+        assertEquals(3, checkBoxes.size());
+        CheckBoxElement lastCheckBox = checkBoxes.get(2);
+
+        new Actions(driver).moveToElement(lastCheckBox).build().perform();
+
+        compareScreen("RegError-Scrolled");
+    }
 }
\ No newline at end of file
index b25da0a5ab2c51dfc5daf372adbc2301f143af70..28e2c26d3929d9bba6d91766a180fdf9b122fe24 100644 (file)
@@ -1,5 +1,7 @@
 package com.vaadin.tests.layouts.layouttester.GridLayout;
 
+import java.io.IOException;
+
 import com.vaadin.tests.layouts.layouttester.BaseLayoutSizingTest;
 
 /**
@@ -9,4 +11,9 @@ import com.vaadin.tests.layouts.layouttester.BaseLayoutSizingTest;
  */
 public class GridLayoutSizingTest extends BaseLayoutSizingTest {
 
+    @Override
+    public void LayoutSizing() throws IOException, InterruptedException {
+        states[0] = "setSize600px";
+        super.LayoutSizing();
+    }
 }
\ No newline at end of file
index 776c0c8ae943b4aebc98516f128ce2e14809a987..eb0e05b9ec07a472a3729eabe6f63e454b977c48 100644 (file)
@@ -1,6 +1,34 @@
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
+import static org.junit.Assert.assertEquals;
+
+import java.io.IOException;
+import java.util.List;
+
+import org.openqa.selenium.interactions.Actions;
+
+import com.vaadin.testbench.elements.HorizontalLayoutElement;
 import com.vaadin.tests.layouts.layouttester.BaseIconTest;
 
 public class HIconTest extends BaseIconTest {
+
+    @Override
+    public void LayoutIcon() throws IOException {
+        super.LayoutIcon();
+
+        // The layout is too wide to fit into one screenshot, we need to scroll
+        // and take another.
+
+        List<HorizontalLayoutElement> layouts = $(HorizontalLayoutElement.class)
+                .all();
+        assertEquals(8, layouts.size());
+        HorizontalLayoutElement lastOfRow1 = layouts.get(3);
+        HorizontalLayoutElement lastOfRow2 = layouts.get(7);
+
+        // scroll to both to ensure both contents are fully in view
+        new Actions(driver).moveToElement(lastOfRow1).build().perform();
+        new Actions(driver).moveToElement(lastOfRow2).build().perform();
+
+        compareScreen("icon-scrolled");
+    }
 }
index 8183746103d9f50420090d98d0a0a47f1f4f2389..fdd54c0fe0edebf337b04bc6414b387be86a0166 100644 (file)
@@ -1,6 +1,47 @@
 package com.vaadin.tests.layouts.layouttester.HLayout;
 
+import static org.junit.Assert.assertEquals;
+
+import java.io.IOException;
+import java.util.List;
+
+import org.openqa.selenium.interactions.Actions;
+
+import com.vaadin.testbench.elements.HorizontalLayoutElement;
 import com.vaadin.tests.layouts.layouttester.BaseLayoutRegErrorTest;
 
 public class HLayoutRegErrorTest extends BaseLayoutRegErrorTest {
+
+    @Override
+    public void LayoutRegError() throws IOException {
+        super.LayoutRegError();
+
+        // The layout is too wide to fit into one screenshot, we need to scroll
+        // and take two more.
+
+        List<HorizontalLayoutElement> layouts = $(HorizontalLayoutElement.class)
+                .all();
+        assertEquals(10, layouts.size());
+        HorizontalLayoutElement group2row1 = layouts.get(2);
+        HorizontalLayoutElement group2row2 = layouts.get(7);
+        HorizontalLayoutElement group3row1 = layouts.get(3);
+        HorizontalLayoutElement group3row2 = layouts.get(8);
+        HorizontalLayoutElement lastOfRow1 = layouts.get(4);
+        HorizontalLayoutElement lastOfRow2 = layouts.get(9);
+
+        // scroll to both to ensure both contents are fully in view
+        new Actions(driver).moveToElement(group3row1).build().perform();
+        new Actions(driver).moveToElement(group3row2).build().perform();
+        // scroll back to get the previous group at the left edge
+        new Actions(driver).moveToElement(group2row1).build().perform();
+        new Actions(driver).moveToElement(group2row2).build().perform();
+
+        compareScreen("RegError-Scrolled-Middle");
+
+        // scroll to last ones
+        new Actions(driver).moveToElement(lastOfRow1).build().perform();
+        new Actions(driver).moveToElement(lastOfRow2).build().perform();
+
+        compareScreen("RegError-Scrolled-End");
+    }
 }
index 48184a0591df37b9a967ddf51c91f90894aa5396..d8ab553b7eecca423af78d078ee9ce2abbb754f0 100644 (file)
@@ -1,6 +1,30 @@
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
+import static org.junit.Assert.assertEquals;
+
+import java.io.IOException;
+import java.util.List;
+
+import org.openqa.selenium.interactions.Actions;
+
+import com.vaadin.testbench.elements.TextFieldElement;
 import com.vaadin.tests.layouts.layouttester.BaseAlignmentTest;
 
 public class VAlignmentTest extends BaseAlignmentTest {
+
+    @Override
+    public void layoutAlignment() throws IOException {
+        super.layoutAlignment();
+
+        // The layout is too high to fit into one screenshot, we need to scroll
+        // and take another.
+
+        List<TextFieldElement> textFields = $(TextFieldElement.class).all();
+        assertEquals(9, textFields.size());
+        TextFieldElement lastTextField = textFields.get(8);
+
+        new Actions(driver).moveToElement(lastTextField).build().perform();
+
+        compareScreen("alignment-scrolled");
+    }
 }
index cabb6c3a4b9b584c29ae3eed1c89ef3138cd89ae..16925e6339f875655c154a36768b862804abde6c 100644 (file)
@@ -1,6 +1,49 @@
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
+import static org.junit.Assert.assertEquals;
+
+import java.io.IOException;
+import java.util.List;
+
+import org.openqa.selenium.interactions.Actions;
+
+import com.vaadin.testbench.elements.ButtonElement;
+import com.vaadin.testbench.elements.VerticalLayoutElement;
 import com.vaadin.tests.layouts.layouttester.BaseComponentSizingTest;
 
 public class VComponentSizingTest extends BaseComponentSizingTest {
+
+    @Override
+    public void ComponentSizing() throws IOException, InterruptedException {
+        openTestURL();
+        sleep(500);
+
+        // The layout is too high to fit into one screenshot, we need to scroll
+        // down to see relevant content. And keep doing it since interacting
+        // with the controls scrolls back up again.
+
+        List<VerticalLayoutElement> layouts = $(VerticalLayoutElement.class)
+                .all();
+        assertEquals(5, layouts.size());
+        VerticalLayoutElement lastLayout = layouts.get(4);
+
+        compareScreen("initial");
+
+        new Actions(driver).moveToElement(lastLayout).build().perform();
+        compareScreen("scrolled");
+
+        String[] states = { "setSize350px", "setSize_-1px", "setSize75Percent",
+                "setSize100Percent" };
+        List<ButtonElement> buttons = $(ButtonElement.class).all();
+        int index = 0;
+        // go through all buttons click them and see result
+        for (ButtonElement btn : buttons) {
+            btn.click();
+            sleep(500);
+            new Actions(driver).moveToElement(lastLayout).build().perform();
+            compareScreen(states[index]);
+
+            index++;
+        }
+    }
 }
index 970a3d96075eaeb4c3652be0aae0477055d6f95d..699d05fbefb111267b47fe44d3e02f736691ca43 100644 (file)
@@ -1,5 +1,13 @@
 package com.vaadin.tests.layouts.layouttester.VLayout;
 
+import static org.junit.Assert.assertEquals;
+
+import java.io.IOException;
+import java.util.List;
+
+import org.openqa.selenium.interactions.Actions;
+
+import com.vaadin.testbench.elements.CheckBoxElement;
 import com.vaadin.tests.layouts.layouttester.BaseLayoutRegErrorTest;
 
 /**
@@ -8,4 +16,20 @@ import com.vaadin.tests.layouts.layouttester.BaseLayoutRegErrorTest;
  * @author Vaadin Ltd
  */
 public class VLayoutRegErrorTest extends BaseLayoutRegErrorTest {
+
+    @Override
+    public void LayoutRegError() throws IOException {
+        super.LayoutRegError();
+
+        // The layout is too high to fit into one screenshot, we need to scroll
+        // and take another.
+
+        List<CheckBoxElement> checkBoxes = $(CheckBoxElement.class).all();
+        assertEquals(3, checkBoxes.size());
+        CheckBoxElement lastCheckBox = checkBoxes.get(2);
+
+        new Actions(driver).moveToElement(lastCheckBox).build().perform();
+
+        compareScreen("RegError-Scrolled");
+    }
 }