org.unitils.io
Class IOModule.IOTestListener

java.lang.Object
  extended by org.unitils.core.TestListener
      extended by org.unitils.io.IOModule.IOTestListener
Enclosing class:
IOModule

protected class IOModule.IOTestListener
extends TestListener


Field Summary
protected  FileContentAnnotationHandler fileContentAnnotationHandler
           
protected  TempDirAnnotationHandler tempDirAnnotationHandler
           
protected  TempFileAnnotationHandler tempFileAnnotationHandler
           
 
Constructor Summary
IOModule.IOTestListener(FileContentAnnotationHandler fileContentAnnotationHandler, TempFileAnnotationHandler tempFileAnnotationHandler, TempDirAnnotationHandler tempDirAnnotationHandler)
           
 
Method Summary
 void afterTestMethod(Object testObject, Method testMethod, Throwable testThrowable)
           
 void beforeTestSetUp(Object testObject, Method testMethod)
           
 
Methods inherited from class org.unitils.core.TestListener
afterCreateTestObject, afterTestTearDown, beforeTestClass, beforeTestMethod, shouldInvokeTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileContentAnnotationHandler

protected FileContentAnnotationHandler fileContentAnnotationHandler

tempFileAnnotationHandler

protected TempFileAnnotationHandler tempFileAnnotationHandler

tempDirAnnotationHandler

protected TempDirAnnotationHandler tempDirAnnotationHandler
Constructor Detail

IOModule.IOTestListener

public IOModule.IOTestListener(FileContentAnnotationHandler fileContentAnnotationHandler,
                               TempFileAnnotationHandler tempFileAnnotationHandler,
                               TempDirAnnotationHandler tempDirAnnotationHandler)
Method Detail

beforeTestSetUp

public void beforeTestSetUp(Object testObject,
                            Method testMethod)
Overrides:
beforeTestSetUp in class TestListener

afterTestMethod

public void afterTestMethod(Object testObject,
                            Method testMethod,
                            Throwable testThrowable)
Overrides:
afterTestMethod in class TestListener


Copyright © 2014. All Rights Reserved.