Uses of Class
com.yahoo.jdisc.test.TestDriver
Package
Description
Provides classes and interfaces for implementing unit tests of jDISC components.
-
Uses of TestDriver in com.yahoo.jdisc.test
Modifier and TypeMethodDescriptionstatic 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 injectedApplication
.static TestDriver
TestDriver.newInjectedApplicationInstance
(Class<? extends Application> appClass, com.google.inject.Module... guiceModules) Creates a new TestDriver with an injectedApplication
.static TestDriver
TestDriver.newInjectedApplicationInstanceWithoutOsgi
(Application app, com.google.inject.Module... guiceModules) Creates a new TestDriver with an injectedApplication
, but without OSGi support.static TestDriver
TestDriver.newInjectedApplicationInstanceWithoutOsgi
(Class<? extends Application> appClass, com.google.inject.Module... guiceModules) Creates a new TestDriver with an injectedApplication
, but without OSGi support.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 predefinedApplication
implementation.static TestDriver
TestDriver.newSimpleApplicationInstanceWithoutOsgi
(com.google.inject.Module... guiceModules) Creates a new TestDriver with a predefinedApplication
implementation, but without OSGi support.