]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added missing exception declarations to TB3 tests
authorJuho Nurminen <juho@vaadin.com>
Fri, 7 Feb 2014 13:18:24 +0000 (15:18 +0200)
committerJuho Nurminen <juho@vaadin.com>
Fri, 7 Feb 2014 13:22:46 +0000 (15:22 +0200)
Change-Id: If81520024c16faa92ba84d91e669dab03a843eb9

uitest/src/com/vaadin/tests/components/orderedlayout/NestedLayoutCaptionHoverTest.java
uitest/src/com/vaadin/tests/components/window/TooltipInWindowTest.java
uitest/src/com/vaadin/tests/push/PushLargeDataLongPollingTest.java

index 904a4dd6f0935f8c58d319165753c850bf7385f8..95a2c9f49342bb24626dc9127f1aa86be602cc68 100644 (file)
@@ -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(
index 8f9538db7ac8851c6ec329d048616787ed81b085..0e11041e3b1e0b76f797f3ba2fa5b9b5317d32f8 100644 (file)
@@ -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");
index 624310f1b5b8e31f49a9e73f6c2ae78d887d8310..534c5287bba09e06fa20eca953eefa94694bf622 100644 (file)
@@ -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"));