Package com.axway.apim
Class TestUtils
java.lang.Object
com.axway.apim.TestUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyTestAssets(File sourceDir, File testDir) static StringcreateTestConfig(String configFilePath, org.citrusframework.context.TestContext context, String tempDirName, boolean replaceDynamicContent) To make testing easier we allow reading test-files from classpath as wellstatic FilecreateTestDirectory(String testDirName) static StringwriteDataToFile(org.citrusframework.spi.Resource configFile, String tempDirName, String replacedConfig)
-
Method Details
-
createTestDirectory
-
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
-
copyTestAssets
-