public class ScenarioModelHolder
extends java.lang.Object
| Constructor and Description |
|---|
ScenarioModelHolder() |
| Modifier and Type | Method and Description |
|---|---|
com.tngtech.jgiven.report.model.ReportModel |
getAndRemoveReportModel(java.lang.Class<?> testClass)
Returns the
ReportModel for the given test class and removes it. |
static ScenarioModelHolder |
getInstance() |
com.tngtech.jgiven.report.model.ReportModel |
getReportModel(java.lang.Class<? extends java.lang.Object> testClass)
Returns the
ReportModel for the given test class. |
public static ScenarioModelHolder getInstance()
public com.tngtech.jgiven.report.model.ReportModel getReportModel(java.lang.Class<? extends java.lang.Object> testClass)
ReportModel for the given test class.
If there is no report model yet, creates a new one.testClass - the test class to get the report model forpublic com.tngtech.jgiven.report.model.ReportModel getAndRemoveReportModel(java.lang.Class<?> testClass)
ReportModel for the given test class and removes it.