org.jboss.osgi.testing
Class OSGiRuntimeTest

java.lang.Object
  extended by org.jboss.osgi.testing.OSGiTest
      extended by org.jboss.osgi.testing.OSGiRuntimeTest

public abstract class OSGiRuntimeTest
extends OSGiTest

An abstract OSGi runtime test. A convenience wrapper for the functionality provided by OSGiRuntimeHelper.

Since:
25-Sep-2008
Author:
Thomas.Diesler@jboss.org

Constructor Summary
OSGiRuntimeTest()
           
 
Method Summary
protected  OSGiRuntime getDefaultRuntime()
          Delegates to OSGiRuntimeHelper.getDefaultRuntime()
protected  OSGiRuntime getEmbeddedRuntime()
          Delegates to OSGiRuntimeHelper.getEmbeddedRuntime()
 OSGiRuntime getRemoteRuntime()
          Delegates to OSGiRuntimeHelper.getRemoteRuntime()
protected  OSGiRuntimeHelper getRuntimeHelper()
          Get the test helper used by this test Overwrite if you need to supply another helper i.e.
 
Methods inherited from class org.jboss.osgi.testing.OSGiTest
assembleArchive, assembleArchive, assertBundleState, assertLoadClass, assertLoadClass, assertLoadClassFail, getFrameworkName, getInitialContext, getLongName, getResourceFile, getResourceURL, getServerHost, getShortName, getTargetContainer, getTestArchiveFile, getTestArchivePath, getTestArchiveURL, getTestHelper, setUp, tearDown, toVirtualFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiRuntimeTest

public OSGiRuntimeTest()
Method Detail

getRuntimeHelper

protected OSGiRuntimeHelper getRuntimeHelper()
Get the test helper used by this test Overwrite if you need to supply another helper i.e. one that you have statically setup


getDefaultRuntime

protected OSGiRuntime getDefaultRuntime()
Delegates to OSGiRuntimeHelper.getDefaultRuntime()


getEmbeddedRuntime

protected OSGiRuntime getEmbeddedRuntime()
Delegates to OSGiRuntimeHelper.getEmbeddedRuntime()


getRemoteRuntime

public OSGiRuntime getRemoteRuntime()
Delegates to OSGiRuntimeHelper.getRemoteRuntime()



Copyright © 2010. All Rights Reserved.