public class MyTestWatcher
extends org.junit.rules.TestWatcher
Constructor and Description |
---|
MyTestWatcher(SdcTest odlTest) |
Modifier and Type | Method and Description |
---|---|
protected void |
failed(Throwable e,
org.junit.runner.Description description)
Invoked when a test fails
|
protected void |
finished(org.junit.runner.Description description)
Invoked when a test method finishes (whether passing or failing)
|
protected void |
starting(org.junit.runner.Description description)
Invoked when a test is about to start
|
protected void |
succeeded(org.junit.runner.Description description)
Invoked when a test succeeds
|
public MyTestWatcher(SdcTest odlTest)
protected void succeeded(org.junit.runner.Description description)
succeeded
in class org.junit.rules.TestWatcher
description
- protected void failed(Throwable e, org.junit.runner.Description description)
failed
in class org.junit.rules.TestWatcher
e
- description
- protected void starting(org.junit.runner.Description description)
starting
in class org.junit.rules.TestWatcher
description
- protected void finished(org.junit.runner.Description description)
finished
in class org.junit.rules.TestWatcher
description
- Copyright © 2017. All rights reserved.