org.jboss.osgi.husky.runtime.osgi
Class OSGiJUnitRunner
java.lang.Object
org.jboss.osgi.husky.runtime.junit.JUnitRunner
org.jboss.osgi.husky.runtime.osgi.OSGiJUnitRunner
- All Implemented Interfaces:
- Runner
public class OSGiJUnitRunner
- extends JUnitRunner
An extension to the JUnitRunner that injects the OSGi BundleContext.
- Since:
- 16-May-2009
- Author:
- Thomas.Diesler@jboss.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGiJUnitRunner
public OSGiJUnitRunner()
injectField
protected void injectField(Field field,
Object target,
Context context)
throws IllegalAccessException
- Overrides:
injectField in class JUnitRunner
- Throws:
IllegalAccessException
injectMethod
protected void injectMethod(Method method,
Object target,
Context context)
throws IllegalAccessException,
InvocationTargetException
- Overrides:
injectMethod in class JUnitRunner
- Throws:
IllegalAccessException
InvocationTargetException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.