Class AcceptanceTestHelper

java.lang.Object
com.atlassian.crowd.acceptance.utils.AcceptanceTestHelper

public class AcceptanceTestHelper extends Object
  • Constructor Details

    • AcceptanceTestHelper

      public AcceptanceTestHelper()
  • Method Details

    • loadFileFromClasspath

      protected static File loadFileFromClasspath(String source) throws Exception
      Throws:
      Exception
    • getTestResourcesLocation

      public static String getTestResourcesLocation()
    • getResourceAsStream

      public static InputStream getResourceAsStream(String fileName) throws Exception
      Throws:
      Exception
    • getResource

      public static File getResource(String fileName)
    • getResourcePath

      public static String getResourcePath(String fileName)
    • loadProperties

      public static Properties loadProperties(String fileName)
    • getAbsolutePathToBackupFile

      public static String getAbsolutePathToBackupFile(String xmlfilename)