Commits

Anonymous committed cfb257c

Intermediate move...

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

  • Participants
  • Parent commits 868f754

Comments (0)

Files changed (6)

File src/java/com/opensymphony/xwork2/XWorkTestCase.java

 
 package com.opensymphony.xwork2;
 
-import java.util.Arrays;
-
 import junit.framework.TestCase;
 
 import com.opensymphony.xwork2.config.Configuration;
 import com.opensymphony.xwork2.config.ConfigurationException;
 import com.opensymphony.xwork2.config.ConfigurationManager;
 import com.opensymphony.xwork2.config.ConfigurationProvider;
-import com.opensymphony.xwork2.config.impl.DefaultConfiguration;
-import com.opensymphony.xwork2.config.impl.MockConfiguration;
-import com.opensymphony.xwork2.config.providers.XWorkConfigurationProvider;
-import com.opensymphony.xwork2.config.providers.XmlConfigurationProvider;
-import com.opensymphony.xwork2.conversion.ObjectTypeDeterminer;
 import com.opensymphony.xwork2.inject.Container;
 import com.opensymphony.xwork2.inject.ContainerBuilder;
 import com.opensymphony.xwork2.inject.Context;
 import com.opensymphony.xwork2.inject.Factory;
 import com.opensymphony.xwork2.inject.Scope;
-import com.opensymphony.xwork2.mock.MockObjectTypeDeterminer;
-import com.opensymphony.xwork2.util.Cat;
+import com.opensymphony.xwork2.test.StubConfigurationProvider;
 import com.opensymphony.xwork2.util.XWorkTestCaseHelper;
 import com.opensymphony.xwork2.util.location.LocatableProperties;
 

File src/test/com/opensymphony/xwork2/StubConfigurationProvider.java

-package com.opensymphony.xwork2;
-
-import com.opensymphony.xwork2.config.Configuration;
-import com.opensymphony.xwork2.config.ConfigurationException;
-import com.opensymphony.xwork2.config.ConfigurationProvider;
-import com.opensymphony.xwork2.inject.ContainerBuilder;
-import com.opensymphony.xwork2.util.location.LocatableProperties;
-
-public class StubConfigurationProvider implements ConfigurationProvider {
-
-    public void destroy() {
-        // TODO Auto-generated method stub
-
-    }
-
-    public void init(Configuration configuration) throws ConfigurationException {
-        // TODO Auto-generated method stub
-
-    }
-
-    public void loadPackages() throws ConfigurationException {
-        // TODO Auto-generated method stub
-
-    }
-
-    public boolean needsReload() {
-        // TODO Auto-generated method stub
-        return false;
-    }
-
-    public void register(ContainerBuilder builder, LocatableProperties props)
-            throws ConfigurationException {
-        // TODO Auto-generated method stub
-
-    }
-
-}

File src/test/com/opensymphony/xwork2/ognl/SetPropertiesTest.java

 import ognl.OgnlRuntime;
 
 import com.opensymphony.xwork2.ActionContext;
-import com.opensymphony.xwork2.StubConfigurationProvider;
 import com.opensymphony.xwork2.XWorkTestCase;
 import com.opensymphony.xwork2.config.ConfigurationException;
 import com.opensymphony.xwork2.conversion.ObjectTypeDeterminer;
 import com.opensymphony.xwork2.inject.Scope;
 import com.opensymphony.xwork2.mock.MockObjectTypeDeterminer;
 import com.opensymphony.xwork2.ognl.accessor.XWorkListPropertyAccessor;
+import com.opensymphony.xwork2.test.StubConfigurationProvider;
 import com.opensymphony.xwork2.util.Bar;
 import com.opensymphony.xwork2.util.Cat;
 import com.opensymphony.xwork2.util.Foo;

File src/test/com/opensymphony/xwork2/spring/SpringObjectFactoryTest.java

 import com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor;
 import com.opensymphony.xwork2.interceptor.TimerInterceptor;
 import com.opensymphony.xwork2.ognl.OgnlReflectionProvider;
+import com.opensymphony.xwork2.test.StubConfigurationProvider;
 import com.opensymphony.xwork2.util.location.LocatableProperties;
 import com.opensymphony.xwork2.validator.Validator;
 import com.opensymphony.xwork2.validator.validators.ExpressionValidator;

File src/test/com/opensymphony/xwork2/test/StubConfigurationProvider.java

+package com.opensymphony.xwork2.test;
+
+import com.opensymphony.xwork2.config.Configuration;
+import com.opensymphony.xwork2.config.ConfigurationException;
+import com.opensymphony.xwork2.config.ConfigurationProvider;
+import com.opensymphony.xwork2.inject.ContainerBuilder;
+import com.opensymphony.xwork2.util.location.LocatableProperties;
+
+public class StubConfigurationProvider implements ConfigurationProvider {
+
+    public void destroy() {
+        // TODO Auto-generated method stub
+
+    }
+
+    public void init(Configuration configuration) throws ConfigurationException {
+        // TODO Auto-generated method stub
+    }
+
+    public void loadPackages() throws ConfigurationException {
+        // TODO Auto-generated method stub
+
+    }
+
+    public boolean needsReload() {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    public void register(ContainerBuilder builder, LocatableProperties props)
+            throws ConfigurationException {
+        // TODO Auto-generated method stub
+
+    }
+
+}

File src/test/com/opensymphony/xwork2/util/Cat.java

 
     public static final String SCIENTIFIC_NAME = "Feline";
 
-
     Foo foo;
     List kittens;
     String name;