private class Stopwatch.InternalWatcher extends TestWatcher
| Modifier | Constructor and Description |
|---|---|
private |
InternalWatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
failed(java.lang.Throwable e,
Description description)
Invoked when a test fails
|
protected void |
finished(Description description)
Invoked when a test method finishes (whether passing or failing)
|
protected void |
skipped(AssumptionViolatedException e,
Description description)
Invoked when a test is skipped due to a failed assumption.
|
protected void |
starting(Description description)
Invoked when a test is about to start
|
protected void |
succeeded(Description description)
Invoked when a test succeeds
|
apply, skippedprotected void starting(Description description)
TestWatcherstarting in class TestWatcherprotected void finished(Description description)
TestWatcherfinished in class TestWatcherprotected void succeeded(Description description)
TestWatchersucceeded in class TestWatcherprotected void failed(java.lang.Throwable e,
Description description)
TestWatcherfailed in class TestWatcherprotected void skipped(AssumptionViolatedException e, Description description)
TestWatcherskipped in class TestWatcher