public class SimpleTestRun extends java.lang.Object implements WritableTestRun, ExecutableTestRun
WritableTestRun
, holding
references to the various parts of a test run.Constructor and Description |
---|
SimpleTestRun() |
Modifier and Type | Method and Description |
---|---|
<T extends DeployedSystem> |
getDeployedSystem()
Gets the related deployed system.
|
<T extends TestData> |
getTestData()
Gets the related test data
|
<T extends TestDefinition> |
getTestDefinition()
Gets the related test definition.
|
<T extends TestResult> |
getTestResult()
Gets the related result where to record results.
|
java.lang.String |
getUuid()
Gets UUID
|
void |
run()
Executes the underlying test definition.
|
void |
setDeployedSystem(DeployedSystem deployedSystem) |
void |
setTestData(TestData testData) |
void |
setTestDefinition(TestDefinition testDefinition) |
void |
setTestResult(TestResult testResult) |
void |
setUuid(java.lang.String uuid) |
public void run()
run
in interface java.lang.Runnable
public <T extends DeployedSystem> T getDeployedSystem()
TestRun
getDeployedSystem
in interface TestRun
public void setDeployedSystem(DeployedSystem deployedSystem)
setDeployedSystem
in interface WritableTestRun
public <T extends TestData> T getTestData()
TestRun
getTestData
in interface TestRun
public void setTestData(TestData testData)
setTestData
in interface WritableTestRun
public <T extends TestDefinition> T getTestDefinition()
TestRun
getTestDefinition
in interface TestRun
public void setTestDefinition(TestDefinition testDefinition)
setTestDefinition
in interface WritableTestRun
public <T extends TestResult> T getTestResult()
TestRun
getTestResult
in interface TestRun
public void setTestResult(TestResult testResult)
setTestResult
in interface WritableTestRun
public java.lang.String getUuid()
TestRun
public void setUuid(java.lang.String uuid)
Copyright © 2007–2020. All rights reserved.