|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 |
---|
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
protected 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 String getServerHost()
OSGiTestHelper.getServerHost()
protected String getTargetContainer()
OSGiTestHelper.getTargetContainer()
protected String getFrameworkName()
OSGiTestHelper.getFrameworkName()
protected org.jboss.shrinkwrap.api.spec.JavaArchive assembleArchive(String name, String resource, Class<?>... packages) throws Exception
OSGiTestHelper.assembleArchive(String, String, Class...)
Exception
protected org.jboss.shrinkwrap.api.spec.JavaArchive 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 InputStream toInputStream(org.jboss.shrinkwrap.api.Archive<?> archive) throws IOException, MalformedURLException
OSGiTestHelper.toInputStream(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)
protected void assertLoadClass(Bundle bundle, String className, Bundle exporter)
OSGiTestHelper.assertLoadClass(Bundle, String, Bundle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |