Commits

Anonymous committed 744ad78

Fixed XW-506
- Must extend XWorkTestCase to make sure the static ConfigurationManager and ActionProxyFactory doesn't cause sideeffects in other tests.
- See XW-506 where we had such a corner case where a test in ParametersInterceptorTest was failing because this unit test was extended TestCase directly.

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/xwork_1-2@1463e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/test/com/opensymphony/xwork/ActionProxyTest.java

 /*
- * Copyright (c) 2002-2006 by OpenSymphony
+ * Copyright (c) 2002-2007 by OpenSymphony
  * All rights reserved.
  */
 package com.opensymphony.xwork;
 import com.opensymphony.xwork.config.entities.PackageConfig;
 import com.opensymphony.xwork.config.entities.ResultConfig;
 
-import junit.framework.TestCase;
-
 /**
- * Test for XW-465
+ * Test for XW-465.
+ * <p/>
+ * Must extend XWorkTestCase to make sure the static ConfigurationManager and ActionProxyFactory doesn't cause sideeffects
+ * in other tests.
+ * <br/>
+ * See XW-506 where we had such a corner case where a test in ParametersInterceptorTest was failing because this unit test
+ * was extended TestCase directly.
  * 
  * @author tmjee
- * @version $Date$ $Id$
  */
-public class ActionProxyTest extends TestCase {
+public class ActionProxyTest extends XWorkTestCase {
 	
 	public static interface ProxyAction {
 		String show() throws Exception;