| Package | Description |
|---|---|
| org.wso2.testgrid.common.config | |
| org.wso2.testgrid.common.util |
| Modifier and Type | Method and Description |
|---|---|
String |
PropertyFileReader.getProperty(Enum property,
String propertyFilePath)
Retrieve property from the property file.
|
| 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.deriveLogDownloadLocation(TestPlan testPlan)
Returns the path of the directory where log files will be downloaded.
|
static String |
TestGridUtil.deriveScenarioArtifactPath(TestScenario testScenario,
String fileName)
Derives the relative path of a scenario-artifact.
|
static String |
TestGridUtil.deriveScenarioOutputPropertyFilePath(TestPlan testPlan,
Boolean relative)
Returns the path of the integration test log file.
|
static String |
TestGridUtil.deriveTestIntegrationLogFilePath(TestPlan testPlan,
Boolean relative)
Returns the path of the integration test log file.
|
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.