| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.test.TestUtilities
public class TestUtilities
| Constructor Summary | |
|---|---|
| TestUtilities() | |
| Method Summary | |
|---|---|
| static void | addWebappsToContext()Adds all ResourceLoaders registered to WebAppClassLoaders to the GlobalResourceLoader. | 
| protected static boolean | annotationOverridesSuperClass(Annotation annotation)Determines whether an annotation should override the same type of annotation on a superclass, by using reflection to invoke the 'overrideSuperClasses' method on the annotation if it exists. | 
| protected  List<Class> | annotationsPresent(Class clazz,
                                     Class[] annotationClasses) | 
| protected static boolean | contains(Class[] list,
                 Class target) | 
| static Thread | getExceptionThreader() | 
| static List<Class> | getHierarchyClassesToHandle(Class testClass,
                                                       Class[] annotationClasses,
                                                       Set<String> classesHandled)This method facilitates using annotations in a unit test class hierarchy. | 
| static void | setExceptionThreader(Thread exceptionThreader) | 
| static void | waitForExceptionRouting()Waits "indefinately" for the exception routing thread to terminate. | 
| static void | waitForExceptionRouting(long milliseconds) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TestUtilities()
| Method Detail | 
|---|
public static void waitForExceptionRouting()
public static void waitForExceptionRouting(long milliseconds)
public static Thread getExceptionThreader()
public static void setExceptionThreader(Thread exceptionThreader)
protected List<Class> annotationsPresent(Class clazz,
                                         Class[] annotationClasses)
protected static boolean contains(Class[] list,
                                  Class target)
public static List<Class> getHierarchyClassesToHandle(Class testClass,
                                                      Class[] annotationClasses,
                                                      Set<String> classesHandled)
                                               throws Exception
Exception - if there is a problem in reflection on an Annotation object
protected static boolean annotationOverridesSuperClass(Annotation annotation)
                                                throws Exception
annotation - the annotation to inspect
Exception - if an error occurs during reflectionpublic static void addWebappsToContext()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||