java.lang.Object
org.junit.rules.ExternalResource
com.atlassian.crowd.acceptance.tests.applications.rules.LdifLoaderRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class LdifLoaderRule extends org.junit.rules.ExternalResource
  • Constructor Details

    • LdifLoaderRule

      public LdifLoaderRule(Class<?> testClass, String pathToLdif)
  • Method Details

    • before

      protected void before() throws Throwable
      Overrides:
      before in class org.junit.rules.ExternalResource
      Throws:
      Throwable
    • restoreLdif

      public static void restoreLdif(String pathToLdif, Class<?> testClass) throws IOException
      Perform LDIF restore.
      Parameters:
      pathToLdif -
      testClass -
      Throws:
      IOException
    • after

      protected void after()
      Overrides:
      after in class org.junit.rules.ExternalResource
    • intendToModify

      public LdifLoaderRule intendToModify()