org.jboss.osgi.spi.junit
Class IntegrationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.osgi.spi.junit.OSGiTest
              extended by org.jboss.osgi.spi.junit.IntegrationTest
All Implemented Interfaces:
junit.framework.Test

public abstract class IntegrationTest
extends OSGiTest

An integration test case

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

Constructor Summary
IntegrationTest()
           
 
Method Summary
protected  void deploy(java.lang.String archive)
           
protected  void deploy(java.net.URL archive)
           
protected  RemoteBundle deployBundle(java.lang.String archive)
           
protected  RemoteFramework getRemoteFramework()
           
protected  javax.management.MBeanServerConnection getServer()
           
protected  java.lang.String getServerHost()
           
protected  boolean isRemoteIntegration()
           
protected  boolean isTargetJBoss50()
           
protected  void startRemoteLogEntryTracking(LogEntryCache entryCache)
           
protected  void stopRemoteLogEntryTracking()
           
protected  void undeploy(java.lang.String archive)
           
protected  void undeploy(java.net.URL archive)
           
protected  void undeployBundle(java.lang.String archive)
           
 
Methods inherited from class org.jboss.osgi.spi.junit.OSGiTest
createBootstrapProvider, getBootstrapProvider, getLongName, getResourceFile, getResourceURL, getShortName, getTestArchiveFile, getTestArchiveURL, installBundle, setBootstrapProvider, setUp, startLogEntryTracking, stopLogEntryTracking, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegrationTest

public IntegrationTest()
Method Detail

startRemoteLogEntryTracking

protected void startRemoteLogEntryTracking(LogEntryCache entryCache)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

stopRemoteLogEntryTracking

protected void stopRemoteLogEntryTracking()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

isRemoteIntegration

protected boolean isRemoteIntegration()

isTargetJBoss50

protected boolean isTargetJBoss50()

deployBundle

protected RemoteBundle deployBundle(java.lang.String archive)
                             throws java.lang.Exception
Throws:
java.lang.Exception

undeployBundle

protected void undeployBundle(java.lang.String archive)
                       throws java.lang.Exception
Throws:
java.lang.Exception

deploy

protected void deploy(java.lang.String archive)
               throws java.lang.Exception
Throws:
java.lang.Exception

deploy

protected void deploy(java.net.URL archive)
               throws java.lang.Exception
Throws:
java.lang.Exception

undeploy

protected void undeploy(java.lang.String archive)
                 throws java.lang.Exception
Throws:
java.lang.Exception

undeploy

protected void undeploy(java.net.URL archive)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getRemoteFramework

protected RemoteFramework getRemoteFramework()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getServer

protected javax.management.MBeanServerConnection getServer()

getServerHost

protected java.lang.String getServerHost()


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.