shouldRun(Project p) Check if this test should run based on the if and unless
attributes.
Parameters: p - the project to use to check if the if and unlessproperties exist in.
Constructor with name.
Parameters: name - the name of the test.
JUnitTest
public JUnitTest(String name, boolean haltOnError, boolean haltOnFailure, boolean filtertrace)(Code)
Constructor with options.
Parameters: name - the name of the test. Parameters: haltOnError - if true halt the tests if there is an error. Parameters: haltOnFailure - if true halt the tests if there is a failure. Parameters: filtertrace - if true filter stack traces.
public void setCounts(long runs, long failures, long errors)(Code)
Set the number of runs, failures and errors.
Parameters: runs - the number of runs. Parameters: failures - the number of failures. Parameters: errors - the number of errors.
Check if this test should run based on the if and unless
attributes.
Parameters: p - the project to use to check if the if and unlessproperties exist in. true if this test or testsuite should be run.
Fields inherited from org.apache.tools.ant.taskdefs.optional.junit.BaseTest