| |
|
| java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.junit.RunTag
RunTag | public class RunTag extends TagSupport (Code) | | This tag will run the given Test which could be an individual TestCase or a TestSuite.
The TestResult can be specified to capture the output, otherwise the results are output
as XML so that they can be formatted in some custom manner.
author: James Strachan version: $Revision: 155420 $ |
createResult | protected TestResult createResult(XMLOutput output)(Code) | | Factory method to create a new TestResult to capture the output of
the test cases
|
createTestListener | protected TestListener createTestListener(XMLOutput output)(Code) | | Factory method to create a new TestListener to capture the output of
the test cases
|
getListener | public TestListener getListener()(Code) | | Returns the listener.
TestListener |
getResult | public TestResult getResult()(Code) | | Returns the TestResult used to capture the output of the test.
TestResult |
getTest | public Test getTest()(Code) | | Returns the Test to be ran.
Test |
handleSAXException | protected void handleSAXException(SAXException e)(Code) | | Handles SAX Exceptions
|
setListener | public void setListener(TestListener listener)(Code) | | Sets the TestListener.to be used to format the output of running the unit test cases
Parameters: listener - The listener to set |
setResult | public void setResult(TestResult result)(Code) | | Sets the JUnit TestResult used to capture the results of the tst
Parameters: result - The TestResult to use |
setTest | public void setTest(Test test)(Code) | | Sets the JUnit Test to run which could be an individual test or a TestSuite
Parameters: test - The test to run |
|
|
|