public class TestResult extends TapResult
comment, indentation
Constructor and Description |
---|
TestResult()
Default constructor.
|
TestResult(StatusValues testStatus,
Integer testNumber)
Constructor with parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
addComment(Comment comment)
Adds a new comment to this Test Result.
|
List<Comment> |
getComments() |
String |
getDescription() |
Directive |
getDirective() |
StatusValues |
getStatus() |
TestSet |
getSubtest() |
Integer |
getTestNumber() |
void |
setComments(List<Comment> comments) |
void |
setDescription(String description) |
void |
setDirective(Directive directive) |
void |
setStatus(StatusValues status) |
void |
setSubtest(TestSet subtest) |
void |
setTestNumber(Integer testNumber) |
getComment, getDiagnostic, getIndentation, setComment, setDiagnostic
public TestResult()
public TestResult(StatusValues testStatus, Integer testNumber)
testStatus
- Status of the test.testNumber
- Number of the test.public StatusValues getStatus()
public void setStatus(StatusValues status)
status
- Status of the test.public Integer getTestNumber()
public void setTestNumber(Integer testNumber)
testNumber
- Test Number.public String getDescription()
public void setDescription(String description)
description
- Test description.public Directive getDirective()
public void setDirective(Directive directive)
directive
- Optional Directive.public TestSet getSubtest()
public void setSubtest(TestSet subtest)
subtest
- the subtest to setpublic void setComments(List<Comment> comments)
comments
- list of comments for this Test Result.public void addComment(Comment comment)
comment
- comment for this Test Result.Copyright © 2010–2019 TupiLabs. All rights reserved.