BaseTest (Apache Ant API)
org.apache.tools.ant.taskdefs.optional.junit
Class BaseTest
java.lang.Object
|
+--org.apache.tools.ant.taskdefs.optional.junit.BaseTest
- Direct Known Subclasses:
- BatchTest, JUnitTest
- public abstract class BaseTest
- extends java.lang.Object
Baseclass for BatchTest and JUnitTest.
- Author:
- Stefan Bodewig
, Stephane Bailliez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
haltOnError
protected boolean haltOnError
haltOnFail
protected boolean haltOnFail
filtertrace
protected boolean filtertrace
fork
protected boolean fork
ifProperty
protected java.lang.String ifProperty
unlessProperty
protected java.lang.String unlessProperty
formatters
protected java.util.Vector formatters
destDir
protected java.io.File destDir
- destination directory
failureProperty
protected java.lang.String failureProperty
errorProperty
protected java.lang.String errorProperty
BaseTest
public BaseTest()
setFiltertrace
public void setFiltertrace(boolean value)
getFiltertrace
public boolean getFiltertrace()
setFork
public void setFork(boolean value)
getFork
public boolean getFork()
setHaltonerror
public void setHaltonerror(boolean value)
setHaltonfailure
public void setHaltonfailure(boolean value)
getHaltonerror
public boolean getHaltonerror()
getHaltonfailure
public boolean getHaltonfailure()
setIf
public void setIf(java.lang.String propertyName)
setUnless
public void setUnless(java.lang.String propertyName)
addFormatter
public void addFormatter(FormatterElement elem)
setTodir
public void setTodir(java.io.File destDir)
- Sets the destination directory.
getTodir
public java.lang.String getTodir()
- Returns:
- the destination directory as an absolute path if it exists
otherwise return null
getFailureProperty
public java.lang.String getFailureProperty()
setFailureProperty
public void setFailureProperty(java.lang.String failureProperty)
getErrorProperty
public java.lang.String getErrorProperty()
setErrorProperty
public void setErrorProperty(java.lang.String errorProperty)
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.