summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAutomerge <automerge@vaadin.com>2012-02-15 15:19:14 +0000
committerAutomerge <automerge@vaadin.com>2012-02-15 15:19:14 +0000
commit3c2de952974b3e0e82de7951d814fd6312b434af (patch)
treec4e3c902a285d8eb2b2d032322cd218e45432c0a /tests
parent3ef20fe8faf7459bfb36d68bab0a05b47d6f40b3 (diff)
downloadvaadin-framework-3c2de952974b3e0e82de7951d814fd6312b434af.tar.gz
vaadin-framework-3c2de952974b3e0e82de7951d814fd6312b434af.zip
[merge from 6.7] Set explicit resolution to make screenshot merging easier
svn changeset:23037/svn branch:6.8
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testbench/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java b/tests/testbench/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
index 2b006fbfca..474df7abcb 100644
--- a/tests/testbench/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
+++ b/tests/testbench/com/vaadin/tests/layouts/layouttester/GridLayoutTests.java
@@ -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]);