diff options
-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 |