Commits

Anonymous committed d61972c

- make these testcases extends off XWorkTestCase

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

Comments (0)

Files changed (6)

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

 
 import java.util.HashMap;
 
-import junit.framework.TestCase;
-
 
 /**
  * Simple Test ActionContext's ThreadLocal
  * @author tm_jee
  * @version $Date$ $Id$
  */
-public class ActionContextThreadLocalTest extends TestCase {
+public class ActionContextThreadLocalTest extends XWorkTestCase {
 
 	
 	public void testGetContext() throws Exception {

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

 package com.opensymphony.xwork;
 
 import com.opensymphony.xwork.config.ConfigurationManager;
-import junit.framework.TestCase;
 
 import java.util.HashMap;
 
  * @author $Author$
  * @version $Revision$
  */
-public class ActionInvocationTest extends TestCase {
+public class ActionInvocationTest extends XWorkTestCase {
 
     public void testCommandInvocation() throws Exception {
         ActionProxy baseActionProxy = ActionProxyFactory.getFactory().createActionProxy("baz", "commandTest", null);

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

 /**
  * @author CameronBraid
  */
-public class ChainResultTest extends TestCase {
+public class ChainResultTest extends XWorkTestCase {
 
     protected void setUp() throws Exception {
         super.setUp();

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

 import com.opensymphony.xwork.config.ConfigurationManager;
 import com.opensymphony.xwork.config.providers.MockConfigurationProvider;
 import com.opensymphony.xwork.util.OgnlValueStack;
-import junit.framework.TestCase;
 
 import java.util.Locale;
 
  * @author Jason Carreira
  *         Created Feb 10, 2003 6:13:13 PM
  */
-public class LocaleAwareTest extends TestCase {
+public class LocaleAwareTest extends XWorkTestCase {
 
     public void testGetText() {
         try {

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

 
 package com.opensymphony.xwork;
 
-import junit.framework.TestCase;
 import com.opensymphony.xwork.config.ConfigurationManager;
 import com.opensymphony.xwork.mock.MockResult;
 
  * @author <a href="mailto:hermanns@aixcept.de">Rainer Hermanns</a>
  * @version $Id$
  */
-public class WildCardResultTest extends TestCase {
+public class WildCardResultTest extends XWorkTestCase {
 
     protected void setUp() throws Exception {
         super.setUp();

src/test/com/opensymphony/xwork/config/entities/ActionConfigTest.java

 import com.opensymphony.xwork.util.location.LocationImpl;
 import com.opensymphony.xwork.XWorkTestCase;
 
-import java.util.HashMap;
-
 
 /**
  * ActionConfigTest