Package com.tngtech.jgiven.report.model
Class ScenarioModel
java.lang.Object
com.tngtech.jgiven.report.model.ScenarioModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ReportModelVisitor visitor) void
addCase
(ScenarioCaseModel scenarioCase) void
addDerivedParameter
(String parameterName) void
addDurationInNanos
(long durationInNanosDelta) void
addParameterNames
(String... params) void
void
void
getCase
(int i) long
boolean
void
setCasesAsTable
(boolean casesAsTable) void
setClassName
(String className) void
setDerivedParameters
(Collection<String> parameters) void
setDescription
(String description) void
setDurationInNanos
(long durationInNanos) void
setExplicitParameters
(List<String> params) void
setExtendedDescription
(String extendedDescription) void
void
setTestMethodName
(String testMethodName)
-
Constructor Details
-
ScenarioModel
public ScenarioModel() -
ScenarioModel
Shallow copy a scenario model.
-
-
Method Details
-
accept
-
addCase
-
getExecutionStatus
-
getCase
-
addTag
-
addTags
-
addParameterNames
-
setExplicitParameters
-
getExplicitParameters
-
getScenarioCases
-
getTagIds
-
isCasesAsTable
public boolean isCasesAsTable() -
setCasesAsTable
public void setCasesAsTable(boolean casesAsTable) -
clearCases
public void clearCases() -
getDurationInNanos
public long getDurationInNanos() -
setDurationInNanos
public void setDurationInNanos(long durationInNanos) -
addDurationInNanos
public void addDurationInNanos(long durationInNanosDelta) -
setDerivedParameters
-
addDerivedParameter
-
getDerivedParameters
-
getClassName
-
setClassName
-
getTestMethodName
-
setTestMethodName
-
getDescription
-
setDescription
-
setTagIds
-
setExtendedDescription
-
getExtendedDescription
-