|
@@ -17,7 +17,6 @@ package org.springframework.security.ldap.server;
|
|
|
|
|
|
import static junit.framework.Assert.fail;
|
|
import static junit.framework.Assert.fail;
|
|
|
|
|
|
-import org.apache.directory.shared.ldap.name.LdapDN;
|
|
|
|
import org.junit.Test;
|
|
import org.junit.Test;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -29,19 +28,6 @@ import org.junit.Test;
|
|
*/
|
|
*/
|
|
public class ApacheDSContainerTests {
|
|
public class ApacheDSContainerTests {
|
|
|
|
|
|
- @Test
|
|
|
|
- public void successfulStartupAndShutdown() throws Exception {
|
|
|
|
- LdapDN people = new LdapDN("ou=people,dc=springframework,dc=org");
|
|
|
|
- people.toString();
|
|
|
|
-
|
|
|
|
-// ApacheDSContainer server = new ApacheDSContainer("dc=springframework,dc=org", "classpath:test-server.ldif");
|
|
|
|
-// server.afterPropertiesSet();
|
|
|
|
-//
|
|
|
|
-// server.getService().getAdminSession().lookup(people);
|
|
|
|
-//
|
|
|
|
-// server.stop();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
// SEC-2162
|
|
// SEC-2162
|
|
@Test
|
|
@Test
|
|
public void failsToStartThrowsException() throws Exception {
|
|
public void failsToStartThrowsException() throws Exception {
|