diff --git a/org.springframework.testsuite/src/test/java/org/springframework/cache/ehcache/EhCacheSupportTests.java b/org.springframework.context.support/src/test/java/org/springframework/cache/ehcache/EhCacheSupportTests.java
similarity index 100%
rename from org.springframework.testsuite/src/test/java/org/springframework/cache/ehcache/EhCacheSupportTests.java
rename to org.springframework.context.support/src/test/java/org/springframework/cache/ehcache/EhCacheSupportTests.java
diff --git a/org.springframework.testsuite/src/test/java/org/springframework/cache/ehcache/testEhcache.xml b/org.springframework.context.support/src/test/resources/org/springframework/cache/ehcache/testEhcache.xml
similarity index 100%
rename from org.springframework.testsuite/src/test/java/org/springframework/cache/ehcache/testEhcache.xml
rename to org.springframework.context.support/src/test/resources/org/springframework/cache/ehcache/testEhcache.xml
diff --git a/org.springframework.context/context.iml b/org.springframework.context/context.iml
index 3efa99d2680..fdb9817c664 100644
--- a/org.springframework.context/context.iml
+++ b/org.springframework.context/context.iml
@@ -172,6 +172,17 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/org.springframework.context/ivy.xml b/org.springframework.context/ivy.xml
index e25725d784e..5217970acfd 100644
--- a/org.springframework.context/ivy.xml
+++ b/org.springframework.context/ivy.xml
@@ -52,6 +52,7 @@
+
diff --git a/org.springframework.context/pom.xml b/org.springframework.context/pom.xml
index bcee342d1eb..d54096a10cb 100644
--- a/org.springframework.context/pom.xml
+++ b/org.springframework.context/pom.xml
@@ -1,16 +1,90 @@
+
+ org.springframework
+ org.springframework.parent
+ 3.0-M1-SNAPSHOT
+
4.0.0
- org.springframework
org.springframework.context
jar
- Spring Core Abstractions and Utilities
- 3.0.0.M1
+ Spring Framework: Context
+
+ org.springframework
+ org.springframework.core
+
+
+ org.springframework
+ org.springframework.beans
+
+
+ org.springframework
+ org.springframework.aop
+
+
+ org.springframework
+ org.springframework.agent
+
- commons-logging
- commons-logging
- 1.1.1
+ javax.ejb
+ com.springsource.javax.ejb
+ true
+
+ javax.jms
+ com.springsource.javax.jms
+ true
+
+
+ javax.persistence
+ com.springsource.javax.persistence
+ true
+
+
+ net.sourceforge.cglib
+ com.springsource.net.sf.cglib
+ true
+
+
+ org.aspectj
+ com.springsource.org.aspectj.weaver
+ true
+
+
+ org.aopalliance
+ com.springsource.org.aopalliance
+ true
+
+
+ org.jruby
+ com.springsource.org.jruby
+ true
+
+
+ org.codehaus.groovy
+ com.springsource.org.codehaus.groovy
+ true
+
+
+ org.beanshell
+ com.springsource.bsh
+ true
+
+
+ edu.emory.mathcs.backport
+ com.springsource.edu.emory.mathcs.backport
+ true
+
+
+ com.oracle.oc4j
+ com.springsource.oracle.classloader
+ true
+
+
+ com.sun.enterprise
+ com.springsource.com.sun.enterprise.loader
+ true
+
\ No newline at end of file
diff --git a/org.springframework.testsuite/src/test/java/org/springframework/context/access/ContextBeanFactoryReferenceTests.java b/org.springframework.context/src/test/java/org/springframework/context/access/ContextBeanFactoryReferenceTests.java
similarity index 100%
rename from org.springframework.testsuite/src/test/java/org/springframework/context/access/ContextBeanFactoryReferenceTests.java
rename to org.springframework.context/src/test/java/org/springframework/context/access/ContextBeanFactoryReferenceTests.java
diff --git a/org.springframework.testsuite/src/test/java/org/springframework/context/access/DefaultLocatorFactoryTests.java b/org.springframework.context/src/test/java/org/springframework/context/access/DefaultLocatorFactoryTests.java
similarity index 100%
rename from org.springframework.testsuite/src/test/java/org/springframework/context/access/DefaultLocatorFactoryTests.java
rename to org.springframework.context/src/test/java/org/springframework/context/access/DefaultLocatorFactoryTests.java
diff --git a/org.springframework.testsuite/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java b/org.springframework.context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java
similarity index 83%
rename from org.springframework.testsuite/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java
rename to org.springframework.context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java
index 3c45157c242..9c33a6a39cf 100644
--- a/org.springframework.testsuite/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java
+++ b/org.springframework.context/src/test/java/org/springframework/context/config/ContextNamespaceHandlerTests.java
@@ -19,7 +19,11 @@ package org.springframework.context.config;
import java.util.Date;
import java.util.Map;
-import junit.framework.TestCase;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import org.junit.Before;
+import org.junit.Test;
+
import org.springframework.beans.factory.config.PropertyOverrideConfigurer;
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
import org.springframework.context.ApplicationContext;
@@ -29,22 +33,25 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
* @author Arjen Poutsma
* @since 2.5.6
*/
-public class ContextNamespaceHandlerTests extends TestCase {
+public class ContextNamespaceHandlerTests {
private ApplicationContext applicationContext;
- protected void setUp() throws Exception {
+ @Before
+ public void createAppContext() {
applicationContext = new ClassPathXmlApplicationContext("contextNamespaceHandlerTests.xml", getClass());
}
- public void testPropertyPlaceholder() throws Exception {
+ @Test
+ public void propertyPlaceholder() throws Exception {
Map beans = applicationContext.getBeansOfType(PropertyPlaceholderConfigurer.class);
assertFalse("No PropertyPlaceHolderConfigurer found", beans.isEmpty());
String s = (String) applicationContext.getBean("string");
assertEquals("No properties replaced", "bar", s);
}
- public void testPropertyOverride() throws Exception {
+ @Test
+ public void propertyOverride() throws Exception {
Map beans = applicationContext.getBeansOfType(PropertyOverrideConfigurer.class);
assertFalse("No PropertyOverrideConfigurer found", beans.isEmpty());
Date date = (Date) applicationContext.getBean("date");
diff --git a/org.springframework.testsuite/src/test/java/org/springframework/jndi/JndiTemplateEditorTests.java b/org.springframework.context/src/test/java/org/springframework/jndi/JndiTemplateEditorTests.java
similarity index 100%
rename from org.springframework.testsuite/src/test/java/org/springframework/jndi/JndiTemplateEditorTests.java
rename to org.springframework.context/src/test/java/org/springframework/jndi/JndiTemplateEditorTests.java
diff --git a/org.springframework.testsuite/src/test/java/org/springframework/jndi/JndiTemplateTests.java b/org.springframework.context/src/test/java/org/springframework/jndi/JndiTemplateTests.java
similarity index 100%
rename from org.springframework.testsuite/src/test/java/org/springframework/jndi/JndiTemplateTests.java
rename to org.springframework.context/src/test/java/org/springframework/jndi/JndiTemplateTests.java
diff --git a/org.springframework.testsuite/src/test/java/org/springframework/context/config/contextNamespaceHandlerTests.xml b/org.springframework.context/src/test/resources/org/springframework/context/config/contextNamespaceHandlerTests.xml
similarity index 100%
rename from org.springframework.testsuite/src/test/java/org/springframework/context/config/contextNamespaceHandlerTests.xml
rename to org.springframework.context/src/test/resources/org/springframework/context/config/contextNamespaceHandlerTests.xml