public class TestCaseResult extends ModelObject
Modifier and Type | Field and Description |
---|---|
static int |
RESULT_BLOCK |
static int |
RESULT_FAIL |
static int |
RESULT_NOTRUN |
static int |
RESULT_PASS |
static int |
RESULT_SKIP |
Constructor and Description |
---|
TestCaseResult() |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Comment (i.e.
|
String |
getMappingId() |
int |
getResult() |
Long |
getRun() |
String |
getRunBy() |
Long |
getRunById() |
long |
getStarted() |
List<TestCaseResultStep> |
getSteps()
Optional execution steps and their results for this result.
|
Long |
getTestCaseId() |
void |
setComment(String comment) |
void |
setMappingId(String mappingId)
Id value to use to lookup the test case from Testlab.
|
void |
setResult(int result)
Result status value for the run test case.
|
void |
setRun(Long run)
Timestamp of when this test case was completed.
|
void |
setRunBy(String runBy)
Name of the user who ran this test case.
|
void |
setRunById(Long runById)
Id of the user who ran this test case.
|
void |
setStarted(Long started)
Timestamp of when this test case was started.
|
void |
setSteps(List<TestCaseResultStep> steps) |
void |
setTestCaseId(Long testCaseId)
Test case id for this result.
|
toString, toString, toStringCut
public static final int RESULT_NOTRUN
public static final int RESULT_PASS
public static final int RESULT_FAIL
public static final int RESULT_SKIP
public static final int RESULT_BLOCK
public Long getTestCaseId()
public void setTestCaseId(Long testCaseId)
testCaseId
- test case idpublic String getMappingId()
public void setMappingId(String mappingId)
mappingId
- test case mapping idpublic int getResult()
public void setResult(int result)
result
- resultpublic long getStarted()
public void setStarted(Long started)
started
- startedpublic Long getRun()
public void setRun(Long run)
run
- runpublic Long getRunById()
public void setRunById(Long runById)
runById
- user idpublic String getRunBy()
public void setRunBy(String runBy)
runBy
- user namepublic String getComment()
public void setComment(String comment)
public List<TestCaseResultStep> getSteps()
public void setSteps(List<TestCaseResultStep> steps)
Copyright © 2016–2022. All rights reserved.