T
- the type used to run the scenariopublic interface UsageScenario<T>
Modifier and Type | Method and Description |
---|---|
void |
clearExceptions()
Clears the exceptions that have been collected so far
|
int |
defaultWeight() |
List<Throwable> |
exceptions() |
int |
maximumTime()
The maximum time in milliseconds this scenario can run before issuing a warning.
|
String |
name() |
void |
resetRunCount()
Resets the run counters
|
void |
run(T application)
Runs this scenario with the given application
|
int |
successfulRunCount() |
int |
totalRunCount() |
int |
unsuccessfulRunCount() |
String name()
int defaultWeight()
int maximumTime()
void run(T application)
application
- the application to useint totalRunCount()
void resetRunCount()
void clearExceptions()
int successfulRunCount()
int unsuccessfulRunCount()