|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.spi.testing.OSGiTest
public abstract class OSGiTest
An abstract OSGi Test.
OSGiTest is a convenience wrapper for the functionality provided
by OSGiTestHelper.
| Constructor Summary | |
|---|---|
protected |
OSGiTest()
|
| Method Summary | |
|---|---|
protected OSGiRuntime |
getDefaultRuntime()
Delegates to OSGiTestHelper.getDefaultRuntime() |
protected OSGiRuntime |
getEmbeddedRuntime()
Delegates to OSGiTestHelper.getEmbeddedRuntime() |
javax.naming.InitialContext |
getInitialContext()
Delegates to OSGiTestHelper.getInitialContext() |
java.lang.Integer |
getJndiPort()
Delegates to OSGiTestHelper.getJndiPort() |
protected java.lang.String |
getLongName()
Get the the FQN of this test class. |
OSGiRuntime |
getRemoteRuntime()
Delegates to OSGiTestHelper.getRemoteRuntime() |
protected java.io.File |
getResourceFile(java.lang.String resource)
Delegates to OSGiTestHelper.getResourceFile(String) |
protected java.net.URL |
getResourceURL(java.lang.String resource)
Delegates to OSGiTestHelper.getResourceURL(String) |
java.lang.String |
getServerHost()
Delegates to OSGiTestHelper.getServerHost() |
protected java.lang.String |
getShortName()
Get the last token in the FQN of this test class. |
protected java.io.File |
getTestArchiveFile(java.lang.String archive)
Delegates to OSGiTestHelper.getTestArchiveFile(String) |
protected java.net.URL |
getTestArchiveURL(java.lang.String archive)
Delegates to OSGiTestHelper.getTestArchiveURL(String) |
protected OSGiTestHelper |
getTestHelper()
Get the test helper used by this test Overwrite if you need to supply another helper i.e. |
void |
setUp()
Writes a a debug start messge |
void |
tearDown()
Writes a a debug stop messge |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected OSGiTest()
| Method Detail |
|---|
protected OSGiTestHelper getTestHelper()
public void setUp()
throws java.lang.Exception
java.lang.Exception
public void tearDown()
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getShortName()
protected java.lang.String getLongName()
protected OSGiRuntime getDefaultRuntime()
OSGiTestHelper.getDefaultRuntime()
protected OSGiRuntime getEmbeddedRuntime()
OSGiTestHelper.getEmbeddedRuntime()
public OSGiRuntime getRemoteRuntime()
OSGiTestHelper.getRemoteRuntime()
protected java.net.URL getResourceURL(java.lang.String resource)
OSGiTestHelper.getResourceURL(String)
protected java.io.File getResourceFile(java.lang.String resource)
OSGiTestHelper.getResourceFile(String)
protected java.net.URL getTestArchiveURL(java.lang.String archive)
OSGiTestHelper.getTestArchiveURL(String)
protected java.io.File getTestArchiveFile(java.lang.String archive)
OSGiTestHelper.getTestArchiveFile(String)
public javax.naming.InitialContext getInitialContext()
throws javax.naming.NamingException
OSGiTestHelper.getInitialContext()
javax.naming.NamingExceptionpublic java.lang.Integer getJndiPort()
OSGiTestHelper.getJndiPort()
public java.lang.String getServerHost()
OSGiTestHelper.getServerHost()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||