Package com.sun.xml.ws.test.exec
Class DeploymentExecutor
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.sun.xml.ws.test.exec.DeploymentExecutor
- All Implemented Interfaces:
junit.framework.Test
public class DeploymentExecutor
extends junit.framework.TestCase
TestCase that deploys a TestService to
the ApplicationContainer.
After this test is run, createUndeployer() needs
to be used to undeploy the deployed service.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.sun.xml.ws.test.exec.ExecutorCreates another test to be exeucted at the end to undeploy the service that this test deployed.protected final FilemakeWorkDir(String dirName) voidrunTest()Executes something.protected voidsetUp()protected voidtearDown()voidMethods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
-
Constructor Details
-
DeploymentExecutor
-
-
Method Details
-
runTest
Executes something. Error happened during this will be recorded as a test failure.- Throws:
Throwable
-
updateWsitClient
- Throws:
Exception
-
addSTSToClasspath
- Throws:
Exception
-
createUndeployer
public com.sun.xml.ws.test.exec.Executor createUndeployer()Creates another test to be exeucted at the end to undeploy the service that this test deployed. -
setUp
- Overrides:
setUpin classjunit.framework.TestCase- Throws:
Exception
-
tearDown
- Overrides:
tearDownin classjunit.framework.TestCase- Throws:
Exception
-
makeWorkDir
-