Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
W
A
addCookie(String, String)
- Method in class net.sourceforge.jwebunit.
TestContext
Add a cookie to the test context.
appendRow(ExpectedRow)
- Method in class net.sourceforge.jwebunit.
ExpectedTable
Append a single expected row.
appendRows(ExpectedTable)
- Method in class net.sourceforge.jwebunit.
ExpectedTable
Append another expected table's rows.
appendRows(Object[][])
- Method in class net.sourceforge.jwebunit.
ExpectedTable
Append any number of expected rows, represented by a two dimensional array of objects.
assertButtonNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a button with a given id is not present.
assertButtonNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertButtonPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a button with a given id is present.
assertButtonPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertCheckboxNotSelected(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific checkbox is not selected.
assertCheckboxNotSelected(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertCheckboxSelected(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific checkbox is selected.
assertCheckboxSelected(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertElementNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that an element with a given id is not present.
assertElementNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertElementPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that an element with a given id is present.
assertElementPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFormElementEmpty(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a form element had no value / is empty.
assertFormElementEmpty(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFormElementEquals(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific form element has an expected value.
assertFormElementEquals(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFormElementNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a form input element with a given name is not present.
assertFormElementNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFormElementNotPresentWithLabel(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a form input element with a given label is not present.
assertFormElementNotPresentWithLabel(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFormElementPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a form input element with a given name is present.
assertFormElementPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFormElementPresentWithLabel(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a form input element with a given label is present.
assertFormElementPresentWithLabel(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFormPresent()
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that there is a form present.
assertFormPresent()
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFormPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that there is a form with the specified name or id present.
assertFormPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertFramePresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a frame with the given name is present.
assertFramePresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertKeyInTable(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that the value of a given web resource is present in a specific table.
assertKeyInTable(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertKeyNotInTable(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that the value of a given web resource is not present in a specific table.
assertKeyNotInTable(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertKeyNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a web resource's value is not present.
assertKeyNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertKeyPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a web resource's value is present.
assertKeyPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertKeysInTable(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that the values of a set of web resources are all present in a specific table.
assertKeysInTable(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertLinkNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that no link with the given id is present in the response.
assertLinkNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertLinkNotPresentWithImage(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a link containing a specified image is not present.
assertLinkNotPresentWithImage(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertLinkNotPresentWithText(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that no link containing the supplied text is present.
assertLinkNotPresentWithText(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertLinkPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a link with a given id is present in the response.
assertLinkPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertLinkPresentWithImage(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a link containing a specified image is present.
assertLinkPresentWithImage(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertLinkPresentWithText(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a link containing the supplied text is present.
assertLinkPresentWithText(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertOptionEquals(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that the currently selected display value of a select box matches a given value.
assertOptionEquals(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertOptionsEqual(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that the display values of a select element's options match a given array of strings.
assertOptionsEqual(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertOptionsNotEqual(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that the display values of a select element's options do not match a given array of strings.
assertOptionsNotEqual(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertOptionValuesEqual(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that the values of a select element's options match a given array of strings.
assertOptionValuesEqual(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertOptionValuesNotEqual(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that the values of a select element's options do not match a given array of strings.
assertOptionValuesNotEqual(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertRadioOptionNotPresent(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific option is not present in a radio group.
assertRadioOptionNotPresent(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertRadioOptionNotSelected(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific option is not selected in a radio group.
assertRadioOptionNotSelected(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertRadioOptionPresent(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific option is present in a radio group.
assertRadioOptionPresent(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertRadioOptionSelected(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific option is selected in a radio group.
assertRadioOptionSelected(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertSubmitButtonNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a submit button with a given name is not present.
assertSubmitButtonNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertSubmitButtonPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a submit button with a given name is present.
assertSubmitButtonPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertSubmitButtonValue(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a submit button with a given name and value is present.
assertSubmitButtonValue(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTableEquals(String, ExpectedTable)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific table matches an ExpectedTable.
assertTableEquals(String, ExpectedTable)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTableEquals(String, String[][])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a specific table matches a matrix of supplied text values.
assertTableEquals(String, String[][])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTableNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a table with a given summary or id value is not present.
assertTableNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTablePresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a table with a given summary or id value is present.
assertTablePresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTableRowsEqual(String, int, ExpectedTable)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a range of rows for a specific table matches a matrix of supplied text values.
assertTableRowsEqual(String, int, ExpectedTable)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTableRowsEqual(String, int, String[][])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a range of rows for a specific table matches a matrix of supplied text values.
assertTableRowsEqual(String, int, String[][])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTextInElement(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a given element contains specific text.
assertTextInElement(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTextInTable(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that supplied text is present in a specific table.
assertTextInTable(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTextInTable(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a set of text values are all present in a specific table.
assertTextInTable(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTextNotInTable(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that supplied text is not present in a specific table.
assertTextNotInTable(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTextNotInTable(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that none of a set of text values are present in a specific table.
assertTextNotInTable(String, String[])
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTextNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that supplied text is not present.
assertTextNotPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTextPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that supplied text is present.
assertTextPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTitleEquals(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert title of current html page in conversation matches an expected value.
assertTitleEquals(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertTitleEqualsKey(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert title of current html page matches the value of a specified web resource.
assertTitleEqualsKey(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
assertWindowPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Assert that a window with the given name is open.
assertWindowPresent(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
B
beginAt(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Begin conversation at a url relative to the application root.
beginAt(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
C
checkCheckbox(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Select a specified checkbox.
checkCheckbox(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
clickButton(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Click the indicated button (input type=button).
clickButton(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Click the button with the given id.
clickButton(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
clickLink(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Navigate by submitting a request based on a link with a given ID.
clickLink(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Navigate by selection of a link with given id.
clickLink(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
clickLinkWithImage(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Navigate by submitting a request based on a link with a given image file name.
clickLinkWithImage(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Navigate by selection of a link with a given image.
clickLinkWithImage(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
clickLinkWithText(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Navigate by submitting a request based on a link containing the specified text.
clickLinkWithText(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Navigate by selection of a link containing given text.
clickLinkWithText(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
D
dumpResponse(PrintStream)
- Method in class net.sourceforge.jwebunit.
WebTester
Dump html of current response to a specified stream - for debugging purposes.
dumpResponse(PrintStream)
- Method in class net.sourceforge.jwebunit.
WebTestCase
dumpTable(String, PrintStream)
- Method in class net.sourceforge.jwebunit.
WebTester
Dump the table as the 2D array that is used for assertions - for debugging purposes.
dumpTable(String, PrintStream)
- Method in class net.sourceforge.jwebunit.
WebTestCase
dumpTable(String, String[][])
- Method in class net.sourceforge.jwebunit.
WebTester
Dump the table as the 2D array that is used for assertions - for debugging purposes.
dumpTable(String, String[][])
- Method in class net.sourceforge.jwebunit.
WebTestCase
dumpTable(String, String[][], PrintStream)
- Method in class net.sourceforge.jwebunit.
WebTester
Dump the table as the 2D array that is used for assertions - for debugging purposes.
E
ExceptionUtility
- class net.sourceforge.jwebunit.util.
ExceptionUtility
.
Utility to get stack trace as string from an exception.
ExceptionUtility()
- Constructor for class net.sourceforge.jwebunit.util.
ExceptionUtility
ExceptionWrapper
- exception net.sourceforge.jwebunit.util.
ExceptionWrapper
.
User: djoiner Date: Nov 21, 2002 Time: 2:05:07 PM
ExceptionWrapper(Throwable)
- Constructor for class net.sourceforge.jwebunit.util.
ExceptionWrapper
ExpectedCell
- class net.sourceforge.jwebunit.
ExpectedCell
.
Represents an expected cell of an html table - a string value spanning an indicated amount of columns.
ExpectedCell(String)
- Constructor for class net.sourceforge.jwebunit.
ExpectedCell
Construct an expected cell with a default colspan of 1.
ExpectedCell(String, int)
- Constructor for class net.sourceforge.jwebunit.
ExpectedCell
Construct an expected cell with a specified colspan.
ExpectedRow
- class net.sourceforge.jwebunit.
ExpectedRow
.
Represents an expected row of an html table.
ExpectedRow(Object[])
- Constructor for class net.sourceforge.jwebunit.
ExpectedRow
Construct an expected row from an array of objects which specify the expected cells of the row.
ExpectedTable
- class net.sourceforge.jwebunit.
ExpectedTable
.
Represents an expected table for comparison with an actual html table.
ExpectedTable()
- Constructor for class net.sourceforge.jwebunit.
ExpectedTable
Construct an expected table without providing any expecteds; they can be appended subsequently.
ExpectedTable(Object[][])
- Constructor for class net.sourceforge.jwebunit.
ExpectedTable
Construct an expected table from a two dimensional array of objects.
F
fillInStackTrace()
- Method in class net.sourceforge.jwebunit.util.
ExceptionWrapper
G
getBaseUrl()
- Method in class net.sourceforge.jwebunit.
TestContext
Return the base URL for the test context.
getButton(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the HttpUnit Button with a given id.
getColspan()
- Method in class net.sourceforge.jwebunit.
ExpectedCell
Return the colspan for this cell.
getCookies()
- Method in class net.sourceforge.jwebunit.
TestContext
Return the cookies which have been added to the test context.
getDialog()
- Method in class net.sourceforge.jwebunit.
WebTester
Provides access to the httpunit wrapper for subclasses - in case functionality not yet wrappered required by test.
getDialog()
- Method in class net.sourceforge.jwebunit.
WebTestCase
getElement(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the org.w3c.dom.Element in the current response by id.
getEncodingScheme()
- Method in class net.sourceforge.jwebunit.
TestContext
Return the encoding scheme for the test context.
getExpectedStrings()
- Method in class net.sourceforge.jwebunit.
ExpectedTable
Return a two dimensional array of strings which represent the expected values.
getExpectedValue()
- Method in class net.sourceforge.jwebunit.
ExpectedCell
Return the expected text for the cell.
getForm()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the current form active for the dialog.
getFormElementNameForLabel(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the name of a form parameter (input element) on the current response preceded by a givel label.
getFormParameterValue(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the current value of a form input element.
getFrame(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the response for the given frame in the current conversation.
getLocale()
- Method in class net.sourceforge.jwebunit.
TestContext
Return the locale established for the test context.
getLocalizedMessage()
- Method in class net.sourceforge.jwebunit.util.
ExceptionWrapper
getMessage()
- Method in class net.sourceforge.jwebunit.util.
ExceptionWrapper
getMessage(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Return the value of a web resource based on its key.
getMessage(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
getMethod()
- Method in class net.sourceforge.jwebunit.util.reflect.
MethodInvoker
getOptionsFor(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return a string array of select box option labels.
getOptionValuesFor(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return a string array of select box option values.
getPassword()
- Method in class net.sourceforge.jwebunit.
TestContext
Return the user password.
getResourceBundleName()
- Method in class net.sourceforge.jwebunit.
TestContext
Return the test context resource bundle for expected value lookups.
getResponse()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the HttpUnit object which represents the current response.
getResponsePageTitle()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the page title of the current response page, encoded as specified by the current
TestContext
.
getResponseText()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the string representation of the current response, encoded as specified by the current
TestContext
.
getSelectedOption(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the label of the currently selected item in a select box.
getSparseTableBySummaryOrId(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return a sparse array (rows or columns without displayable text are removed) for a given table in the response.
getSubmitButton(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the HttpUnit SubmitButton with a given name.
getTestContext()
- Method in class net.sourceforge.jwebunit.
WebTester
Provide access to test context.
getTestContext()
- Method in class net.sourceforge.jwebunit.
WebTestCase
getUser()
- Method in class net.sourceforge.jwebunit.
TestContext
Return the authorized user for the test context.
getValueForOption(String, String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Get the value for a given option of a select box.
getWebConversation()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the HttpUnit WebConversation object for this dialog.
getWebTableBySummaryOrId(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the HttpUnit WebTable object representing a specified table in the current response.
getWindow(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return the window with the given name in the current conversation.
gotoFrame(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Make the frame with the given name active in the current conversation.
gotoFrame(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Make the named frame active (current response will be frame's contents).
gotoFrame(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
gotoRootWindow()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Make the root window in the current conversation active.
gotoRootWindow()
- Method in class net.sourceforge.jwebunit.
WebTester
Make the root window active.
gotoRootWindow()
- Method in class net.sourceforge.jwebunit.
WebTestCase
gotoWindow(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Make the window with the given name in the current conversation active.
gotoWindow(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Make a given window active (current response will be window's contents).
gotoWindow(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
H
hasAuthorization()
- Method in class net.sourceforge.jwebunit.
TestContext
Return true if a user / password has been set on the context via
TestContext.setAuthorization(java.lang.String, java.lang.String)
.
hasCookies()
- Method in class net.sourceforge.jwebunit.
TestContext
Return true if one or more cookies have been added to the test context.
hasForm()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if the current response contains a form.
hasForm(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if the current response contains a specific form.
hasFormParameterLabeled(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if a form parameter (input element) is present on the current response preceded by a given label.
hasFormParameterNamed(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if a form parameter (input element) is present on the current response.
hasRadioOption(String, String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if a radio group contains the indicated option.
HttpUnitDialog
- class net.sourceforge.jwebunit.
HttpUnitDialog
.
Acts as the wrapper for HttpUnit access.
HttpUnitDialog(String, TestContext)
- Constructor for class net.sourceforge.jwebunit.
HttpUnitDialog
Begin a dialog with an initial URL and test client context.
I
invoke()
- Method in class net.sourceforge.jwebunit.util.reflect.
MethodInvoker
isLinkPresent(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if a link is present in the current response with the specified id.
isLinkPresentWithImage(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if a link is present with a given image based on filename of image.
isLinkPresentWithText(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if a link is present in the current response containing the specified text (note that HttpUnit uses contains rather than an exact match - if this is a problem consider using ids on the links to uniquely identify them).
isTextInElement(Element, String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if a given string is contained within the specified element.
isTextInResponse(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if given text is present anywhere in the current response.
isTextInTable(String, String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Return true if given text is present in a specified table of the response.
L
LinkImagePredicate
- class net.sourceforge.jwebunit.
LinkImagePredicate
.
Matches to a Link element containing an image with a specified filename string as a suffix.
LinkImagePredicate()
- Constructor for class net.sourceforge.jwebunit.
LinkImagePredicate
ListTesterAsserts
- class net.sourceforge.jwebunit.util.
ListTesterAsserts
.
ListTesterAsserts()
- Constructor for class net.sourceforge.jwebunit.util.
ListTesterAsserts
M
main(String[])
- Static method in class net.sourceforge.jwebunit.util.
ListTesterAsserts
matchesCriteria(Object, Object)
- Method in class net.sourceforge.jwebunit.
LinkImagePredicate
MethodInvoker
- class net.sourceforge.jwebunit.util.reflect.
MethodInvoker
.
Wrapper to java reflection for method invocation.
MethodInvoker(Object, String)
- Constructor for class net.sourceforge.jwebunit.util.reflect.
MethodInvoker
MethodInvoker(Object, String, Object)
- Constructor for class net.sourceforge.jwebunit.util.reflect.
MethodInvoker
MethodInvoker(Object, String, Object[])
- Constructor for class net.sourceforge.jwebunit.util.reflect.
MethodInvoker
N
net.sourceforge.jwebunit
- package net.sourceforge.jwebunit
net.sourceforge.jwebunit.util
- package net.sourceforge.jwebunit.util
net.sourceforge.jwebunit.util.reflect
- package net.sourceforge.jwebunit.util.reflect
P
printStackTrace()
- Method in class net.sourceforge.jwebunit.util.
ExceptionWrapper
printStackTrace(PrintStream)
- Method in class net.sourceforge.jwebunit.util.
ExceptionWrapper
printStackTrace(PrintWriter)
- Method in class net.sourceforge.jwebunit.util.
ExceptionWrapper
R
removeFormParameter(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Specify that no parameter value should be submitted for a given input element.
reset()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Reset the current form.
reset()
- Method in class net.sourceforge.jwebunit.
WebTester
Reset the current form.
reset()
- Method in class net.sourceforge.jwebunit.
WebTestCase
S
selectOption(String, String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Select an option of a select box by display label.
selectOption(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Select an option with a given display value in a select element.
selectOption(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
setAuthorization(String, String)
- Method in class net.sourceforge.jwebunit.
TestContext
Set authentication information for the test context.
setBaseUrl(String)
- Method in class net.sourceforge.jwebunit.
TestContext
Set the base url for the test context.
setEncodingScheme(String)
- Method in class net.sourceforge.jwebunit.
TestContext
Set the encoding scheme for the test context which is applied to response text.
setFormElement(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Set the value of a form input element.
setFormElement(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
setFormElementWithLabel(String, String)
- Method in class net.sourceforge.jwebunit.
WebTester
Set the value of a form input element.
setFormElementWithLabel(String, String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
setFormParameter(String, String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Set a form parameter / input element to the provided value.
setLocale(Locale)
- Method in class net.sourceforge.jwebunit.
TestContext
Set the locale for the test context.
setResourceBundleName(String)
- Method in class net.sourceforge.jwebunit.
TestContext
Set a resource bundle to use for the test context (will be used to lookup expected values by key in WebTester).
setWorkingForm(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Set the form on the current response that the client wishes to work with explicitly by either the form name or id (match by id is attempted first).
setWorkingForm(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Begin interaction with a specified form.
setWorkingForm(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
stackTraceToString(Throwable)
- Static method in class net.sourceforge.jwebunit.util.
ExceptionUtility
submit()
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Submit the current form with the default submit button.
submit()
- Method in class net.sourceforge.jwebunit.
WebTester
Submit form - default submit button will be used (unnamed submit button, or named button if there is only one on the form.
submit()
- Method in class net.sourceforge.jwebunit.
WebTestCase
submit(String)
- Method in class net.sourceforge.jwebunit.
HttpUnitDialog
Submit the current form with the specifed submit button.
submit(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Submit form by pressing named button.
submit(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
T
TestContext
- class net.sourceforge.jwebunit.
TestContext
.
Establish context for tests (things such as locale, base url for the application, cookies, authorization).
TestContext()
- Constructor for class net.sourceforge.jwebunit.
TestContext
Construct a test client context.
toEncodedString(String)
- Method in class net.sourceforge.jwebunit.
TestContext
Return the value of a String in the encoding specified by the test context.
toString()
- Method in class net.sourceforge.jwebunit.
ExpectedTable
Return a brace-delimited, printable version of the expected table for use in assertion failure output or debugging.
toString()
- Method in class net.sourceforge.jwebunit.util.
ExceptionWrapper
U
UnableToSetFormException
- error net.sourceforge.jwebunit.
UnableToSetFormException
.
Represents a problem establishing a form on the current response for which a request is to be built.
UnableToSetFormException()
- Constructor for class net.sourceforge.jwebunit.
UnableToSetFormException
UnableToSetFormException(String)
- Constructor for class net.sourceforge.jwebunit.
UnableToSetFormException
uncheckCheckbox(String)
- Method in class net.sourceforge.jwebunit.
WebTester
Deselect a specified checkbox.
uncheckCheckbox(String)
- Method in class net.sourceforge.jwebunit.
WebTestCase
W
WebTestCase
- class net.sourceforge.jwebunit.
WebTestCase
.
Superclass for Junit TestCases which provides web application navigation and Junit assertions.
WebTestCase()
- Constructor for class net.sourceforge.jwebunit.
WebTestCase
WebTestCase(String)
- Constructor for class net.sourceforge.jwebunit.
WebTestCase
WebTester
- class net.sourceforge.jwebunit.
WebTester
.
Provides a high-level API for basic web application navigation and validation by wrapping HttpUnit and providing Junit assertions.
WebTester()
- Constructor for class net.sourceforge.jwebunit.
WebTester
A
B
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
Copyright © 2002 ThoughtWorks, Inc. All Rights Reserved.