public class DefaultTestFinishedEvent extends java.lang.Object implements TestFinishedEvent
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
testClassInstance |
private java.lang.Throwable |
testFailure |
private java.lang.String |
testMethodName |
| Constructor and Description |
|---|
DefaultTestFinishedEvent(java.lang.Object testClassInstance,
java.lang.String testMethodName,
java.lang.Throwable testFailure) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getFailure() |
java.lang.String |
getTestName() |
private final java.lang.Object testClassInstance
private final java.lang.String testMethodName
private final java.lang.Throwable testFailure
public DefaultTestFinishedEvent(java.lang.Object testClassInstance,
java.lang.String testMethodName,
java.lang.Throwable testFailure)
public java.lang.Throwable getFailure()
getFailure in interface TestFinishedEventpublic java.lang.String getTestName()
getTestName in interface TestFinishedEvent