|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.testing.OSGiTest
public abstract class OSGiTest
An abstract OSGi Test.
A convenience wrapper for the functionality provided by OSGiTestHelper.
| Constructor Summary | |
|---|---|
OSGiTest()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiTest()
| Method Detail |
|---|
protected OSGiTestHelper getTestHelper()
public void setUp()
throws Exception
Exception
public void tearDown()
throws Exception
Exceptionprotected String getShortName()
protected String getLongName()
protected URL getResourceURL(String resource)
OSGiTestHelper.getResourceURL(String)
protected File getResourceFile(String resource)
OSGiTestHelper.getResourceFile(String)
protected URL getTestArchiveURL(String archive)
OSGiTestHelper.getTestArchiveURL(String)
protected String getTestArchivePath(String archive)
OSGiTestHelper.getTestArchivePath(String)
protected File getTestArchiveFile(String archive)
OSGiTestHelper.getTestArchiveFile(String)
protected InitialContext getInitialContext()
throws NamingException
OSGiTestHelper.getInitialContext()
NamingExceptionprotected String getServerHost()
OSGiTestHelper.getServerHost()
protected String getTargetContainer()
OSGiTestHelper.getTargetContainer()
protected String getFrameworkName()
OSGiTestHelper.getFrameworkName()
protected org.jboss.shrinkwrap.api.Archive<?> assembleArchive(String name,
String resource,
Class<?>... packages)
throws Exception
OSGiTestHelper.assembleArchive(String, String, Class...)
Exception
protected org.jboss.shrinkwrap.api.Archive<?> assembleArchive(String name,
String[] resources,
Class<?>... packages)
throws Exception
OSGiTestHelper.assembleArchive(String, String[], Class...)
Exception
protected VirtualFile toVirtualFile(org.jboss.shrinkwrap.api.Archive<?> archive)
throws IOException,
MalformedURLException
OSGiTestHelper.toVirtualFile(Archive)
IOException
MalformedURLException
protected void assertBundleState(int expState,
int wasState)
OSGiTestHelper.assertBundleState(int, int)
protected Class<?> assertLoadClass(Bundle bundle,
String className)
OSGiTestHelper.assertLoadClass(Bundle, String)
protected void assertLoadClassFail(Bundle bundle,
String className)
OSGiTestHelper.assertLoadClassFail(Bundle, String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||