Hi,
Sorry to bother again. I'm running my action tests and this is what I get
when I try to run 'InstallationActionTest'
Again, I did see this error posted by someone, but didn't quite get a
resolution out of it.
Thanks in advance for any help,
~Vanessa
[echo] Testing web...
[junit] Testsuite: com.bis.spies.webapp.action.InstallationActionTest
[junit] Tests run: 5, Failures: 4, Errors: 0, Time elapsed: 55.581 sec
[junit]
[junit] Testcase:
testEdit(com.bis.spies.webapp.action.InstallationActionTest):
FAILED
[junit] was expecting '/WEB-INF/pages/installationForm.jsp' but
received '/mainMenu.html'
[junit] junit.framework.AssertionFailedError: was expecting
'/WEB-INF/pages/installationForm.jsp' but received '/mainMenu.html'
[junit] at
servletunit.struts.Common.verifyForwardPath(Common.java:345)
[junit] at
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.jav
a:675)
[junit] at
com.bis.spies.webapp.action.InstallationActionTest.testEdit(InstallationAc
tionTest.java:35)
[junit]
[junit]
[junit] Testcase:
testSave(com.bis.spies.webapp.action.InstallationActionTest):
FAILED
[junit] was expecting '/editInstallation.html?method=Search' but
received '/mainMenu.html'
[junit] junit.framework.AssertionFailedError: was expecting
'/editInstallation.html?method=Search' but received '/mainMenu.html'
[junit] at
servletunit.struts.Common.verifyForwardPath(Common.java:345)
[junit] at
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.jav
a:675)
[junit] at
com.bis.spies.webapp.action.InstallationActionTest.testSave(InstallationAc
tionTest.java:55)
[junit]
[junit]
[junit] Testcase:
testSearch(com.bis.spies.webapp.action.InstallationActionTest):
FAILED
[junit] was expecting '/WEB-INF/pages/installationList.jsp' but
received '/mainMenu.html'
[junit] junit.framework.AssertionFailedError: was expecting
'/WEB-INF/pages/installationList.jsp' but received '/mainMenu.html'
[junit] at
servletunit.struts.Common.verifyForwardPath(Common.java:345)
[junit] at
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.jav
a:675)
[junit] at
com.bis.spies.webapp.action.InstallationActionTest.testSearch(Installation
ActionTest.java:64)
[junit]
[junit]
[junit] Testcase:
testRemove(com.bis.spies.webapp.action.InstallationActionTest):
FAILED
[junit] was expecting '/editInstallation.html?method=Search' but
received '/mainMenu.html'
[junit] junit.framework.AssertionFailedError: was expecting
'/editInstallation.html?method=Search' but received '/mainMenu.html'
[junit] at
servletunit.struts.Common.verifyForwardPath(Common.java:345)
[junit] at
servletunit.struts.MockStrutsTestCase.verifyForward(MockStrutsTestCase.jav
a:675)
[junit] at
com.bis.spies.webapp.action.InstallationActionTest.testRemove(Installation
ActionTest.java:75)
[junit]
[junit]
[junit] Test com.bis.spies.webapp.action.InstallationActionTest FAILED
Vanessa Pacheco
Programmer
Bowman Systems L.L.C
318.213.8780x307
======================================
IMPORTANT WARNING: This message is intended for the use of the person or
entity to which it is addressed and may contain information that is
privileged and confidential, the disclosure of which is governed by
applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this information is strictly prohibited. If you
have received this message in error, please notify the sender immediately
and arrange for the return or destruction of these documents.