A C D F G H J O P R S

A

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
 
AssertFileContainsTag - class org.apache.commons.jelly.tags.junit.AssertFileContainsTag.
Checks that a file exists, and if not, then the test will fail.
AssertFileContainsTag() - Constructor for class org.apache.commons.jelly.tags.junit.AssertFileContainsTag
 
AssertFileExistsTag - class org.apache.commons.jelly.tags.junit.AssertFileExistsTag.
Checks that a file exists, and if not, then the test will fail.
AssertFileExistsTag() - Constructor for class org.apache.commons.jelly.tags.junit.AssertFileExistsTag
 
AssertFileNotFoundTag - class org.apache.commons.jelly.tags.junit.AssertFileNotFoundTag.
Checks that a file cant be found.
AssertFileNotFoundTag() - Constructor for class org.apache.commons.jelly.tags.junit.AssertFileNotFoundTag
 
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
 
addTest(Test) - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
Adds a new Test to this suite
assertEquals(String, Object, Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if !
assertEquals(Object, Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(String, boolean, boolean) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(boolean, boolean) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(String, byte, byte) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(byte, byte) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(String, char, char) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(char, char) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(String, double, double) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(double, double) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(String, float, float) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(float, float) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(String, int, int) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(int, int) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(String, long, long) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(long, long) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(String, short, short) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertEquals(short, short) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertFalse(String, boolean) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if actual is true
assertFalse(boolean) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if actual is true
assertNotNull(String, Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if actual is null
assertNotNull(Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertNotSame(String, Object, Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if expected == actual.
assertNotSame(Object, Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertNull(String, Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if actual is not null
assertNull(Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertSame(String, Object, Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if expected !
assertSame(Object, Object) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
 
assertTrue(String, boolean) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if actual is not true
assertTrue(boolean) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Fail if actual is not true

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.AssertEqualsTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.AssertFileContainsTag
Do the tag functionality: check the file exists.
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.AssertFileExistsTag
Do the tag functionality: check the file exists.
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.AssertFileNotFoundTag
Do the tag functionality: check the file can't be found.
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.AssertTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.AssertThrowsTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.CaseTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.FailTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.RunTag
 
doTag(XMLOutput) - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
 

F

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
 
fail(String) - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Produces a failure assertion with the given message
fail() - Method in class org.apache.commons.jelly.tags.junit.AssertTagSupport
Produces a failure assertion with a default 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

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.FailTag
 
getMessage() - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
getName() - Method in class org.apache.commons.jelly.tags.junit.CaseTag
 
getName() - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
 
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.CaseTag
Strategy method to find the corrent TestSuite to add a new Test case to
getSuite() - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
 
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

JUnitTagLibrary - class org.apache.commons.jelly.tags.junit.JUnitTagLibrary.
Describes the Taglib.
JUnitTagLibrary() - Constructor for class org.apache.commons.jelly.tags.junit.JUnitTagLibrary
 
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
 

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(PrintWriter) - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
printStackTrace(PrintStream) - Method in class org.apache.commons.jelly.tags.junit.JellyAssertionFailedError
 
printStackTrace() - 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

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
 
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.
setFile(File) - Method in class org.apache.commons.jelly.tags.junit.AssertFileContainsTag
The file to be tested.
setFile(File) - Method in class org.apache.commons.jelly.tags.junit.AssertFileExistsTag
The file to be tested.
setFile(File) - Method in class org.apache.commons.jelly.tags.junit.AssertFileNotFoundTag
The file to be tested.
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
setMatch(String) - Method in class org.apache.commons.jelly.tags.junit.AssertFileContainsTag
The content to be checked for.
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.CaseTag
Sets the name of this test case
setName(String) - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
Sets the name of this test suite
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.AssertThrowsTag
Sets the variable name to define for this expression.
setVar(String) - Method in class org.apache.commons.jelly.tags.junit.SuiteTag
Sets the name of the test suite whichi is exported
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
 

A C D F G H J O P R S

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