Package | Description |
---|---|
com.yahoo.jdisc.test |
Provides classes and interfaces for implementing unit tests of jDISC components.
|
Modifier and Type | Method and Description |
---|---|
static TestDriver |
TestDriver.newApplicationBundleInstance(String bundleLocation,
boolean privileged,
com.google.inject.Module... guiceModules)
Creates a new TestDriver from an application bundle.
|
static TestDriver |
TestDriver.newInjectedApplicationInstance(Application app,
com.google.inject.Module... guiceModules)
Creates a new TestDriver with an injected
Application . |
static TestDriver |
TestDriver.newInjectedApplicationInstance(Class<? extends Application> appClass,
com.google.inject.Module... guiceModules)
Creates a new TestDriver with an injected
Application . |
static TestDriver |
TestDriver.newInjectedApplicationInstanceWithoutOsgi(Application app,
com.google.inject.Module... guiceModules)
Creates a new TestDriver with an injected
Application , but without OSGi support. |
static TestDriver |
TestDriver.newInjectedApplicationInstanceWithoutOsgi(Class<? extends Application> appClass,
com.google.inject.Module... guiceModules)
Creates a new TestDriver with an injected
Application , but without OSGi support. |
private static TestDriver |
TestDriver.newInstance(OsgiFramework osgiFramework,
String bundleLocation,
boolean privileged,
Iterable<? extends com.google.inject.Module> guiceModules) |
static TestDriver |
TestDriver.newInstance(OsgiFramework osgiFramework,
String bundleLocation,
boolean privileged,
com.google.inject.Module... guiceModules)
Creates a new TestDriver with the given parameters.
|
static TestDriver |
TestDriver.newSimpleApplicationInstance(com.google.inject.Module... guiceModules)
Creates a new TestDriver with a predefined
Application implementation. |
static TestDriver |
TestDriver.newSimpleApplicationInstanceWithoutOsgi(com.google.inject.Module... guiceModules)
Creates a new TestDriver with a predefined
Application implementation, but without OSGi support. |
Copyright © 2018. All rights reserved.