public class TestExecution extends Object implements Serializable
TestSuite.
A TestExecution also retains all of the configuration options,
parameters, and names of the TestSuite as it was
at the point in time that the TestExecution was created. Additionally,
complete result information and log files for the executed test
are stored.| Constructor and Description |
|---|
TestExecution(String name,
Date dateStarted,
TestSuite originalTestSuite) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDateFinished() |
Date |
getDateStarted() |
Long |
getId()
Returns the id of the entity in persistent storage
|
String |
getName() |
TestSuite |
getOriginalTestSuite()
Returns the original
TestSuite that this test execution
is based on. |
PkgLibrary |
getOriginalTestSuiteDarkstarPkg()
Returns the original
PkgLibrary for the
darkstar package required to run the
tests. |
String |
getOriginalTestSuiteDescription() |
String |
getOriginalTestSuiteName() |
List<TestExecutionResult> |
getResults()
Returns a list of
TestExecutionResult objects that were executed
as part of this test execution. |
List<TestExecutionTag> |
getTags()
Returns a list of
TestExecutionTag objects that are used
to categorize test executions into groups. |
Long |
getVersionNumber()
Returns the version number in the data store that this entity represents.
|
void |
setDateFinished(Date dateFinished) |
void |
setDateStarted(Date dateStarted) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setOriginalTestSuite(TestSuite originalTestSuite) |
void |
setOriginalTestSuiteDarkstarPkg(PkgLibrary originalTestSuiteDarkstarPkg) |
void |
setResults(List<TestExecutionResult> results) |
void |
setTags(List<TestExecutionTag> tags) |
protected void |
setVersionNumber(Long versionNumber) |
public Long getId()
public void setId(Long id)
public Long getVersionNumber()
protected void setVersionNumber(Long versionNumber)
public String getName()
public void setName(String name)
public Date getDateStarted()
public void setDateStarted(Date dateStarted)
public Date getDateFinished()
public void setDateFinished(Date dateFinished)
public List<TestExecutionTag> getTags()
TestExecutionTag objects that are used
to categorize test executions into groups.public void setTags(List<TestExecutionTag> tags)
public List<TestExecutionResult> getResults()
TestExecutionResult objects that were executed
as part of this test execution.public void setResults(List<TestExecutionResult> results)
public PkgLibrary getOriginalTestSuiteDarkstarPkg()
PkgLibrary for the
darkstar package required to run the
tests. This attribute can be customized to run this test execution
against a different darkstar package if required.public void setOriginalTestSuiteDarkstarPkg(PkgLibrary originalTestSuiteDarkstarPkg)
public String getOriginalTestSuiteName()
public String getOriginalTestSuiteDescription()
public TestSuite getOriginalTestSuite()
TestSuite that this test execution
is based on.TestSuite used to create the test executionpublic void setOriginalTestSuite(TestSuite originalTestSuite)
Copyright © 2013. All Rights Reserved.