public class FieldDefaulter extends AbstractPowerMockTestListenerBase
null, an int field is set to 0 and so on.| Constructor and Description |
|---|
FieldDefaulter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestMethod(Object testInstance,
Method method,
Object[] arguments,
TestMethodResult testResult)
Provides an empty implementation.
|
afterTestSuiteEnded, beforeTestMethod, beforeTestSuiteStartedpublic void afterTestMethod(Object testInstance, Method method, Object[] arguments, TestMethodResult testResult) throws Exception
AbstractPowerMockTestListenerBaseafterTestMethod in interface PowerMockTestListenerafterTestMethod in class AbstractPowerMockTestListenerBasemethod - The test method that is currently executed.arguments - The arguments passed to the test method if any. May be an
empty array but never null.testResult - The outcome of the test method.Exception - If something unexpected occurs.Copyright © 2007–2016. All rights reserved.