Ver código fonte

Renamed test according to conventions and fixed assertion text.

Change-Id: I7ede421f7e0c5ae726167b4ee7b2d8651a70c77c
tags/7.1.10
John Ahlroos 10 anos atrás
pai
commit
857de0f2f3

uitest/src/com/vaadin/tests/applicationservlet/NoApplicationClass.java → uitest/src/com/vaadin/tests/applicationservlet/NoApplicationClassTest.java Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar