public class InVivoRunnerFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.osgi.framework.BundleContext |
context |
| Constructor and Description |
|---|
InVivoRunnerFactory(org.osgi.framework.BundleContext context)
Creates a new instance of
InVivoRunnerFactory. |
| Modifier and Type | Method and Description |
|---|---|
InVivoRunner |
create(String clazz)
Creates a runner for the given class.
|
private Class |
findClass(String clazz) |
public InVivoRunnerFactory(org.osgi.framework.BundleContext context)
InVivoRunnerFactory.context - the bundle context.public InVivoRunner create(String clazz) throws ClassNotFoundException, org.junit.runners.model.InitializationError
clazz - the class name to load (ending with `IT`)ClassNotFoundException - if the class cannot be foundorg.junit.runners.model.InitializationError - if the class cannot be initialized, because for instance services cannot be
injectedprivate Class findClass(String clazz) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2013–2015 Wisdom Framework. All rights reserved.