org.apache.tools.ant.taskdefs.optional
Class Test
This is a primitive task to execute a unit test in the
org.apache.testlet framework.
Test.TestletEntry | createTestlet()- add a declaration of a testlet to run
|
void | execute()- Do the execution.
|
void | setForceShowTrace(boolean forceShowTrace)
|
void | setShowBanner(String showBanner)- a boolean value indicating whether a banner should be displayed
when starting testlet engine; optional.
|
void | setShowSuccess(boolean showSuccess)- a boolean value indicating whether tests should display a
message on success; optional
|
void | setShowTrace(boolean showTrace)- a boolean indicating that a stack trace is displayed on
error (but not normal failure); optional.
|
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, execute, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJVMVersion, setJar, setJvm, setJvmargs, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
m_tests
protected Vector m_tests
Test
public Test()
Sole constructor.
createTestlet
public Test.TestletEntry createTestlet()
add a declaration of a testlet to run
setForceShowTrace
public void setForceShowTrace(boolean forceShowTrace)
setShowBanner
public void setShowBanner(String showBanner)
a boolean value indicating whether a banner should be displayed
when starting testlet engine; optional.
setShowSuccess
public void setShowSuccess(boolean showSuccess)
a boolean value indicating whether tests should display a
message on success; optional
setShowTrace
public void setShowTrace(boolean showTrace)
a boolean indicating that a stack trace is displayed on
error (but not normal failure); optional.
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.