Skip to content

Commit

Permalink
SEAMCATCH-52
Browse files Browse the repository at this point in the history
Fixing up the ftest.
  • Loading branch information
LightGuard committed Mar 25, 2011
1 parent 7fbb7f8 commit c5e3625
Showing 1 changed file with 3 additions and 8 deletions.
Expand Up @@ -62,14 +62,9 @@ public void testNullPointerException()
public void testAssertionError()
{
waitHttp(selenium).click(ASSERTIONERROR_LINK);
assertTrue(selenium.isTextPresent("using handler throwableHandler marking exception with markHandled " +
"message: No enum const class org.jboss.seam.exception.example.basic." +
"servlet.navigation.NavigationServlet$NavigationEnum.ASSERTIONERROR"),
"The information about using throwableHandler should appear");
assertTrue(selenium.isTextPresent("using handler illegalArgumentBreadthFirstHandler marking exception with " +
"dropCause message: No enum const class org.jboss.seam.exception.example.basic." +
"servlet.navigation.NavigationServlet$NavigationEnum.ASSERTIONERROR"),
"The information about using illegalArgumentBreadthFirstHandler should appear");
assertTrue(selenium.isTextPresent("javax.enterprise.event.ObserverException"));
assertTrue(selenium.isTextPresent("javax.servlet.ServletException: java.lang.AssertionError: Assertion Error"));
assertTrue(selenium.isTextPresent("java.lang.AssertionError: Assertion Error"));
}

@Test
Expand Down

0 comments on commit c5e3625

Please sign in to comment.