edu.illinois.imunit
Class IMUnitRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by edu.illinois.imunit.IMUnitRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class IMUnitRunner
extends org.junit.runners.BlockJUnit4ClassRunner

Custom JUnit runner for IMUnit.

Author:
Vilas Jagannath (vbangal2@illinois.edu),
Milos Gligoric (gliga@illinois.edu),
Dongyun Jin (djin3@illinois.edu),
Qingzhou Luo (qluo2@illinois.edu).

Constructor Summary
IMUnitRunner(java.lang.Class<?> klass)
          Creates an IMUnitRunner for the given test class.
 
Method Summary
protected  void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
          Collects the schedules specified for each test method and runs the test method for each specified schedule, while enforcing that schedule.
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, run, 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

IMUnitRunner

public IMUnitRunner(java.lang.Class<?> klass)
             throws org.junit.runners.model.InitializationError
Creates an IMUnitRunner for the given test class.

Parameters:
klass -
Throws:
org.junit.runners.model.InitializationError
Method Detail

runChild

protected void runChild(org.junit.runners.model.FrameworkMethod method,
                        org.junit.runner.notification.RunNotifier notifier)
Collects the schedules specified for each test method and runs the test method for each specified schedule, while enforcing that schedule.

Overrides:
runChild in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2011 University of Illinois at Urbana-Champaign. All Rights Reserved.