public interface OsgiJUnitTest
| Modifier and Type | Method and Description |
|---|---|
junit.framework.TestCase |
getTestCase()
Simple getter that returns the raw TestCase class.
|
void |
injectBundleContext(org.osgi.framework.BundleContext bundleContext)
Provides the OSGi bundle context to the test
|
void |
osgiRunTest()
Replacement for the 'traditional' runTest.
|
void |
osgiSetUp()
Replacement for the 'traditional' setUp.
|
void |
osgiTearDown()
Replacement for the 'traditional' tearDown.
|
void osgiSetUp()
throws Exception
ExceptionTestCase.setUp()void osgiTearDown()
throws Exception
ExceptionTestCase.tearDown()void osgiRunTest()
throws Throwable
Throwablevoid injectBundleContext(org.osgi.framework.BundleContext bundleContext)
bundleContext - junit.framework.TestCase getTestCase()
Copyright © 2006–2023. All rights reserved.