Class TestHomeLocator

java.lang.Object
com.atlassian.crowd.acceptance.utils.TestHomeLocator
All Implemented Interfaces:
com.atlassian.config.HomeLocator

public class TestHomeLocator extends Object implements com.atlassian.config.HomeLocator
An implementation of HomeLocator that is used for acceptance tests that depend on having a Crowd home directory. It points to a temporary directory.
  • Constructor Details

    • TestHomeLocator

      public TestHomeLocator()
  • Method Details

    • getHomePath

      public String getHomePath()
      Specified by:
      getHomePath in interface com.atlassian.config.HomeLocator
    • getConfigFileName

      public String getConfigFileName()
      Specified by:
      getConfigFileName in interface com.atlassian.config.HomeLocator
    • lookupServletHomeProperty

      public void lookupServletHomeProperty(javax.servlet.ServletContext context)
      Specified by:
      lookupServletHomeProperty in interface com.atlassian.config.HomeLocator