From 6158de3333ea2176478f79ca0d70f53b59e48635 Mon Sep 17 00:00:00 2001 From: Mattias Arthursson Date: Mon, 20 Oct 2008 13:49:47 +0000 Subject: [PATCH] Moved ContextSourceEc2InstanceLaunchingFactoryBean to test-support. --- .../test}/ContextSourceEc2InstanceLaunchingFactoryBean.java | 2 +- .../ldap/TlsContextSourceEc2InstanceLaunchingFactoryBean.java | 1 + .../src/test/resources/conf/ldapTemplateTestContext.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename {test/integration-tests-openldap/src/main/java/org/springframework/ldap => test-support/src/main/java/org/springframework/ldap/test}/ContextSourceEc2InstanceLaunchingFactoryBean.java (98%) diff --git a/test/integration-tests-openldap/src/main/java/org/springframework/ldap/ContextSourceEc2InstanceLaunchingFactoryBean.java b/test-support/src/main/java/org/springframework/ldap/test/ContextSourceEc2InstanceLaunchingFactoryBean.java similarity index 98% rename from test/integration-tests-openldap/src/main/java/org/springframework/ldap/ContextSourceEc2InstanceLaunchingFactoryBean.java rename to test-support/src/main/java/org/springframework/ldap/test/ContextSourceEc2InstanceLaunchingFactoryBean.java index 58a00096..9a2ec4fb 100644 --- a/test/integration-tests-openldap/src/main/java/org/springframework/ldap/ContextSourceEc2InstanceLaunchingFactoryBean.java +++ b/test-support/src/main/java/org/springframework/ldap/test/ContextSourceEc2InstanceLaunchingFactoryBean.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.springframework.ldap; +package org.springframework.ldap.test; import org.springframework.ldap.core.ContextSource; import org.springframework.ldap.core.support.LdapContextSource; diff --git a/test/integration-tests-openldap/src/main/java/org/springframework/ldap/TlsContextSourceEc2InstanceLaunchingFactoryBean.java b/test/integration-tests-openldap/src/main/java/org/springframework/ldap/TlsContextSourceEc2InstanceLaunchingFactoryBean.java index a84b9c44..6f20786a 100644 --- a/test/integration-tests-openldap/src/main/java/org/springframework/ldap/TlsContextSourceEc2InstanceLaunchingFactoryBean.java +++ b/test/integration-tests-openldap/src/main/java/org/springframework/ldap/TlsContextSourceEc2InstanceLaunchingFactoryBean.java @@ -20,6 +20,7 @@ import javax.net.ssl.SSLSession; import org.springframework.ldap.core.support.DefaultTlsDirContextAuthenticationStrategy; import org.springframework.ldap.core.support.LdapContextSource; +import org.springframework.ldap.test.ContextSourceEc2InstanceLaunchingFactoryBean; /** * FactoryBean for testing LDAP TLS connections on an Amazon EC2 image launched by superclass. diff --git a/test/integration-tests-openldap/src/test/resources/conf/ldapTemplateTestContext.xml b/test/integration-tests-openldap/src/test/resources/conf/ldapTemplateTestContext.xml index 3c2f1cb0..37630723 100644 --- a/test/integration-tests-openldap/src/test/resources/conf/ldapTemplateTestContext.xml +++ b/test/integration-tests-openldap/src/test/resources/conf/ldapTemplateTestContext.xml @@ -9,7 +9,7 @@ - +