Package com.sun.xml.ws.test.exec
Class PrepareExecutor
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- com.sun.xml.ws.test.exec.PrepareExecutor
-
- All Implemented Interfaces:
junit.framework.Test
public class PrepareExecutor extends junit.framework.TestCaseExecutorthat cleans up the work directory (if necessary) and create directories (if necessary). This is needed to avoid picking up old artifacts from the previous test run.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description DeploymentContextcontextEveryExecutorworks for oneDeploymentContext.
-
Constructor Summary
Constructors Constructor Description PrepareExecutor(DeploymentContext context, boolean clean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FilemakeWorkDir(String dirName)voidrunTest()Executes something.protected voidsetUp()protected voidtearDown()-
Methods 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
-
-
-
-
Field Detail
-
context
public final DeploymentContext context
EveryExecutorworks for oneDeploymentContext.
-
-
Constructor Detail
-
PrepareExecutor
public PrepareExecutor(DeploymentContext context, boolean clean)
-
-
Method Detail
-
runTest
public void runTest() throws ThrowableExecutes something. Error happened during this will be recorded as a test failure.- Throws:
Throwable
-
setUp
protected void setUp() throws Exception- Overrides:
setUpin classjunit.framework.TestCase- Throws:
Exception
-
tearDown
protected void tearDown() throws Exception- Overrides:
tearDownin classjunit.framework.TestCase- Throws:
Exception
-
-