|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.springframework.test.ConditionalTestCase org.springframework.test.AbstractSpringContextTests org.springframework.test.AbstractSingleSpringContextTests org.springframework.test.AbstractDependencyInjectionSpringContextTests org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests org.springframework.osgi.test.AbstractOsgiTests org.springframework.osgi.test.AbstractConfigurableOsgiTests
public abstract class AbstractConfigurableOsgiTests
Abstract JUnit super class which configures an OsgiPlatform
.
Field Summary | |
---|---|
static String |
OSGI_FRAMEWORK_SELECTOR
System property for selecting the appropriate OSGi implementation. |
Fields inherited from class org.springframework.osgi.test.AbstractOsgiTests |
---|
resourceLoader |
Fields inherited from class org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests |
---|
bundleContext |
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests |
---|
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO |
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests |
---|
applicationContext |
Fields inherited from class org.springframework.test.ConditionalTestCase |
---|
logger |
Constructor Summary | |
---|---|
AbstractConfigurableOsgiTests()
Default constructor. |
|
AbstractConfigurableOsgiTests(String name)
Constructs a new AbstractConfigurableOsgiTests instance. |
Method Summary | |
---|---|
protected OsgiPlatform |
createPlatform()
Creates (and configures) the OSGi platform. This implementation determines and creates the OSGi platform used by the test suite (Equinox by default). |
protected List |
getBootDelegationPackages()
Returns the list of OSGi packages that are delegated to the boot classpath. |
protected String |
getPlatformName()
Indicates what OSGi platform should be used by the test suite. |
Methods inherited from class org.springframework.osgi.test.AbstractOsgiTests |
---|
getTestBundles, getTestFrameworkBundles, postProcessBundleContext, preProcessBundleContext, run, runBare |
Methods inherited from class org.springframework.osgi.test.AbstractOptionalDependencyInjectionTests |
---|
createApplicationContext, isContextKeyEmpty |
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests |
---|
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables |
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests |
---|
contextKey, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigLocations, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, onSetUp, onTearDown, prepareApplicationContext, setDirty, setUp, tearDown |
Methods inherited from class org.springframework.test.AbstractSpringContextTests |
---|
addContext, contextKeyString, getContext, hasCachedContext, setDirty |
Methods inherited from class org.springframework.test.ConditionalTestCase |
---|
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String OSGI_FRAMEWORK_SELECTOR
Constructor Detail |
---|
public AbstractConfigurableOsgiTests()
AbstractConfigurableOsgiTests
instance.
public AbstractConfigurableOsgiTests(String name)
AbstractConfigurableOsgiTests
instance.
name
- test nameMethod Detail |
---|
protected OsgiPlatform createPlatform()
getPlatformName
, falling back to
Equinox in case of a failure.
createPlatform
in class AbstractOsgiTests
for an easier alternative.
protected String getPlatformName()
OSGI_FRAMEWORK_SELECTOR
system property is used.
Subclasses can override this and provide directly the OSGi platform name.
By default, the platform name holds the fully qualified name of the OSGi
platform class.
Platforms
protected List getBootDelegationPackages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |