|
||||||||||
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.apache.tools.ant.BuildFileTest
net.sourceforge.pmd.ant.AbstractAntTestHelper
public abstract class AbstractAntTestHelper
Quite an ugly classe, arguably useful for just 2 units test - nevertheless as there is a workaround that must be shared by both tests (PMD and CPD's) I felt compelled to move it to a single classes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.tools.ant.BuildFileTest |
---|
org.apache.tools.ant.BuildFileTest.AntOutputStream |
Field Summary | |
---|---|
protected String |
antTestScriptFilename
|
String |
mvnWorkaround
|
protected String |
pathToTestScript
|
Fields inherited from class org.apache.tools.ant.BuildFileTest |
---|
project |
Constructor Summary | |
---|---|
AbstractAntTestHelper()
|
Method Summary | |
---|---|
void |
setUp()
|
Methods inherited from class org.apache.tools.ant.BuildFileTest |
---|
assertDebuglogContaining, assertLogContaining, assertLogNotContaining, assertOutputContaining, assertOutputContaining, assertOutputNotContaining, assertPropertyEquals, assertPropertySet, assertPropertyUnset, configureProject, configureProject, executeTarget, expectBuildException, expectBuildExceptionContaining, expectDebuglog, expectLog, expectLogContaining, expectLogNotContaining, expectOutput, expectOutputAndError, expectPropertySet, expectPropertySet, expectPropertyUnset, expectSpecificBuildException, getBuildException, getError, getFullLog, getLog, getOutput, getOutputDir, getProject, getProjectDir, getResource, tearDown |
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, runTest, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String pathToTestScript
protected String antTestScriptFilename
public String mvnWorkaround
Constructor Detail |
---|
public AbstractAntTestHelper()
Method Detail |
---|
public void setUp()
setUp
in class junit.framework.TestCase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |