|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tap4j.model.AbstractTapElementDiagnostic org.tap4j.model.Plan
public class Plan
TAP Plan. The TAP Plan gives details about the execution of the tests such as initial test number, last test number, flag to skip all tests and a reason for this.
Constructor Summary | |
---|---|
Plan(Integer amountOfTests)
Constructor with parameters. |
|
Plan(Integer initialTestNumber,
Integer lastTestNumber)
Constructor with parameters. |
|
Plan(Integer initialTestNumber,
Integer lastTestNumber,
SkipPlan skip)
Constructor with parameters |
|
Plan(Integer amountOfTests,
SkipPlan skip)
Constructor with parameters |
Method Summary | |
---|---|
Comment |
getComment()
|
Integer |
getInitialTestNumber()
|
Integer |
getLastTestNumber()
|
SkipPlan |
getSkip()
|
Boolean |
isSkip()
|
void |
setComment(Comment comment)
Sets a comment into the Plan. |
void |
setSkip(SkipPlan skip)
Defines whether we should skip all tests or not. |
Methods inherited from class org.tap4j.model.AbstractTapElementDiagnostic |
---|
getDiagnostic, setDiagnostic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Plan(Integer initialTestNumber, Integer lastTestNumber)
initialTestNumber
- Initial test number (usually is 1).lastTestNumber
- Last test number (may be 0 if to skip all tests).public Plan(Integer amountOfTests)
amountOfTests
- How many tests we have in the plan.public Plan(Integer amountOfTests, SkipPlan skip)
amountOfTests
- How many tests we have in the plan.skip
- Plan skip with a reason.public Plan(Integer initialTestNumber, Integer lastTestNumber, SkipPlan skip)
initialTestNumber
- Initial test number (usually is 1).lastTestNumber
- Last test number (may be 0 if to skip all tests).skip
- Plan skip with a reason.Method Detail |
---|
public Integer getInitialTestNumber()
public Integer getLastTestNumber()
public Boolean isSkip()
public SkipPlan getSkip()
public void setSkip(SkipPlan skip)
skip
- Plan Skip.public Comment getComment()
public void setComment(Comment comment)
comment
- Plan comment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |