public class TakeSnapshot
extends org.junit.rules.TestWatcher
| Constructor and Description |
|---|
TakeSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
failed(Throwable e,
org.junit.runner.Description description) |
protected File |
snapshotPath(Class<?> testClass,
String methodName) |
protected void |
starting(org.junit.runner.Description description) |
void |
takeSnapshot() |
protected void |
write(byte[] snapshotData,
File to) |
protected void starting(org.junit.runner.Description description)
starting in class org.junit.rules.TestWatcherprotected void failed(Throwable e, org.junit.runner.Description description)
failed in class org.junit.rules.TestWatcherpublic void takeSnapshot()
protected void write(byte[] snapshotData,
File to)
throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.