|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.test.enterprise.IntegrationTestHelper
public class IntegrationTestHelper
An integration test helper that deals with test deployment/undeployment, etc.
| Field Summary | |
|---|---|
protected static java.lang.String |
SYSPROP_TEST_ARCHIVE_DIRECTORY
|
protected static java.lang.String |
SYSPROP_TEST_RESOURCES_DIRECTORY
|
protected static java.lang.String |
testArchiveDir
|
protected static java.lang.String |
testResourcesDir
|
| Constructor Summary | |
|---|---|
IntegrationTestHelper()
|
|
| Method Summary | |
|---|---|
void |
deploy(java.lang.String archive)
|
void |
deploy(java.lang.String[] archives)
|
void |
deploy(java.net.URL archive)
|
java.io.File |
getResourceFile(java.lang.String resource)
Try to discover the File for the test resource |
java.net.URL |
getResourceURL(java.lang.String resource)
Try to discover the URL for the test resource |
javax.management.MBeanServerConnection |
getServer()
|
static java.lang.String |
getTestArchiveDir()
|
static java.io.File |
getTestArchiveFile(java.lang.String archive)
Try to discover the File for the deployment archive |
static java.net.URL |
getTestArchiveURL(java.lang.String archive)
Try to discover the URL for the deployment archive |
java.lang.String |
getTestResourcesDir()
|
boolean |
isTargetJBoss422()
|
boolean |
isTargetJBoss423()
|
boolean |
isTargetJBoss500()
|
void |
undeploy(java.lang.String archive)
|
void |
undeploy(java.lang.String[] archives)
|
void |
undeploy(java.net.URL archive)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String SYSPROP_TEST_RESOURCES_DIRECTORY
protected static final java.lang.String SYSPROP_TEST_ARCHIVE_DIRECTORY
protected static java.lang.String testResourcesDir
protected static java.lang.String testArchiveDir
| Constructor Detail |
|---|
public IntegrationTestHelper()
| Method Detail |
|---|
public void deploy(java.lang.String[] archives)
throws java.lang.Exception
java.lang.Exception
public void deploy(java.lang.String archive)
throws java.lang.Exception
java.lang.Exception
public void deploy(java.net.URL archive)
throws java.lang.Exception
java.lang.Exception
public void undeploy(java.lang.String[] archives)
throws java.lang.Exception
java.lang.Exception
public void undeploy(java.lang.String archive)
throws java.lang.Exception
java.lang.Exception
public void undeploy(java.net.URL archive)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isTargetJBoss500()
public boolean isTargetJBoss423()
public boolean isTargetJBoss422()
public javax.management.MBeanServerConnection getServer()
public java.net.URL getResourceURL(java.lang.String resource)
public java.io.File getResourceFile(java.lang.String resource)
public java.lang.String getTestResourcesDir()
public static java.net.URL getTestArchiveURL(java.lang.String archive)
public static java.io.File getTestArchiveFile(java.lang.String archive)
public static java.lang.String getTestArchiveDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||