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
static void afterClass()
           
static OSGiRuntime createDefaultRuntime()
          Delegates to OSGiRuntimeHelper#getDefaultRuntime()
static OSGiRuntime createEmbeddedRuntime()
          Delegates to OSGiRuntimeHelper#getEmbeddedRuntime()
static OSGiRuntime createRemoteRuntime()
          Delegates to OSGiRuntimeHelper#getRemoteRuntime()
static OSGiRuntime getRuntime()
           
 void setUp()
          Writes a a debug start messge
static void shutdownRuntime()
           
 void tearDown()
          Writes a a debug stop messge
 
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, toInputStream, 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

setUp

public void setUp()
           throws Exception
Description copied from class: OSGiTest
Writes a a debug start messge

Overrides:
setUp in class OSGiTest
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Description copied from class: OSGiTest
Writes a a debug stop messge

Overrides:
tearDown in class OSGiTest
Throws:
Exception

afterClass

public static void afterClass()
                       throws Exception
Throws:
Exception

shutdownRuntime

public static void shutdownRuntime()

getRuntime

public static OSGiRuntime getRuntime()

createDefaultRuntime

public static OSGiRuntime createDefaultRuntime()
Delegates to OSGiRuntimeHelper#getDefaultRuntime()


createEmbeddedRuntime

public static OSGiRuntime createEmbeddedRuntime()
Delegates to OSGiRuntimeHelper#getEmbeddedRuntime()


createRemoteRuntime

public static OSGiRuntime createRemoteRuntime()
Delegates to OSGiRuntimeHelper#getRemoteRuntime()



Copyright © 2010. All Rights Reserved.