Class TestUtils

java.lang.Object
com.axway.apim.TestUtils

public class TestUtils extends Object
  • Method Details

    • createTestDirectory

      public static File createTestDirectory(String testDirName)
    • createTestConfig

      public static String createTestConfig(String configFilePath, org.citrusframework.context.TestContext context, String tempDirName, boolean replaceDynamicContent)
      To make testing easier we allow reading test-files from classpath as well
    • writeDataToFile

      public static String writeDataToFile(org.citrusframework.spi.Resource configFile, String tempDirName, String replacedConfig)
    • copyTestAssets

      public static void copyTestAssets(File sourceDir, File testDir)