struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afshartous, Nick" <nick.afshart...@proactcorp.com>
Subject Struts TestCase v1.9 exception
Date Fri, 06 Dec 2002 15:48:41 GMT

Hi,

I'm trying to use Struts TestCase v1.9 and am getting the exception below
when calling actionPerform().  Thanks for any explanation.  
--
      Nick

 <testcase name="testSuccessfulUserLogon" time="6.123">
    <failure message="Error running action.perform(): class
java.lang.ClassCastException - org.apache.struts.action.ActionMapping"
type="org.apache.cactus.client.AssertionFailedErrorWrapper">junit.framework.
AssertionFailedError: Error running action.perform(): class
java.lang.ClassCastException - org.apache.struts.action.ActionMapping

	at junit.framework.Assert.fail(Assert.java:51)
	at
servletunit.struts.CactusStrutsTestCase.actionPerform(CactusStrutsTestCase.j
ava:278)
	at
testcases.com.proactcorp.web.benmgmt.common.security.action.TestLogonAction.
logon(TestLogonAction.java:62) 
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message