A C D F G H J O P R S

A

addTest(Test) - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
Adds a new Test to this suite
AssertEqualsTag - class org.apache.commons.jelly.tags.junit.AssertEqualsTag.
Compares an actual object against an expected object and if they are different then the test will fail.
AssertEqualsTag() - Constructor for class org.apache.commons.jelly.tags.junit.AssertEqualsTag
 
AssertTag - class org.apache.commons.jelly.tags.junit.AssertTag.
Performs an assertion that a given boolean expression, or XPath expression is true.
AssertTag() - Constructor for class org.apache.commons.jelly.tags.junit.AssertTag
 
AssertTagSupport - class org.apache.commons.jelly.tags.junit.AssertTagSupport.
The abstract base class of any assertion tag which is useful for implementation inheritence.
AssertTagSupport() - Constructor for class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
AssertThrowsTag - class org.apache.commons.jelly.tags.junit.AssertThrowsTag.
Runs its body and asserts that an exception is thrown by it.
AssertThrowsTag() - Constructor for class org.apache.commons.jelly.tags.junit.AssertThrowsTag
 

C

CaseTag - class org.apache.commons.jelly.tags.junit.CaseTag.
Represents a single test case in a test suite; this tag is analagous to JUnit's TestCase class.
CaseTag() - Constructor for class org.apache.commons.jelly.tags.junit.CaseTag
 
createExpression(ExpressionFactory, TagScript, String, String) - Method in class org.apache.commons.jelly.tags.junit.JUnitTagLibrary
 
createResult(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.RunTag
Factory method to create a new TestResult to capture the output of the test cases
createSuite() - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
Factory method to create a new TestSuite
createTestListener(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.RunTag
Factory method to create a new TestListener to capture the output of the test cases
createTestSuite(Class, String) - Static method in class org.apache.commons.jelly.tags.junit.JellyTestSuite
Helper method to create a test suite from a file name on the class path in the package of the given class.
createTestSuite(URL) - Static method in class org.apache.commons.jelly.tags.junit.JellyTestSuite
Helper method to create a test suite from the given Jelly script

D

doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.AssertThrowsTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.RunTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.FailTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.CaseTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.AssertTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.AssertEqualsTag
 

F

fail(String) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Produces a failure assertion with the given message
fail(String, String) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Produces a failure assertion with the given message and added detail.
failNotEquals(String, Object, Object, String) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Produces a failure if the actual value was not equal to the expected value
FailTag - class org.apache.commons.jelly.tags.junit.FailTag.
This tag causes a failure message.
FailTag() - Constructor for class org.apache.commons.jelly.tags.junit.FailTag
 

G

getCause() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
getClassLoader() - Method in class org.apache.commons.jelly.tags.junit.AssertThrowsTag
 
getColumnNumber() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
getElementName() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
getFileName() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
getLineNumber() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
getListener() - Method in class org.apache.commons.jelly.tags.junit.RunTag
Returns the listener.
getMessage() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
getMessage() - Method in class org.apache.commons.jelly.tags.junit.FailTag
 
getName() - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
 
getName() - Method in class org.apache.commons.jelly.tags.junit.CaseTag
 
getReason() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
getResult() - Method in class org.apache.commons.jelly.tags.junit.RunTag
Returns the TestResult used to capture the output of the test.
getSuite() - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
 
getSuite() - Method in class org.apache.commons.jelly.tags.junit.CaseTag
Strategy method to find the corrent TestSuite to add a new Test case to
getTest() - Method in class org.apache.commons.jelly.tags.junit.RunTag
Returns the Test to be ran.
getThrowableClass() - Method in class org.apache.commons.jelly.tags.junit.AssertThrowsTag
Returns the Class corresponding to the class specified by expected.

H

handleSAXException(SAXException) - Method in class org.apache.commons.jelly.tags.junit.RunTag
Handles SAX Exceptions

J

JellyAssertionFailedError - error org.apache.commons.jelly.tags.junit.JellyAssertionFailedError.
JellyAssertionFailedError is a JUnit AssertionFailedError which is LocationAware so that it can include details of where in the JellyUnit test case that the failure occurred.
JellyAssertionFailedError() - Constructor for class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
JellyAssertionFailedError(String) - Constructor for class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
JellyAssertionFailedError(String, Throwable) - Constructor for class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
JellyAssertionFailedError(Throwable) - Constructor for class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
JellyTestSuite - class org.apache.commons.jelly.tags.junit.JellyTestSuite.
An abstract base class for creating a TestSuite via a Jelly script.
JellyTestSuite() - Constructor for class org.apache.commons.jelly.tags.junit.JellyTestSuite
 
JUnitTagLibrary - class org.apache.commons.jelly.tags.junit.JUnitTagLibrary.
Describes the Taglib.
JUnitTagLibrary() - Constructor for class org.apache.commons.jelly.tags.junit.JUnitTagLibrary
 

O

org.apache.commons.jelly.tags.junit - package org.apache.commons.jelly.tags.junit
A collection of JUnit tags for performing unit tests written in Jelly script.

P

printStackTrace() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
printStackTrace(PrintStream) - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
printStackTrace(PrintWriter) - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 

R

RunTag - class org.apache.commons.jelly.tags.junit.RunTag.
This tag will run the given Test which could be an individual TestCase or a TestSuite.
RunTag() - Constructor for class org.apache.commons.jelly.tags.junit.RunTag
 

S

setActual(Expression) - Method in class org.apache.commons.jelly.tags.junit.AssertEqualsTag
Sets the actual value which will be compared against the expected value.
setClassLoader(ClassLoader) - Method in class org.apache.commons.jelly.tags.junit.AssertThrowsTag
Sets the class loader to be used to load the exception type
setColumnNumber(int) - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
Sets the column number of the tag
setElementName(String) - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
Sets the element name which caused the problem
setExpected(Expression) - Method in class org.apache.commons.jelly.tags.junit.AssertEqualsTag
Sets the expected value to be tested against
setExpected(String) - Method in class org.apache.commons.jelly.tags.junit.AssertThrowsTag
Sets the class name of exception expected to be thrown by the body.
setFileName(String) - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
Sets the Jelly file which caused the problem
setLineNumber(int) - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
Sets the line number of the tag
setListener(TestListener) - Method in class org.apache.commons.jelly.tags.junit.RunTag
Sets the TestListener.to be used to format the output of running the unit test cases
setMessage(String) - Method in class org.apache.commons.jelly.tags.junit.FailTag
Sets the failure message.
setName(String) - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
Sets the name of this test suite
setName(String) - Method in class org.apache.commons.jelly.tags.junit.CaseTag
Sets the name of this test case
setResult(TestResult) - Method in class org.apache.commons.jelly.tags.junit.RunTag
Sets the JUnit TestResult used to capture the results of the tst
setTest(Expression) - Method in class org.apache.commons.jelly.tags.junit.AssertTag
Sets the boolean expression to evaluate.
setTest(Test) - Method in class org.apache.commons.jelly.tags.junit.RunTag
Sets the JUnit Test to run which could be an individual test or a TestSuite
setVar(String) - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
Sets the name of the test suite whichi is exported
setVar(String) - Method in class org.apache.commons.jelly.tags.junit.AssertThrowsTag
Sets the variable name to define for this expression.
setXpath(XPath) - Method in class org.apache.commons.jelly.tags.junit.AssertTag
Sets the boolean XPath expression to evaluate.
stackTraceToString(Throwable) - Method in class org.apache.commons.jelly.tags.junit.RunTag
 
SuiteTag - class org.apache.commons.jelly.tags.junit.SuiteTag.
Represents a collection of TestCases..
SuiteTag() - Constructor for class org.apache.commons.jelly.tags.junit.SuiteTag
 

A C D F G H J O P R S

Copyright © 2002-2004 Apache Software Foundation. All Rights Reserved.