public class Plan extends TapElement
comment, indentation
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getInitialTestNumber() |
Integer |
getLastTestNumber() |
SkipPlan |
getSkip() |
TestSet |
getSubtest() |
Boolean |
isSkip() |
void |
setSkip(SkipPlan skip)
Defines whether we should skip all tests or not.
|
void |
setSubtest(TestSet subtest) |
getComment, getDiagnostic, getIndentation, setComment, setDiagnostic
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 Integer getInitialTestNumber()
public Integer getLastTestNumber()
public Boolean isSkip()
public SkipPlan getSkip()
public void setSkip(SkipPlan skip)
skip
- Plan Skip.public TestSet getSubtest()
public void setSubtest(TestSet subtest)
subtest
- the subtest to setCopyright © 2010–2019 TupiLabs. All rights reserved.