InternalLDAPSocketTestCase.java revision 4134
2151N/A * The contents of this file are subject to the terms of the 2151N/A * Common Development and Distribution License, Version 1.0 only 2151N/A * (the "License"). You may not use this file except in compliance 2151N/A * You can obtain a copy of the license at 2151N/A * See the License for the specific language governing permissions 2151N/A * and limitations under the License. 2151N/A * When distributing Covered Code, include this CDDL HEADER in each 2151N/A * file and include the License file at 2151N/A * add the following below this CDDL HEADER, with the fields enclosed 2151N/A * by brackets "[]" replaced with your own identifying information: 2151N/A * Portions Copyright [yyyy] [name of copyright owner] 3232N/A * Copyright 2008 Sun Microsystems, Inc. 2151N/A * This class provides a number of tests to cover the internal LDAP socket 2151N/A * Ensures that the Directory Server is running. 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A * Tests the ability to perform an add operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A * Tests the ability to perform an add operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A "com.sun.jndi.ldap.LdapCtxFactory");
2151N/A * Tests the ability to perform a compare operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A * Tests the ability to perform a compare operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A "com.sun.jndi.ldap.LdapCtxFactory");
2151N/A * Tests the ability to perform a delete operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A * Tests the ability to perform a delete operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A "com.sun.jndi.ldap.LdapCtxFactory");
2151N/A * Tests the ability to perform an extended operation over the internal LDAP 2151N/A * socket using the "Who Am I?" request. 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A "dn:cn=Directory Manager,cn=Root DNs,cn=config"));
2151N/A * Tests the ability to perform a modify operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A * Tests the ability to perform a modify operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A "com.sun.jndi.ldap.LdapCtxFactory");
2151N/A * Tests the ability to perform a modify DN operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A "objectClass: organizationalUnit",
2151N/A * Tests the ability to perform a modify DN operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A "objectClass: organizationalUnit",
2151N/A "com.sun.jndi.ldap.LdapCtxFactory");
2151N/A * Tests the ability to perform a search operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A * Tests the ability to perform a searcj operation over the internal LDAP 2151N/A * @throws Exception If an unexpected problem occurs. 2151N/A "com.sun.jndi.ldap.LdapCtxFactory");