org.apache.directory.server.core.unit
Class IntegrationUtils
java.lang.Object
org.apache.directory.server.core.unit.IntegrationUtils
public class IntegrationUtils
- extends java.lang.Object
Integration test utility methods.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
Method Summary |
static void |
apply(CoreSession root,
org.apache.directory.shared.ldap.ldif.LdifEntry entry)
|
static void |
doDelete(java.io.File wkdir)
Deletes the working directory. |
static org.apache.directory.shared.ldap.ldif.LdifEntry |
getUserAddLdif()
|
static org.apache.directory.shared.ldap.ldif.LdifEntry |
getUserAddLdif(java.lang.String dnstr,
byte[] password,
java.lang.String cn,
java.lang.String sn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegrationUtils
public IntegrationUtils()
doDelete
public static void doDelete(java.io.File wkdir)
throws java.io.IOException
- Deletes the working directory.
- Parameters:
wkdir
- the working directory to delete
- Throws:
java.io.IOException
- if the working directory cannot be deleted
getUserAddLdif
public static org.apache.directory.shared.ldap.ldif.LdifEntry getUserAddLdif()
throws javax.naming.InvalidNameException,
javax.naming.NamingException
- Throws:
javax.naming.InvalidNameException
javax.naming.NamingException
apply
public static void apply(CoreSession root,
org.apache.directory.shared.ldap.ldif.LdifEntry entry)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUserAddLdif
public static org.apache.directory.shared.ldap.ldif.LdifEntry getUserAddLdif(java.lang.String dnstr,
byte[] password,
java.lang.String cn,
java.lang.String sn)
throws javax.naming.InvalidNameException,
javax.naming.NamingException
- Throws:
javax.naming.InvalidNameException
javax.naming.NamingException
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.