Class TesterUtils

java.lang.Object
org.dlese.dpc.schemedit.test.TesterUtils

public class TesterUtils extends Object
Methods to help tester classes use information in the framework config files.
Author:
ostwald
  • Constructor Details

    • TesterUtils

      public TesterUtils()
  • Method Details

    • getFramework

      public static MetaDataFramework getFramework(String xmlFormat) throws Exception
      Throws:
      Exception
    • getTomcatDir

      public static String getTomcatDir() throws Exception
      Throws:
      Exception
    • getTmpDir

      public static String getTmpDir() throws Exception
      Throws:
      Exception
    • getCannedCMPath

      public static String getCannedCMPath() throws Exception
      Throws:
      Exception
    • getRecordsPath

      public static String getRecordsPath() throws Exception
      Throws:
      Exception
    • getDocRoot

      public static String getDocRoot() throws Exception
      Throws:
      Exception
    • getFrameworkConfigDir

      public static String getFrameworkConfigDir() throws Exception
      Throws:
      Exception
    • getCollectionConfigDir

      public static String getCollectionConfigDir() throws Exception
      Throws:
      Exception
    • getFrameworkConfigReader

      public static FrameworkConfigReader getFrameworkConfigReader(String framework) throws Exception
      Gets the frameworkConfigReader attribute of the TesterUtils class
      Parameters:
      framework - Description of the Parameter
      Returns:
      The frameworkConfigReader value
      Throws:
      Exception
    • getFrameworkConfigReader

      public static FrameworkConfigReader getFrameworkConfigReader(File source)
      Gets the frameworkConfigReader attribute of the TesterUtils class
      Parameters:
      source - Description of the Parameter
      Returns:
      The frameworkConfigReader value
    • getSchemaUri

      public static String getSchemaUri(String xmlFormat)
    • setSystemProps

      public static void setSystemProps()
    • main

      public static void main(String[] args)
      The main program for the TesterUtils class
      Parameters:
      args - The command line arguments