瀏覽代碼

Tweaked layouttester tests to be more informative. (#11800)

tags/7.7.21
Anna Koskinen 4 年之前
父節點
當前提交
4bfdc5c006
No account linked to committer's email address
共有 100 個文件被更改,包括 117 次插入28 次删除
  1. 二進制
      uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png
  2. 二進制
      uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png
  3. 二進制
      uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png
  4. 二進制
      uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png
  5. 二進制
      uitest/reference-screenshots/GridAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png
  6. 二進制
      uitest/reference-screenshots/GridAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png
  7. 二進制
      uitest/reference-screenshots/GridCaptionTest-LayoutCaption_ANY_Chrome__caption.png
  8. 二進制
      uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png
  9. 二進制
      uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png
  10. 二進制
      uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png
  11. 二進制
      uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png
  12. 二進制
      uitest/reference-screenshots/GridComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png
  13. 二進制
      uitest/reference-screenshots/GridIconTest-LayoutIcon_ANY_Chrome__icon.png
  14. 二進制
      uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png
  15. 二進制
      uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png
  16. 二進制
      uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png
  17. 二進制
      uitest/reference-screenshots/GridLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png
  18. 二進制
      uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png
  19. 二進制
      uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png
  20. 二進制
      uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png
  21. 二進制
      uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png
  22. 二進制
      uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png
  23. 二進制
      uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png
  24. 二進制
      uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png
  25. 二進制
      uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png
  26. 二進制
      uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png
  27. 二進制
      uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png
  28. 二進制
      uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png
  29. 二進制
      uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png
  30. 二進制
      uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png
  31. 二進制
      uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__add.png
  32. 二進制
      uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__initial.png
  33. 二進制
      uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__move.png
  34. 二進制
      uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__remove.png
  35. 二進制
      uitest/reference-screenshots/HAddReplaceMoveTest-LayoutAlignment_ANY_Chrome__replace.png
  36. 二進制
      uitest/reference-screenshots/HAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png
  37. 二進制
      uitest/reference-screenshots/HCaptionTest-LayoutCaption_ANY_Chrome__caption.png
  38. 二進制
      uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png
  39. 二進制
      uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png
  40. 二進制
      uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png
  41. 二進制
      uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png
  42. 二進制
      uitest/reference-screenshots/HComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png
  43. 二進制
      uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon-scrolled.png
  44. 二進制
      uitest/reference-screenshots/HIconTest-LayoutIcon_ANY_Chrome__icon.png
  45. 二進制
      uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png
  46. 二進制
      uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png
  47. 二進制
      uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png
  48. 二進制
      uitest/reference-screenshots/HLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png
  49. 二進制
      uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png
  50. 二進制
      uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png
  51. 二進制
      uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png
  52. 二進制
      uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png
  53. 二進制
      uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png
  54. 二進制
      uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png
  55. 二進制
      uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png
  56. 二進制
      uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png
  57. 二進制
      uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png
  58. 二進制
      uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png
  59. 二進制
      uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png
  60. 二進制
      uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png
  61. 二進制
      uitest/reference-screenshots/HLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png
  62. 二進制
      uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment-scrolled.png
  63. 二進制
      uitest/reference-screenshots/VAlignmentTest-layoutAlignment_ANY_Chrome__alignment.png
  64. 二進制
      uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__initial.png
  65. 二進制
      uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__scrolled.png
  66. 二進制
      uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize100Percent.png
  67. 二進制
      uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize350px.png
  68. 二進制
      uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize75Percent.png
  69. 二進制
      uitest/reference-screenshots/VComponentSizingTest-ComponentSizing_ANY_Chrome__setSize_-1px.png
  70. 二進制
      uitest/reference-screenshots/VIconTest-LayoutIcon_ANY_Chrome__icon.png
  71. 二進制
      uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_100_0.png
  72. 二進制
      uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_25_75.png
  73. 二進制
      uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__expand_50_50.png
  74. 二進制
      uitest/reference-screenshots/VLayoutExpandTest-LayoutExpand_ANY_Chrome__initial.png
  75. 二進制
      uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__initial.png
  76. 二進制
      uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOffSpaceOn.png
  77. 二進制
      uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png
  78. 二進制
      uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png
  79. 二進制
      uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png
  80. 二進制
      uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png
  81. 二進制
      uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError.png
  82. 二進制
      uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__initial.png
  83. 二進制
      uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize100Percent.png
  84. 二進制
      uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize350px.png
  85. 二進制
      uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize75Percent.png
  86. 二進制
      uitest/reference-screenshots/VLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize_-1px.png
  87. 1
    1
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseAlignment.java
  88. 0
    2
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutExpand.java
  89. 0
    2
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutForSpacingMargin.java
  90. 19
    11
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutTestUI.java
  91. 1
    2
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridAlignment.java
  92. 4
    5
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridBaseLayoutTestUI.java
  93. 1
    0
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridComponentSizing.java
  94. 10
    0
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridIcon.java
  95. 1
    2
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutExpand.java
  96. 2
    2
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutMarginSpacing.java
  97. 7
    0
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutRegError.java
  98. 64
    0
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutSizing.java
  99. 7
    1
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HAddReplaceMove.java
  100. 0
    0
      uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HAlignment.java

二進制
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 查看文件


二進制
uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png 查看文件


二進制
uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png 查看文件


二進制
uitest/reference-screenshots/GridLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png 查看文件


二進制
uitest/reference-screenshots/GridLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png 查看文件


二進制
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 查看文件


二進制
uitest/reference-screenshots/GridLayoutSizingTest-LayoutSizing_ANY_Chrome__setSize600px.png 查看文件


二進制
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 查看文件


二進制
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 查看文件


二進制
uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png 查看文件


二進制
uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png 查看文件


二進制
uitest/reference-screenshots/HLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png 查看文件


二進制
uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-End.png 查看文件


二進制
uitest/reference-screenshots/HLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled-Middle.png 查看文件


二進制
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 查看文件


二進制
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 查看文件


二進制
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 查看文件


二進制
uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOff.png 查看文件


二進制
uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnSpaceOn.png 查看文件


二進制
uitest/reference-screenshots/VLayoutMarginSpacingTest-LayoutMarginSpacing_ANY_Chrome__marginOnfSpaceOn.png 查看文件


二進制
uitest/reference-screenshots/VLayoutRegErrorTest-LayoutRegError_ANY_Chrome__RegError-Scrolled.png 查看文件


二進制
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 查看文件


+ 1
- 1
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseAlignment.java 查看文件

@@ -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]);

+ 0
- 2
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutExpand.java 查看文件

@@ -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);


+ 0
- 2
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutForSpacingMargin.java 查看文件

@@ -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);

+ 19
- 11
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/BaseLayoutTestUI.java 查看文件

@@ -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,

+ 1
- 2
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridAlignment.java 查看文件

@@ -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]);

+ 4
- 5
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridBaseLayoutTestUI.java 查看文件

@@ -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");
}
}

+ 1
- 0
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridComponentSizing.java 查看文件

@@ -28,5 +28,6 @@ public class GridComponentSizing extends GridBaseLayoutTestUI {
protected void setup(VaadinRequest request) {
getLayoutForLayoutSizing("component");
super.setup(request);
layout.setSizeFull();
}
}

+ 10
- 0
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridIcon.java 查看文件

@@ -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);
}
}

+ 1
- 2
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutExpand.java 查看文件

@@ -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);

+ 2
- 2
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutMarginSpacing.java 查看文件

@@ -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() {

+ 7
- 0
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutRegError.java 查看文件

@@ -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");
}
}

+ 64
- 0
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/GridLayout/GridLayoutSizing.java 查看文件

@@ -16,6 +16,12 @@
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");
}
}

+ 7
- 1
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HAddReplaceMove.java 查看文件

@@ -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);
}

}

+ 0
- 0
uitest/src/main/java/com/vaadin/tests/layouts/layouttester/HLayout/HAlignment.java 查看文件


部分文件因文件數量過多而無法顯示

Loading…
取消
儲存