|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OsgiJUnitTest
JUnit contract for OSGi environments. It wraps some of TestCase methods as well as adds some to allow flexible access to the test instance by the TestRunnerService implementation.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void osgiSetUp() throws Exception
Exception
TestCase.setUp()
void osgiTearDown() throws Exception
Exception
TestCase.tearDown()
void osgiRunTest() throws Throwable
Throwable
void injectBundleContext(org.osgi.framework.BundleContext bundleContext)
bundleContext
- junit.framework.TestCase getTestCase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |