org.jvnet.hk2.junit
Class Hk2Runner
java.lang.Object
org.junit.runner.Runner
org.jvnet.hk2.junit.Hk2Runner
public class Hk2Runner
- extends org.junit.runner.Runner
JUnit runner for hk2 enabled tests. Life-cycle of the test will be managed by
this runner which will allow for dependency injection
- Author:
- Jerome Dochez
| 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 |
Hk2Runner
public Hk2Runner(Class<?> testClass)
getDescription
public org.junit.runner.Description getDescription()
- Specified by:
getDescription in class org.junit.runner.Runner
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Specified by:
run in class org.junit.runner.Runner
getHabitat
public static Habitat getHabitat()
createHabitat
public static Habitat createHabitat()
Copyright © 2011 Oracle Corporation. All Rights Reserved.