Class LdifLoaderForTesting
java.lang.Object
com.atlassian.crowd.acceptance.tests.applications.crowd.LdifLoaderForTesting
Test utility class for restoring LDIF to the embedded ApacheDS server.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LdifLoaderForTesting
public LdifLoaderForTesting()
-
-
Method Details
-
setLdif
Deprecated.please useLdifLoaderRule
to make sure that the last restored LDIF file is tracked correctlyRestores the specified LDIF file (resource relative to the class) using the crowd-apacheds webapp, located on the same host as represented byCrowdInstanceState.getHostPath()
- Parameters:
testClass
- the class to which the LDIF file is associatedresourceName
- the path to the LDIF file- Throws:
IOException
- when an error occured while reading the LDIF file
-
LdifLoaderRule
to make sure that the last restored LDIF file is tracked correctly