]> source.dussan.org Git - vaadin-framework.git/commitdiff
[merge from 6.7] Set explicit resolution to make screenshot merging easier
authorAutomerge <automerge@vaadin.com>
Wed, 15 Feb 2012 15:19:14 +0000 (15:19 +0000)
committerAutomerge <automerge@vaadin.com>
Wed, 15 Feb 2012 15:19:14 +0000 (15:19 +0000)
svn changeset:23037/svn branch:6.8

tests/testbench/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java

index 2b006fbfcaee1fc62afe51e063815b784887623a..474df7abcb5c82905330f05cb4b903e0434c6411 100644 (file)
@@ -66,6 +66,9 @@ public class GridLayoutTests extends AbstractLayoutTests {
         glo.replaceComponent(row1, row1 = new DateField());
         glo.replaceComponent(row2, row2 = new DateField());
         glo.replaceComponent(row3, row3 = new DateField());
+        ((DateField) row1).setResolution(DateField.RESOLUTION_SEC);
+        ((DateField) row2).setResolution(DateField.RESOLUTION_SEC);
+        ((DateField) row2).setResolution(DateField.RESOLUTION_SEC);
         glo.setComponentAlignment(col2, alignments[6]);
         glo.setComponentAlignment(col3, alignments[7]);
         glo.setComponentAlignment(col1, alignments[8]);