junit.framework.AssertionFailedError: Was expecting 'selectPackage.jsp' but it appears the Action has tried to return an ActionForward that is not mapped correctly.

strutstestcase | joglekar_pvn | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    junit.framework.AssertionFailedError:

    strutstestcase | 10 years ago | joglekar_pvn
    junit.framework.AssertionFailedError: Was expecting 'selectPackage.jsp' but it appears the Action has tried to return an ActionForward that is not mapped correctly.

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      Was expecting 'selectPackage.jsp' but it appears the Action has tried to return an ActionForward that is not mapped correctly.

      at servletunit.struts.MockStrutsTestCase.verifyForwardPath()
    2. servletunit.struts
      MockStrutsTestCase.verifyForwardPath
      1. servletunit.struts.MockStrutsTestCase.verifyForwardPath(MockStrutsTestCase.java:707)
      1 frame
    3. com.dna.O2
      TestCustomerSearchAction.testSuccessfulCustomerSearch
      1. com.dna.O2.test.TestCustomerSearchAction.testSuccessfulCustomerSearch(TestCustomerSearchAction.java:47)
      1 frame
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3 frames
    5. com.dna.O2
      TestCustomerSearchAction.main
      1. com.dna.O2.test.TestCustomerSearchAction.main(TestCustomerSearchAction.java:73)
      1 frame