public class TestEvent extends ClassEvent
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
testInstance |
private java.lang.reflect.Method |
testMethod |
Constructor and Description |
---|
TestEvent(java.lang.Object testInstance,
java.lang.reflect.Method testMethod) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getTestInstance() |
java.lang.reflect.Method |
getTestMethod() |
private static java.lang.Class<?> |
validateAndExtractClass(java.lang.Object testInstance,
java.lang.reflect.Method testMethod) |
getTestClass
private java.lang.Object testInstance
private java.lang.reflect.Method testMethod
public TestEvent(java.lang.Object testInstance, java.lang.reflect.Method testMethod)
testInstance
- The test case instancetestMethod
- The test methodjava.lang.IllegalArgumentException
- if testInstance is nulljava.lang.IllegalArgumentException
- if testMethod is null