Commits

Anonymous committed 36ecd95

upadated to use MockActionInvocation from c.o.xwork.mock package
Issue number:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@879e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 6b49def

Comments (0)

Files changed (2)

src/test/com/opensymphony/xwork/interceptor/AliasInterceptorTest.java

 */
 package com.opensymphony.xwork.interceptor;
 
-import com.opensymphony.xwork.*;
 import com.opensymphony.xwork.mock.MockActionProxy;
+import com.opensymphony.xwork.mock.MockActionInvocation;
 import com.opensymphony.xwork.config.entities.ActionConfig;
+import com.opensymphony.xwork.*;
 
 import java.util.HashMap;
 import java.util.Map;
 /**
  * AliasInterceptorTest
  *
+ * Test of aliasInterceptor specifically depends on actionTest test defined in /test/xwork.xml
+ * stack.getContext().putAll(params);
+ * <p/>
+ * e.g.
+ * <action name="aliasTest" class="com.opensymphony.xwork.SimpleAction">
+ *    <param name="foo">17</param>
+ *    <param name="bar">23</param>
+ *    <param name="aliases">#{ "aliasSource" : "aliasDest", "bar":"baz" }</param>
+ *    <interceptor-ref name="defaultStack"/>
+ *    <interceptor-ref name="alias"/>
+ * </action>
+ *
  * @author Matthew Payne
- *         Date: June 28, 2005
- *         test of aliasInterceptor
- *         specifically depends on
- *         actionTest test defined in /test/xwork.xml
- *         stack.getContext().putAll(params);
- *         <p/>
- *         e.g.
- *         <action name="aliasTest" class="com.opensymphony.xwork.SimpleAction">
- *         <param name="foo">17</param>
- *         <param name="bar">23</param>
- *         <param name="aliases">#{ "aliasSource" : "aliasDest", "bar":"baz" }</param>
- *         <interceptor-ref name="defaultStack"/>
- *         <interceptor-ref name="alias"/>
- *         </action>
  */
 public class AliasInterceptorTest extends XWorkTestCase {
 

src/test/com/opensymphony/xwork/interceptor/PrepareInterceptorTest.java

 package com.opensymphony.xwork.interceptor;
 
 import com.mockobjects.dynamic.Mock;
-import com.opensymphony.xwork.*;
+import com.opensymphony.xwork.mock.MockActionInvocation;
+import com.opensymphony.xwork.Preparable;
+import com.opensymphony.xwork.Action;
 import junit.framework.TestCase;
 
 /**