From: Juho Nurminen Date: Fri, 7 Feb 2014 13:18:24 +0000 (+0200) Subject: Added missing exception declarations to TB3 tests X-Git-Tag: 7.2.0.beta1~182 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0ab789973a24db3e6b4187bde745f3fe8f81e4d3;p=vaadin-framework.git Added missing exception declarations to TB3 tests Change-Id: If81520024c16faa92ba84d91e669dab03a843eb9 --- diff --git a/uitest/src/com/vaadin/tests/components/orderedlayout/NestedLayoutCaptionHoverTest.java b/uitest/src/com/vaadin/tests/components/orderedlayout/NestedLayoutCaptionHoverTest.java index 904a4dd6f0..95a2c9f493 100644 --- a/uitest/src/com/vaadin/tests/components/orderedlayout/NestedLayoutCaptionHoverTest.java +++ b/uitest/src/com/vaadin/tests/components/orderedlayout/NestedLayoutCaptionHoverTest.java @@ -33,7 +33,7 @@ import com.vaadin.tests.tb3.MultiBrowserTest; public class NestedLayoutCaptionHoverTest extends MultiBrowserTest { @Test - public void testTooltipInNestedLayout() { + public void testTooltipInNestedLayout() throws Exception { openTestURL(); WebElement caption = getDriver().findElement( diff --git a/uitest/src/com/vaadin/tests/components/window/TooltipInWindowTest.java b/uitest/src/com/vaadin/tests/components/window/TooltipInWindowTest.java index 8f9538db7a..0e11041e3b 100644 --- a/uitest/src/com/vaadin/tests/components/window/TooltipInWindowTest.java +++ b/uitest/src/com/vaadin/tests/components/window/TooltipInWindowTest.java @@ -35,7 +35,7 @@ import com.vaadin.tests.tb3.MultiBrowserTest; public class TooltipInWindowTest extends MultiBrowserTest { @Test - public void testTooltipsInSubWindow() { + public void testTooltipsInSubWindow() throws Exception { openTestURL(); WebElement textfield = vaadinElementById("tf1"); diff --git a/uitest/src/com/vaadin/tests/push/PushLargeDataLongPollingTest.java b/uitest/src/com/vaadin/tests/push/PushLargeDataLongPollingTest.java index 624310f1b5..534c5287bb 100644 --- a/uitest/src/com/vaadin/tests/push/PushLargeDataLongPollingTest.java +++ b/uitest/src/com/vaadin/tests/push/PushLargeDataLongPollingTest.java @@ -24,7 +24,7 @@ import com.vaadin.tests.tb3.MultiBrowserTest; public class PushLargeDataLongPollingTest extends MultiBrowserTest { @Test - public void testLongPollingLargeData() { + public void testLongPollingLargeData() throws Exception { openTestURL(); // Without this there is a large chance that we will wait for all pushes @@ -38,7 +38,7 @@ public class PushLargeDataLongPollingTest extends MultiBrowserTest { } - private void push() { + private void push() throws InterruptedException { // Wait for startButton to be present waitForElementToBePresent(vaadinLocatorById("startButton"));