aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/application/ReconnectDialogThemeTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/test/java/com/vaadin/tests/application/ReconnectDialogThemeTest.java')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/application/ReconnectDialogThemeTest.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/application/ReconnectDialogThemeTest.java b/uitest/src/test/java/com/vaadin/tests/application/ReconnectDialogThemeTest.java
index 49dabf467c..121abd505e 100644
--- a/uitest/src/test/java/com/vaadin/tests/application/ReconnectDialogThemeTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/application/ReconnectDialogThemeTest.java
@@ -15,13 +15,15 @@
*/
package com.vaadin.tests.application;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.fail;
+
import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import javax.imageio.ImageIO;
-import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.OutputType;
@@ -46,7 +48,7 @@ public class ReconnectDialogThemeTest extends MultiBrowserThemeTestWithProxy {
ButtonElement helloButton = $(ButtonElement.class).caption("Say hello")
.first();
helloButton.click();
- Assert.assertEquals("1. Hello from the server", getLogRow(0));
+ assertEquals("1. Hello from the server", getLogRow(0));
disconnectProxy();
helloButton.click();
testBench().disableWaitForVaadin();
@@ -130,7 +132,7 @@ public class ReconnectDialogThemeTest extends MultiBrowserThemeTestWithProxy {
}
}
}
- Assert.fail(message);
+ fail(message);
}