From 0ab789973a24db3e6b4187bde745f3fe8f81e4d3 Mon Sep 17 00:00:00 2001 From: Juho Nurminen Date: Fri, 7 Feb 2014 15:18:24 +0200 Subject: [PATCH] Added missing exception declarations to TB3 tests Change-Id: If81520024c16faa92ba84d91e669dab03a843eb9 --- .../orderedlayout/NestedLayoutCaptionHoverTest.java | 2 +- .../vaadin/tests/components/window/TooltipInWindowTest.java | 2 +- .../com/vaadin/tests/push/PushLargeDataLongPollingTest.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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")); -- 2.39.5