org.unitils.compositetest.impl
Class CompositeTestListener

java.lang.Object
  extended by org.unitils.core.TestListener
      extended by org.unitils.compositetest.impl.CompositeTestListener

public class CompositeTestListener
extends org.unitils.core.TestListener

Author:
Jef Verelst

Constructor Summary
CompositeTestListener()
           
 
Method Summary
 void afterCreateTestObject(Object testObject)
           
 boolean shouldInvokeTestMethod(Object testObject, Method testMethod)
          This method checks whether the TestPart annotation is present.
 
Methods inherited from class org.unitils.core.TestListener
afterTestMethod, afterTestTearDown, beforeTestClass, beforeTestMethod, beforeTestSetUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeTestListener

public CompositeTestListener()
Method Detail

afterCreateTestObject

public void afterCreateTestObject(Object testObject)
Overrides:
afterCreateTestObject in class org.unitils.core.TestListener

shouldInvokeTestMethod

public boolean shouldInvokeTestMethod(Object testObject,
                                      Method testMethod)
This method checks whether the TestPart annotation is present. If it is, depending on the value specified in the annotation.

Overrides:
shouldInvokeTestMethod in class org.unitils.core.TestListener
Returns:


Copyright © 2014. All Rights Reserved.