From 67629854f920d734ceab541d8b27202ef04f6043 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 20 Dec 2011 10:37:08 +0000 Subject: [PATCH] Fixed test mixup svn changeset:22455/svn branch:6.8 --- .../tests/application/WebBrowserSizeTest.html | 25 +++++-------------- .../tests/application/WebBrowserTest.html | 23 +++++++++++++---- .../tests/application/WebBrowserTest.java | 7 ------ 3 files changed, 24 insertions(+), 31 deletions(-) diff --git a/tests/testbench/com/vaadin/tests/application/WebBrowserSizeTest.html b/tests/testbench/com/vaadin/tests/application/WebBrowserSizeTest.html index f04dd564bf..3c59c7a953 100644 --- a/tests/testbench/com/vaadin/tests/application/WebBrowserSizeTest.html +++ b/tests/testbench/com/vaadin/tests/application/WebBrowserSizeTest.html @@ -13,32 +13,19 @@ open - /run/com.vaadin.tests.application.WebBrowserTest?restartApplication + /run/com.vaadin.tests.application.WebBrowserSizeTest?restartApplication click - vaadin=runcomvaadintestsapplicationWebBrowserTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0] + vaadin=runcomvaadintestsapplicationWebBrowserSizeTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0] - - assertText - vaadin=runcomvaadintestsapplicationWebBrowserTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VLabel[0] - 7200000 - - - - assertText - vaadin=runcomvaadintestsapplicationWebBrowserTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[6]/VLabel[0] - 0 - - - - assertText - vaadin=runcomvaadintestsapplicationWebBrowserTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VLabel[0] - Yes + screenCapture + + size - + \ No newline at end of file diff --git a/tests/testbench/com/vaadin/tests/application/WebBrowserTest.html b/tests/testbench/com/vaadin/tests/application/WebBrowserTest.html index 4648f6abb1..f04dd564bf 100644 --- a/tests/testbench/com/vaadin/tests/application/WebBrowserTest.html +++ b/tests/testbench/com/vaadin/tests/application/WebBrowserTest.html @@ -13,18 +13,31 @@ open - /run/com.vaadin.tests.application.WebBrowserSizeTest?restartApplication + /run/com.vaadin.tests.application.WebBrowserTest?restartApplication click - vaadin=runcomvaadintestsapplicationWebBrowserSizeTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0] + vaadin=runcomvaadintestsapplicationWebBrowserTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VButton[0]/domChild[0]/domChild[0] + - screenCapture - - size + assertText + vaadin=runcomvaadintestsapplicationWebBrowserTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VLabel[0] + 7200000 + + + + assertText + vaadin=runcomvaadintestsapplicationWebBrowserTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[6]/VLabel[0] + 0 + + + + assertText + vaadin=runcomvaadintestsapplicationWebBrowserTest::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[7]/VLabel[0] + Yes diff --git a/tests/testbench/com/vaadin/tests/application/WebBrowserTest.java b/tests/testbench/com/vaadin/tests/application/WebBrowserTest.java index e95daf3144..31e7534042 100644 --- a/tests/testbench/com/vaadin/tests/application/WebBrowserTest.java +++ b/tests/testbench/com/vaadin/tests/application/WebBrowserTest.java @@ -76,13 +76,6 @@ public class WebBrowserTest extends TestBase { }); addComponent(update); - addComponent(new Button("Hide non-static info", - new Button.ClickListener() { - - public void buttonClick(ClickEvent event) { - - } - })); addComponent(offsetLabel); addComponent(rawOffsetLabel); addComponent(dstDiffLabel); -- 2.39.5