de.jdemo.junit
Class DemoAsTestRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.internal.runners.JUnit4ClassRunner
          extended by de.jdemo.junit.DemoAsTestRunner
All Implemented Interfaces:
org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class DemoAsTestRunner
extends org.junit.internal.runners.JUnit4ClassRunner


Constructor Summary
DemoAsTestRunner(java.lang.Class<? extends IDemoCase> klass)
           
 
Method Summary
protected  java.lang.Object createTest()
           
protected  java.util.List<java.lang.reflect.Method> getTestMethods()
           
protected  void validate()
           
protected  org.junit.internal.runners.TestMethod wrapMethod(java.lang.reflect.Method method)
           
 
Methods inherited from class org.junit.internal.runners.JUnit4ClassRunner
classAnnotations, filter, getDescription, getName, getTestClass, invokeTestMethod, methodDescription, run, runMethods, sort, testAnnotations, testName
 
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

DemoAsTestRunner

public DemoAsTestRunner(java.lang.Class<? extends IDemoCase> klass)
                 throws org.junit.internal.runners.InitializationError
Throws:
org.junit.internal.runners.InitializationError
Method Detail

getTestMethods

protected java.util.List<java.lang.reflect.Method> getTestMethods()
Overrides:
getTestMethods in class org.junit.internal.runners.JUnit4ClassRunner

wrapMethod

protected org.junit.internal.runners.TestMethod wrapMethod(java.lang.reflect.Method method)
Overrides:
wrapMethod in class org.junit.internal.runners.JUnit4ClassRunner

createTest

protected java.lang.Object createTest()
                               throws java.lang.Exception
Overrides:
createTest in class org.junit.internal.runners.JUnit4ClassRunner
Throws:
java.lang.Exception

validate

protected void validate()
Overrides:
validate in class org.junit.internal.runners.JUnit4ClassRunner


JDemo homepage: http://www.jdemo.de
Copyright © 2003-2008 Markus Gebhard. All Rights Reserved.