LDAP-42: Extract useful nested classes from LdapTemplate

http://opensource.atlassian.com/projects/spring/browse/LDAP-42
This commit is contained in:
Ulrik Sandberg
2007-02-02 17:56:17 +00:00
parent 29d161a4ee
commit b744c744a7
6 changed files with 14 additions and 27 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ldap;
package org.springframework.ldap.core;
import java.util.List;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ldap;
package org.springframework.ldap.core;
import java.util.List;
@@ -29,10 +29,8 @@ import javax.naming.ldap.LdapContext;
import junit.framework.TestCase;
import org.easymock.MockControl;
import org.springframework.ldap.core.ContextMapper;
import org.springframework.ldap.core.ContextSource;
import org.springframework.ldap.core.LdapTemplate;
import org.springframework.ldap.core.NameClassPairCallbackHandler;
import org.springframework.ldap.LimitExceededException;
import org.springframework.ldap.PartialResultException;
/**
* Unit tests for the <code>list</code> operations in {@link LdapTemplate}.

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ldap;
package org.springframework.ldap.core;
import javax.naming.Name;
import javax.naming.directory.BasicAttributes;
@@ -24,12 +24,7 @@ import javax.naming.ldap.LdapContext;
import junit.framework.TestCase;
import org.easymock.MockControl;
import org.springframework.ldap.core.AttributesMapper;
import org.springframework.ldap.core.ContextMapper;
import org.springframework.ldap.core.ContextSource;
import org.springframework.ldap.core.DirContextAdapter;
import org.springframework.ldap.core.DistinguishedName;
import org.springframework.ldap.core.LdapTemplate;
import org.springframework.ldap.NameNotFoundException;
public class LdapTemplateLookupTest extends TestCase {

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ldap;
package org.springframework.ldap.core;
import javax.naming.Name;
import javax.naming.directory.DirContext;
@@ -23,8 +23,8 @@ import javax.naming.ldap.LdapContext;
import junit.framework.TestCase;
import org.easymock.MockControl;
import org.springframework.ldap.core.ContextSource;
import org.springframework.ldap.core.LdapTemplate;
import org.springframework.ldap.NameAlreadyBoundException;
import org.springframework.ldap.UncategorizedLdapException;
/**
* Unit tests for the rename operations in the LdapTemplate class.

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ldap;
package org.springframework.ldap.core;
import java.util.List;
@@ -32,15 +32,9 @@ import junit.framework.TestCase;
import org.easymock.AbstractMatcher;
import org.easymock.MockControl;
import org.springframework.ldap.core.AttributesMapper;
import org.springframework.ldap.core.ContextExecutor;
import org.springframework.ldap.core.ContextMapper;
import org.springframework.ldap.core.ContextSource;
import org.springframework.ldap.core.DirContextProcessor;
import org.springframework.ldap.core.DistinguishedName;
import org.springframework.ldap.core.LdapTemplate;
import org.springframework.ldap.core.NameClassPairCallbackHandler;
import org.springframework.ldap.core.SearchExecutor;
import org.springframework.ldap.LimitExceededException;
import org.springframework.ldap.NameNotFoundException;
import org.springframework.ldap.PartialResultException;
public class LdapTemplateTest extends TestCase {

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ldap;
package org.springframework.ldap.core;
import javax.naming.ldap.Control;