|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gemini.blueprint.test.internal.support.OsgiJUnitTestAdapter
public class OsgiJUnitTestAdapter
Reflection-based adapter for OsgiJUnitTest used for wrapping
AbstractOsgiTests & co. with OsgiJUnitTest interface without
exposing the latter interface (which is internal and might be modified in the
future).
| Constructor Summary | |
|---|---|
OsgiJUnitTestAdapter(junit.framework.TestCase target)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OsgiJUnitTestAdapter(junit.framework.TestCase target)
| Method Detail |
|---|
public void injectBundleContext(org.osgi.framework.BundleContext bundleContext)
OsgiJUnitTest
injectBundleContext in interface OsgiJUnitTest
public void osgiRunTest()
throws Throwable
OsgiJUnitTest
osgiRunTest in interface OsgiJUnitTestThrowable
public void osgiSetUp()
throws Exception
OsgiJUnitTest
osgiSetUp in interface OsgiJUnitTestExceptionTestCase.setUp()
public void osgiTearDown()
throws Exception
OsgiJUnitTest
osgiTearDown in interface OsgiJUnitTestExceptionTestCase.tearDown()public junit.framework.TestCase getTestCase()
OsgiJUnitTest
getTestCase in interface OsgiJUnitTest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||