junit.framework.AssertionFailedError: was expecting some error messages, but received none.

strutstestcase | *anonymous | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 1

    .actionPerform() and ServletException

    strutstestcase | 1 decade ago | *anonymous
    junit.framework.AssertionFailedError: was expecting some error messages, but received none.
  2. 0

    Expected error messages

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: was expecting some error messages, but received none.

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      was expecting some error messages, but received none.

      at servletunit.struts.Common.verifyActionMessages()
    2. servletunit.struts
      MockStrutsTestCase.verifyActionErrors
      1. servletunit.struts.Common.verifyActionMessages(Common.java:80)
      2. servletunit.struts.MockStrutsTestCase.verifyActionErrors(MockStrutsTestCase.java:543)
      2 frames
    3. bulletinBoard
      TestAddTopicAction.testSuccessfulAddTopic
      1. bulletinBoard.TestAddTopicAction.testSuccessfulAddTopic(TestAddTopicAction.java:149)
      1 frame
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    5. bulletinBoard
      TestAddTopicAction.main
      1. bulletinBoard.TestAddTopicAction.main(TestAddTopicAction.java:103)
      1 frame