org.unitils.io.annotation.handler
Class TempFileAnnotationHandler
java.lang.Object
org.unitils.core.TestListener
org.unitils.io.annotation.handler.TempFileAnnotationHandler
public class TempFileAnnotationHandler
- extends TestListener
Implements the behavior of the TempFile annotation.
See annotation javadoc for more info.
- Since:
- 3.3
- Author:
- Jeroen Horemans, Tim Ducheyne, Thomas De Rycke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cleanupAfterTest
protected Boolean cleanupAfterTest
tempService
protected TempService tempService
TempFileAnnotationHandler
public TempFileAnnotationHandler(TempService tempService,
boolean cleanupAfterTest)
beforeTestSetUp
public void beforeTestSetUp(Object testObject,
Method testMethod)
- Overrides:
beforeTestSetUp in class TestListener
afterTestMethod
public void afterTestMethod(Object testObject,
Method testMethod,
Throwable t)
- Overrides:
afterTestMethod in class TestListener
createTempFileForField
protected void createTempFileForField(Object testObject,
Method testMethod,
Field field)
deleteTempFileForField
protected void deleteTempFileForField(Object testObject,
Field field)
Copyright © 2014. All Rights Reserved.