aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2014-01-14 14:17:33 +0200
committerVaadin Code Review <review@vaadin.com>2014-01-15 07:34:50 +0000
commit857de0f2f3964f4459b665d1928641c1689ccd37 (patch)
treeee0e1d1f0d4ccaff1b4b04ee756bfbe64cc8fb4c
parentd00397f548cc9f4ddbcb7ce68fcf74ddd28d3769 (diff)
downloadvaadin-framework-857de0f2f3964f4459b665d1928641c1689ccd37.tar.gz
vaadin-framework-857de0f2f3964f4459b665d1928641c1689ccd37.zip
Renamed test according to conventions and fixed assertion text.
Change-Id: I7ede421f7e0c5ae726167b4ee7b2d8651a70c77c
-rw-r--r--uitest/src/com/vaadin/tests/applicationservlet/NoApplicationClassTest.java (renamed from uitest/src/com/vaadin/tests/applicationservlet/NoApplicationClass.java)4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/applicationservlet/NoApplicationClass.java b/uitest/src/com/vaadin/tests/applicationservlet/NoApplicationClassTest.java
index c2222c4608..9d1b052182 100644
--- a/uitest/src/com/vaadin/tests/applicationservlet/NoApplicationClass.java
+++ b/uitest/src/com/vaadin/tests/applicationservlet/NoApplicationClassTest.java
@@ -25,7 +25,7 @@ import org.openqa.selenium.remote.DesiredCapabilities;
import com.vaadin.tests.tb3.MultiBrowserTest;
-public class NoApplicationClass extends MultiBrowserTest {
+public class NoApplicationClassTest extends MultiBrowserTest {
@Test
public void testInvalidApplicationClass() {
@@ -33,7 +33,7 @@ public class NoApplicationClass extends MultiBrowserTest {
String exceptionMessage = getDriver().findElement(By.xpath("//pre[2]"))
.getText();
Assert.assertTrue(exceptionMessage
- .contains("ServletException: ClassThatIsNotPresent"));
+ .contains("ServletException: java.lang.ClassNotFoundException: ClassThatIsNotPresent"));
}
@Override