org.jboss.wsf.test
Class JBossWSTestSetup

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.extensions.TestDecorator
          extended by junit.extensions.TestSetup
              extended by org.jboss.wsf.test.JBossWSTestSetup
All Implemented Interfaces:
junit.framework.Test

public class JBossWSTestSetup
extends junit.extensions.TestSetup

A test setup that deploys/undeploys archives

Since:
14-Oct-2004
Author:
Thomas.Diesler@jboss.org

Field Summary
 
Fields inherited from class junit.extensions.TestDecorator
fTest
 
Constructor Summary
JBossWSTestSetup(java.lang.Class<?> testClass, java.lang.String archiveList)
           
JBossWSTestSetup(junit.framework.Test test)
           
JBossWSTestSetup(junit.framework.Test test, java.lang.String archiveList)
           
 
Method Summary
 java.io.File getArchiveFile(java.lang.String archive)
           
 java.net.URL getArchiveURL(java.lang.String archive)
           
 java.io.File getResourceFile(java.lang.String resource)
           
 java.net.URL getResourceURL(java.lang.String resource)
           
 javax.management.MBeanServerConnection getServer()
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.extensions.TestSetup
run
 
Methods inherited from class junit.extensions.TestDecorator
basicRun, countTestCases, getTest, 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

JBossWSTestSetup

public JBossWSTestSetup(java.lang.Class<?> testClass,
                        java.lang.String archiveList)

JBossWSTestSetup

public JBossWSTestSetup(junit.framework.Test test,
                        java.lang.String archiveList)

JBossWSTestSetup

public JBossWSTestSetup(junit.framework.Test test)
Method Detail

getArchiveFile

public java.io.File getArchiveFile(java.lang.String archive)

getArchiveURL

public java.net.URL getArchiveURL(java.lang.String archive)
                           throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getResourceFile

public java.io.File getResourceFile(java.lang.String resource)

getResourceURL

public java.net.URL getResourceURL(java.lang.String resource)
                            throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.extensions.TestSetup
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.extensions.TestSetup
Throws:
java.lang.Exception

getServer

public javax.management.MBeanServerConnection getServer()
                                                 throws javax.naming.NamingException
Throws:
javax.naming.NamingException


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