|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.test.TestUtilities
public final class TestUtilities
Method Summary | |
---|---|
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 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 |
Method Detail |
---|
public static void waitForExceptionRouting()
public static void waitForExceptionRouting(long milliseconds)
public static Thread getExceptionThreader()
public static void setExceptionThreader(Thread exceptionThreader)
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 objectprotected static boolean annotationOverridesSuperClass(Annotation annotation) throws Exception
annotation
- the annotation to inspect
Exception
- if an error occurs during reflection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |