| Package | Description |
|---|---|
| org.wso2.testgrid.common.util |
| Modifier and Type | Method and Description |
|---|---|
static void |
FileUtil.compressFiles(List<String> files,
String destination)
Creates a archive file of the list of files passing in the given destination.
|
static String |
TestGridUtil.deriveScenarioArtifactPath(TestScenario testScenario,
String fileName)
Derives the relative path of a scenario-artifact.
|
static String |
TestGridUtil.deriveTestPlanDirName(TestPlan testPlan)
Returns the test-plan directory name based on the test-plan content.
|
static String |
TestGridUtil.deriveTestRunLogFilePath(TestPlan testPlan)
Returns the path of the test-run log file.
|
static List<String> |
FileUtil.getFilesOnDirectory(String directory,
String glob)
This method returns the list of files in a given directory after filtering a given glob pattern.
|
static Path |
TestGridUtil.getTestRunWorkspace(TestPlan testPlan)
Returns the directory location where the test run artifacts resides relative to testgrid.home.
|
static Path |
TestGridUtil.getTestRunWorkspace(TestPlan testPlan,
boolean relative)
Returns the directory location where the test run artifacts resides.
|
static void |
FileUtil.saveFile(String content,
String filePath,
String fileName)
Saves the content to a file with the given name in the given file path.
|
Copyright © 2018 WSO2. All rights reserved.