| Package | Description |
|---|---|
| org.wso2.testgrid.common | |
| org.wso2.testgrid.common.config | |
| org.wso2.testgrid.common.util |
| Modifier and Type | Method and Description |
|---|---|
TestPlan |
TestPlan.clone() |
TestPlan |
TestScenario.getTestPlan()
Returns the test plan associated with this test scenario.
|
| Modifier and Type | Method and Description |
|---|---|
List<TestPlan> |
DeploymentPattern.getTestPlans()
Returns the test plans associated with.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentPattern.addTestPlan(TestPlan testPlan)
Adds a test plan to the test plans list.
|
void |
InfrastructureProvider.cleanup(TestPlan testPlan)
This method can be used to cleanup any additional infrastructure provided.
|
DeploymentCreationResult |
Deployer.deploy(TestPlan testPlan,
InfrastructureProvisionResult infrastructureProvisionResult)
Runs deploy.sh script and deploys artifacts in the provided infrastructure.
|
void |
InfrastructureProvider.init(TestPlan testPlan)
This method can be used to initialize the infrastructure provider.
|
InfrastructureProvisionResult |
InfrastructureProvider.provision(TestPlan testPlan)
This method creates the necessary infrastructureConfig using the provided configuration.
|
void |
TestScenario.setTestPlan(TestPlan testPlan)
Sets the test plan associated with this test scenario.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentPattern.setTestPlans(List<TestPlan> testPlans)
Sets the test plans associated with.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TestgridYaml
Represents the object model of testgrid.yaml config
file.
|
| Modifier and Type | Method and Description |
|---|---|
static TestPlan |
TestGridUtil.mergeTestPlans(TestPlan testPlanConfig,
TestPlan testPlanPersisted,
boolean addToConfigYaml)
Copies non existing properties from a persisted test plan to a test plan object generated from the config.
|
static TestPlan |
TestGridUtil.toTestPlanEntity(DeploymentPattern deploymentPattern,
TestPlan testPlan)
This method generates TestPlan object model that from the given input parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
TestGridUtil.deriveLogDownloadLocation(TestPlan testPlan)
Returns the path of the directory where log files will be downloaded.
|
static String |
TestGridUtil.deriveScenarioOutputPropertyFilePath(TestPlan testPlan)
Returns the path of the scenario outputs property file.
|
static String |
TestGridUtil.deriveTestPlanDirName(TestPlan testPlan)
Returns the test-plan directory name based on the test-plan content.
|
static String |
TestGridUtil.deriveTestRunLogFilePath(TestPlan testPlan,
Boolean truncated)
Returns the path of the test-run log file.
|
static Path |
DataBucketsHelper.getBuildOutputsDir(TestPlan testPlan)
Get the build outputs dir
|
static String |
TestGridUtil.getDeploymentPatternName(TestPlan testPlan)
Return the deployment pattern name under the DeploymentConfig of a
TestPlan. |
static Path |
DataBucketsHelper.getInputLocation(TestPlan testPlan)
Returns the path of infrastructure inputs (infra-inputs).
|
static Path |
DataBucketsHelper.getOutputLocation(TestPlan testPlan)
Returns the path of infrastructure outputs (infra-outputs).
|
static Path |
TestGridUtil.getSurefireReportsDir(TestPlan testPlan)
Returns the absolute path of the integration test log file.
|
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 boolean |
TestGridUtil.isDebugMode(TestPlan testPlan)
Checks whether debug mode is enabled for this test plan or not.
|
static TestPlan |
TestGridUtil.mergeTestPlans(TestPlan testPlanConfig,
TestPlan testPlanPersisted,
boolean addToConfigYaml)
Copies non existing properties from a persisted test plan to a test plan object generated from the config.
|
static TestPlan |
TestGridUtil.toTestPlanEntity(DeploymentPattern deploymentPattern,
TestPlan testPlan)
This method generates TestPlan object model that from the given input parameters.
|
Copyright © 2018 WSO2. All rights reserved.