|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jboss.wsf.test.JBossWSTest
public abstract class JBossWSTest
Base class for JBossWS test cases
Field Summary | |
---|---|
protected org.jboss.logging.Logger |
log
|
Constructor Summary | |
---|---|
JBossWSTest()
|
|
JBossWSTest(java.lang.String name)
|
Method Summary | |
---|---|
static void |
assertEquals(org.w3c.dom.Element expElement,
org.w3c.dom.Element wasElement)
|
static void |
assertEquals(org.w3c.dom.Element expElement,
org.w3c.dom.Element wasElement,
boolean ignoreWhitespace)
|
static void |
assertEquals(java.lang.Object exp,
java.lang.Object was)
|
java.io.File |
createResourceFile(java.io.File parent,
java.lang.String filename)
|
java.io.File |
createResourceFile(java.lang.String filename)
|
void |
deploy(java.lang.String archive)
Deploy the given archive |
void |
executeCommand(java.lang.String command)
Execute command in separate process. |
void |
executeCommand(java.lang.String command,
java.io.OutputStream os)
Execute command in separate process, copy process input to os. |
void |
executeCommand(java.lang.String command,
java.io.OutputStream os,
java.lang.String message)
Execute command in separate process, copy process input to os. |
void |
executeCommand(java.lang.String command,
java.io.OutputStream os,
java.lang.String message,
java.util.Map<java.lang.String,java.lang.String> env)
Execute command in separate process, copy process input to os. |
void |
executeCommand(java.lang.String command,
java.lang.String message)
Execute command in separate process. |
java.io.File |
getArchiveFile(java.lang.String archive)
|
java.net.URL |
getArchiveURL(java.lang.String archive)
|
protected javax.naming.InitialContext |
getInitialContext()
Get the client's env context |
protected javax.naming.InitialContext |
getInitialContext(java.lang.String clientName)
Get the client's env context for a given name. |
java.io.File |
getResourceFile(java.lang.String resource)
|
java.net.URL |
getResourceURL(java.lang.String resource)
|
javax.management.MBeanServerConnection |
getServer()
|
java.lang.String |
getServerHost()
|
boolean |
isIntegrationCXF()
|
boolean |
isIntegrationMetro()
|
boolean |
isIntegrationNative()
|
boolean |
isTargetJBoss5()
|
boolean |
isTargetJBoss50()
|
boolean |
isTargetJBoss51()
|
boolean |
isTargetJBoss6()
|
boolean |
isTargetJBoss60()
|
boolean |
isTargetJBoss61()
|
void |
undeploy(java.lang.String archive)
Undeploy the given archive |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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, 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 |
Field Detail |
---|
protected org.jboss.logging.Logger log
Constructor Detail |
---|
public JBossWSTest()
public JBossWSTest(java.lang.String name)
Method Detail |
---|
public void executeCommand(java.lang.String command) throws java.io.IOException
command
- command to execute
java.io.IOException
- if I/O error occurspublic void executeCommand(java.lang.String command, java.lang.String message) throws java.io.IOException
command
- command to executemessage
- message to display if assertion fails
java.io.IOException
- if I/O error occurspublic void executeCommand(java.lang.String command, java.io.OutputStream os) throws java.io.IOException
command
- command to executeos
- output stream to copy process input to. If null, System.out will be used
java.io.IOException
- if I/O error occurspublic void executeCommand(java.lang.String command, java.io.OutputStream os, java.lang.String message) throws java.io.IOException
command
- command to executeos
- output stream to copy process input to. If null, System.out will be usedmessage
- message to display if assertion fails
java.io.IOException
- if I/O error occurspublic void executeCommand(java.lang.String command, java.io.OutputStream os, java.lang.String message, java.util.Map<java.lang.String,java.lang.String> env) throws java.io.IOException
command
- command to executeos
- output stream to copy process input to. If null, System.out will be usedmessage
- message to display if assertion failsenv
- environment
java.io.IOException
- if I/O error occurspublic javax.management.MBeanServerConnection getServer() throws javax.naming.NamingException
javax.naming.NamingException
public boolean isTargetJBoss5()
public boolean isTargetJBoss51()
public boolean isTargetJBoss50()
public boolean isTargetJBoss6()
public boolean isTargetJBoss61()
public boolean isTargetJBoss60()
public boolean isIntegrationNative()
public boolean isIntegrationMetro()
public boolean isIntegrationCXF()
public void deploy(java.lang.String archive) throws java.lang.Exception
java.lang.Exception
public void undeploy(java.lang.String archive) throws java.lang.Exception
java.lang.Exception
public java.lang.String getServerHost()
public java.io.File getArchiveFile(java.lang.String archive)
public java.net.URL getArchiveURL(java.lang.String archive) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.io.File getResourceFile(java.lang.String resource)
public java.net.URL getResourceURL(java.lang.String resource) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.io.File createResourceFile(java.lang.String filename)
public java.io.File createResourceFile(java.io.File parent, java.lang.String filename)
protected javax.naming.InitialContext getInitialContext(java.lang.String clientName) throws javax.naming.NamingException
javax.naming.NamingException
protected javax.naming.InitialContext getInitialContext() throws javax.naming.NamingException
javax.naming.NamingException
public static void assertEquals(org.w3c.dom.Element expElement, org.w3c.dom.Element wasElement, boolean ignoreWhitespace)
public static void assertEquals(org.w3c.dom.Element expElement, org.w3c.dom.Element wasElement)
public static void assertEquals(java.lang.Object exp, java.lang.Object was)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |