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, skipped
protected void starting(Description description)
TestWatcher
starting
in class TestWatcher
protected void finished(Description description)
TestWatcher
finished
in class TestWatcher
protected void succeeded(Description description)
TestWatcher
succeeded
in class TestWatcher
protected void failed(java.lang.Throwable e, Description description)
TestWatcher
failed
in class TestWatcher
protected void skipped(AssumptionViolatedException e, Description description)
TestWatcher
skipped
in class TestWatcher