org.apache.tools.ant.taskdefs.optional

Class Test

public class Test extends Java

Deprecated: testlet has been abandoned in favor of JUnit by the Avalon community

This is a primitive task to execute a unit test in the org.apache.testlet framework.

UNKNOWN: ignore="true"

Nested Class Summary
protected static classTest.TestletEntry
testlet to run
Field Summary
protected Vectorm_tests
Constructor Summary
Test()
Method Summary
Test.TestletEntrycreateTestlet()
add a declaration of a testlet to run
voidexecute()
voidsetForceShowTrace(boolean forceShowTrace)
voidsetShowBanner(String showBanner)
a boolean value indicating whether a banner should be displayed when starting testlet engine; optional.
voidsetShowSuccess(boolean showSuccess)
a boolean value indicating whether tests should display a message on success; optional
voidsetShowTrace(boolean showTrace)
a boolean indicating that a stack trace is displayed on error (but not normal failure); optional.

Field Detail

m_tests

protected Vector m_tests

Constructor Detail

Test

public Test()

Method Detail

createTestlet

public Test.TestletEntry createTestlet()
add a declaration of a testlet to run

execute

public void execute()

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