org.junitext.internal.runners
Class PrerequisiteHandler

java.lang.Object
  extended by org.junitext.internal.runners.PrerequisiteHandler

public class PrerequisiteHandler
extends java.lang.Object

Handler class for all prerequite handling.


Constructor Summary
PrerequisiteHandler()
           
 
Method Summary
static java.lang.String getClassName(org.junit.runner.Description description)
           
static java.lang.String getMethodName(org.junit.runner.Description description)
           
 boolean handleAnnotation(org.junit.runner.Description description, java.lang.Object testObject, java.lang.annotation.Annotation prereq, org.junit.runner.notification.RunNotifier notifier)
           
 boolean shouldRun(org.junit.runner.Description description, java.lang.Object fTest)
           
 boolean shouldRun(org.junit.runner.Description description, java.lang.Object fTest, org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrerequisiteHandler

public PrerequisiteHandler()
Method Detail

getClassName

public static java.lang.String getClassName(org.junit.runner.Description description)

getMethodName

public static java.lang.String getMethodName(org.junit.runner.Description description)

shouldRun

public boolean shouldRun(org.junit.runner.Description description,
                         java.lang.Object fTest)

shouldRun

public boolean shouldRun(org.junit.runner.Description description,
                         java.lang.Object fTest,
                         org.junit.runner.notification.RunNotifier notifier)

handleAnnotation

public boolean handleAnnotation(org.junit.runner.Description description,
                                java.lang.Object testObject,
                                java.lang.annotation.Annotation prereq,
                                org.junit.runner.notification.RunNotifier notifier)