| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.runner.Runner
org.junit.internal.runners.JUnit4ClassRunner
org.kuali.student.common.test.spring.ServiceTestClassRunner
public class ServiceTestClassRunner
| Field Summary | |
|---|---|
| private  org.mortbay.jetty.Server | server | 
| private  Class<?> | testImplClass | 
| Constructor Summary | |
|---|---|
| ServiceTestClassRunner(Class<?> klass) | |
| Method Summary | |
|---|---|
| protected  Object | createTest()Creates a client and injects it into the test class based on the @Client annotations | 
|  void | run(org.junit.runner.notification.RunNotifier notifier) | 
| private  void | startServer()Start a server based on the service Impl @WebService annotaions and the test class @ | 
| private  void | stopServer() | 
| Methods inherited from class org.junit.internal.runners.JUnit4ClassRunner | 
|---|
| classAnnotations, filter, getDescription, getName, getTestClass, getTestMethods, invokeTestMethod, methodDescription, runMethods, sort, testAnnotations, testName, validate, wrapMethod | 
| 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 | 
| Field Detail | 
|---|
private final Class<?> testImplClass
private org.mortbay.jetty.Server server
| Constructor Detail | 
|---|
public ServiceTestClassRunner(Class<?> klass)
                       throws org.junit.internal.runners.InitializationError
org.junit.internal.runners.InitializationError| Method Detail | 
|---|
protected Object createTest()
                     throws Exception
createTest in class org.junit.internal.runners.JUnit4ClassRunnerExceptionprivate void startServer()
public void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.internal.runners.JUnit4ClassRunnerprivate void stopServer()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||