|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.runner.Runner org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod> org.junit.runners.BlockJUnit4ClassRunner org.kuali.rice.test.runners.RiceUnitTestClassRunner
public class RiceUnitTestClassRunner
A Runner which sets up Rice unit tests appropriately. 1) It invokes setName() on the Test (if the method exists) and sets it to the name of the test method being invoked.
Constructor Summary | |
---|---|
RiceUnitTestClassRunner(Class<?> testClass)
|
Method Summary | |
---|---|
protected Object |
createTest()
|
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier runNotifier)
|
protected void |
setTestMethod(Object test,
Method method)
Sets the Method on the test case if it is MethodAware |
protected void |
setTestName(Object test,
Method testMethod)
|
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner |
---|
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout |
Methods inherited from class org.junit.runners.ParentRunner |
---|
childrenInvoker, classBlock, classRules, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses |
Methods inherited from class org.junit.runner.Runner |
---|
testCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RiceUnitTestClassRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
Method Detail |
---|
protected void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier runNotifier)
runChild
in class org.junit.runners.BlockJUnit4ClassRunner
protected Object createTest() throws Exception
createTest
in class org.junit.runners.BlockJUnit4ClassRunner
Exception
protected void setTestMethod(Object test, Method method)
Method
on the test case if it is MethodAware
method
- the current method to be runtest
- the test instanceprotected void setTestName(Object test, Method testMethod) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |