|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.ant.test.JomcTaskTest
public class JomcTaskTest
Test cases for class org.jomc.ant.JomcTask
.
Constructor Summary | |
---|---|
JomcTaskTest()
Creates a new JomcTaskTest instance. |
Method Summary | |
---|---|
AntExecutionResult |
executeTarget(String target)
Executes an Ant target. |
AntExecutor |
getAntExecutor()
Gets the AntExecutor instance backing the test. |
protected String |
getBuildFileName()
Gets the name of the build file backing the test. |
JomcTask |
getJomcTask()
Gets the JomcTask instance tests are performed with. |
File |
getOutputDirectory()
Gets the output directory of instance. |
org.apache.tools.ant.Project |
getProject()
Gets the Project backing the test. |
protected AntExecutor |
newAntExecutor()
Creates a new AntExecutor instance backing the test. |
protected JomcTask |
newJomcTask()
Creates a new JomcTask instance to test. |
protected org.apache.tools.ant.Project |
newProject()
Creates and configures a new Project instance backing the test. |
void |
setUp()
|
void |
tearDown()
|
void |
testAssertKeysNotNull()
|
void |
testAssertLocationsNotNull()
|
void |
testAssertNamesNotNull()
|
void |
testAssertNotNull()
|
void |
testCloneable()
|
void |
testExecuteTask()
|
void |
testExecuteTaskIf()
|
void |
testExecuteTaskUnless()
|
void |
testGetModel()
|
void |
testGetProperties()
|
void |
testGetResource()
|
void |
testGetTransformer()
|
void |
testModelContextAttributeMissingKey()
|
void |
testTransformationOutputPropertyMissingKey()
|
void |
testTransformationParameterMissingKey()
|
void |
testTransformationParameterResourceMissingLocation()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JomcTaskTest()
JomcTaskTest
instance.
Method Detail |
---|
public final File getOutputDirectory()
public JomcTask getJomcTask()
JomcTask
instance tests are performed with.
JomcTask
instance tests are performed with.newJomcTask()
protected JomcTask newJomcTask()
JomcTask
instance to test.
JomcTask
instance to test.getJomcTask()
public org.apache.tools.ant.Project getProject()
Project
backing the test.
Project
backing the test.newProject()
protected org.apache.tools.ant.Project newProject()
Project
instance backing the test.
Project
instance backing the test.getProject()
,
getBuildFileName()
public AntExecutor getAntExecutor()
AntExecutor
instance backing the test.
AntExecutor
instance backing the test.newAntExecutor()
protected AntExecutor newAntExecutor()
AntExecutor
instance backing the test.
AntExecutor
instance backing the test.getAntExecutor()
protected String getBuildFileName()
newProject()
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
public AntExecutionResult executeTarget(String target)
target
- The name of the target to execute.
NullPointerException
- if target
is null
.public final void testAssertNotNull() throws Exception
Exception
public final void testAssertNamesNotNull() throws Exception
Exception
public final void testAssertKeysNotNull() throws Exception
Exception
public final void testAssertLocationsNotNull() throws Exception
Exception
public final void testGetTransformer() throws Exception
Exception
public final void testGetResource() throws Exception
Exception
public final void testGetProperties() throws Exception
Exception
public final void testGetModel() throws Exception
Exception
public final void testExecuteTask() throws Exception
Exception
public final void testExecuteTaskIf() throws Exception
Exception
public final void testExecuteTaskUnless() throws Exception
Exception
public final void testCloneable() throws Exception
Exception
public final void testModelContextAttributeMissingKey() throws Exception
Exception
public final void testTransformationParameterMissingKey() throws Exception
Exception
public final void testTransformationParameterResourceMissingLocation() throws Exception
Exception
public final void testTransformationOutputPropertyMissingKey() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |