|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.WebTestCase
com.gargoylesoftware.htmlunit.SimpleWebTestCase
com.gargoylesoftware.htmlunit.html.ClickableElementTest
public class ClickableElementTest
Tests for various clickable elements.
| Field Summary |
|---|
| Fields inherited from class com.gargoylesoftware.htmlunit.WebTestCase |
|---|
DEFAULT_WAIT_TIME, DEFAULT_WAIT_TIME_FACTOR, FLAG_ALL_BROWSERS, generateTest_browserVersion_, GEOLOCATION_IGNORE, JAVASCRIPT_MIME_TYPE, LINE_SEPARATOR, PORT, PORT2, PORT3, PROPERTY_GENERATE_TESTPAGES, SOCKS_PROXY_HOST, SOCKS_PROXY_PORT, SOCKS_PROXY_SKIP, URL_CROSS_ORIGIN, URL_CROSS_ORIGIN_BASE, URL_CROSS_ORIGIN2, URL_FIRST, URL_SECOND, URL_THIRD |
| Constructor Summary | |
|---|---|
ClickableElementTest()
|
|
| Method Summary | |
|---|---|
void |
abbreviation_onClick()
Test onClick handler and click method of abbreviation element. |
void |
acronym_onClick()
Test onClick handler and click method of acronym element. |
void |
address_onClick()
Test onClick handler and click method of address element. |
void |
anchor_onClick()
Test onClick handler and click method of anchor element. |
void |
area_onClick()
Test onClick handler and click method of area element. |
void |
big_onClick()
Test onClick handler and click method of big element. |
void |
blockquote_onClick()
Test onClick handler and click method of blockquote element. |
void |
body_onClick()
Test onClick handler and click method of body element. |
void |
bold_onClick()
Test onClick handler and click method of bold element. |
void |
button_onClick()
Test onClick handler and click method of button element. |
void |
button_onClickTwice()
Test onClick handler can be called multiple times. |
void |
center_onClick()
Test onClick handler and click method of center element. |
void |
checkbox_onClickUpdatesStateFirst()
|
void |
cite_onClick()
Test onClick handler and click method of cite element. |
void |
code_onClick()
Test onClick handler and click method of code element. |
void |
dblClick()
|
void |
definition_onClick()
Test onClick handler and click method of definition element. |
void |
definitionDescription_onClick()
Test onClick handler and click method of definition description dd element. |
void |
definitionList_onClick()
Test onClick handler and click method of definition list dl element. |
void |
definitionTerm_onClick()
Test onClick handler and click method of definition term dt element. |
void |
deletedText_onClick()
Test onClick handler and click method of deleted text element. |
void |
directory_onClick()
Test onClick handler and click method of directory element. |
void |
division_onClick()
Test onClick handler and click method of division element. |
void |
emphasis_onClick()
Test onClick handler and click method of emphasis element. |
void |
fieldSet_onClick()
Test onClick handler and click method of field set element. |
void |
form_onClick()
Test onClick handler and click method of form element. |
void |
header1_onClick()
Test onClick handler and click method of header1 element. |
void |
header2_onClick()
Test onClick handler and click method of header2 element. |
void |
header3_onClick()
Test onClick handler and click method of header3 element. |
void |
header4_onClick()
Test onClick handler and click method of header4 element. |
void |
header5_onClick()
Test onClick handler and click method of header5 element. |
void |
header6_onClick()
Test onClick handler and click method of header6 element. |
void |
horizontalRule_onClick()
Test onClick handler and click method of horizontal rule element. |
void |
image_onClick()
Test onClick handler and click method of image element. |
void |
input_onClick()
Test onClick handler and click method of input element. |
void |
insertedText_onClick()
Test onClick handler and click method of inserted text element. |
void |
italics_onClick()
Test onClick handler and click method of italics element. |
void |
javaScriptError_onClick()
Test that no NPE is thrown when JS fails on link click and WebClient.setThrowExceptionOnScriptError(false) is used. |
void |
keyboard_onClick()
Test onClick handler and click method of keyboard element. |
void |
label_onClick()
Test onClick handler and click method of label element. |
void |
legend_onClick()
Test onClick handler and click method of legend element. |
void |
link_onClick()
Test onClick handler and click method of link element. |
void |
listItem_onClick()
Test onClick handler and click method of List Item element. |
void |
map_onClick()
Test onClick handler and click method of map element. |
void |
menu_onClick()
Test onClick handler and click method of menu element. |
void |
noFrames_onClick()
Test onClick handler and click method of no frames element. |
void |
noScript_onClick()
Test onClick handler and click method of no script element. |
void |
object_onClick()
Test onClick handler and click method of object element. |
void |
option_onClick()
Test onClick handler and click method of option element. |
void |
optionGroup_onClick()
Test onClick handler and click method of Option Group element. |
void |
orderedList_onClick()
Test onClick handler and click method of Ordered List element. |
void |
paragraph_onClick()
Test onClick handler and click method of paragraph element. |
void |
pre_onClick()
Test onClick handler and click method of pre element. |
void |
quotation_onClick()
Test onClick handler and click method of inline Quotation element. |
void |
sample_onClick()
Test onClick handler and click method of sample element. |
void |
select_onClick()
Test onClick handler and click method of select element. |
void |
setOnClick()
Test setting onClick handler from inside the onClick handler. |
void |
small_onClick()
Test onClick handler and click method of small element. |
void |
span_onClick()
Test onClick handler and click method of span element. |
void |
strike_onClick()
Test onClick handler and click method of strike element. |
void |
strikethrough_onClick()
Test onClick handler and click method of strikethrough element. |
void |
subscript_onClick()
Test onClick handler and click method of subscript element. |
void |
superscript_onClick()
Test onClick handler and click method of superscript element. |
void |
table_onClick()
Test onClick handler and click method of table element. |
void |
tableBody_onClick()
Test onClick handler and click method of table body element. |
void |
tableCaption_onClick()
Test onClick handler and click method of table caption element. |
void |
tableColumn_onClick()
Test onClick handler and click method of table column element. |
void |
tableColumnGroup_onClick()
Test onClick handler and click method of table column group element. |
void |
tableDataCell_onClick()
Test onClick handler and click method of table data cell element. |
void |
tableFooter_onClick()
Test onClick handler and click method of table footer element. |
void |
tableHeader_onClick()
Test onClick handler and click method of table header element. |
void |
tableHeaderCell_onClick()
Test onClick handler and click method of table header cell element. |
void |
tableRow_onClick()
Test onClick handler and click method of table row element. |
void |
tableRow_onClickSetByNestedScript()
Test when HtmlTableRow.onclick is set by a JavaScript. |
void |
tableRow_onClickSetOnLoad()
Test when HtmlTableRow.onclick is set by JavaScript. |
void |
teletype_onClick()
Test onClick handler and click method of teletype element. |
void |
textarea_onClick()
Test onClick handler and click method of textarea element. |
void |
underline_onClick()
Test onClick handler and click method of underline element. |
void |
unorderedList_onClick()
Test onClick handler and click method of unordered List element. |
void |
variable_onClick()
Test onClick handler and click method of variable element. |
| Methods inherited from class com.gargoylesoftware.htmlunit.SimpleWebTestCase |
|---|
createNewWebClient, getJavaScriptThreads, getMockConnection, getWebClient, getWebClientWithMockWebConnection, loadPage, loadPage, loadPage, loadPage, loadPage, loadPage, loadPage, loadPageWithAlerts, loadPageWithAlerts, loadUrl, readJSThreadsBeforeTest, releaseResources, testHTMLFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClickableElementTest()
| Method Detail |
|---|
public void anchor_onClick()
throws Exception
Exception - if the test fails
public void abbreviation_onClick()
throws Exception
Exception - if the test fails
public void acronym_onClick()
throws Exception
Exception - if the test fails
public void address_onClick()
throws Exception
Exception - if the test fails
public void area_onClick()
throws Exception
Exception - if the test fails
public void bold_onClick()
throws Exception
Exception - if the test fails
public void big_onClick()
throws Exception
Exception - if the test fails
public void blockquote_onClick()
throws Exception
Exception - if the test fails
public void body_onClick()
throws Exception
Exception - if the test fails
public void button_onClick()
throws Exception
Exception - if the test fails
public void button_onClickTwice()
throws Exception
Exception - if the test fails
public void cite_onClick()
throws Exception
Exception - if the test fails
public void code_onClick()
throws Exception
Exception - if the test fails
public void tableColumn_onClick()
throws Exception
Exception - if the test fails
public void tableColumnGroup_onClick()
throws Exception
Exception - if the test fails
public void center_onClick()
throws Exception
Exception - if the test fails
public void tableCaption_onClick()
throws Exception
Exception - if the test fails
public void definitionDescription_onClick()
throws Exception
Exception - if the test fails
public void javaScriptError_onClick()
throws Exception
Exception - if the test fails
public void definition_onClick()
throws Exception
Exception - if the test fails
public void directory_onClick()
throws Exception
Exception - if the test fails
public void definitionList_onClick()
throws Exception
Exception - if the test fails
public void definitionTerm_onClick()
throws Exception
Exception - if the test fails
public void deletedText_onClick()
throws Exception
Exception - if the test fails
public void division_onClick()
throws Exception
Exception - if the test fails
public void emphasis_onClick()
throws Exception
Exception - if the test fails
public void fieldSet_onClick()
throws Exception
Exception - if the test fails
public void form_onClick()
throws Exception
Exception - if the test fails
public void italics_onClick()
throws Exception
Exception - if the test fails
public void image_onClick()
throws Exception
Exception - if the test fails
public void header1_onClick()
throws Exception
Exception - if the test fails
public void header2_onClick()
throws Exception
Exception - if the test fails
public void header3_onClick()
throws Exception
Exception - if the test fails
public void header4_onClick()
throws Exception
Exception - if the test fails
public void header5_onClick()
throws Exception
Exception - if the test fails
public void header6_onClick()
throws Exception
Exception - if the test fails
public void horizontalRule_onClick()
throws Exception
Exception - if the test fails
public void input_onClick()
throws Exception
Exception - if the test fails
public void insertedText_onClick()
throws Exception
Exception - if the test fails
public void keyboard_onClick()
throws Exception
Exception - if the test fails
public void label_onClick()
throws Exception
Exception - if the test fails
public void legend_onClick()
throws Exception
Exception - if the test fails
public void link_onClick()
throws Exception
Exception - if the test fails
public void listItem_onClick()
throws Exception
Exception - if the test fails
public void map_onClick()
throws Exception
Exception - if the test fails
public void menu_onClick()
throws Exception
Exception - if the test fails
public void noFrames_onClick()
throws Exception
Exception - if the test fails
public void noScript_onClick()
throws Exception
Exception - if the test fails
public void object_onClick()
throws Exception
Exception - if the test fails
public void option_onClick()
throws Exception
Exception - if the test fails
public void optionGroup_onClick()
throws Exception
Exception - if the test fails
public void orderedList_onClick()
throws Exception
Exception - if the test fails
public void paragraph_onClick()
throws Exception
Exception - if the test fails
public void pre_onClick()
throws Exception
Exception - if the test fails
public void quotation_onClick()
throws Exception
Exception - if the test fails
public void strikethrough_onClick()
throws Exception
Exception - if the test fails
public void sample_onClick()
throws Exception
Exception - if the test fails
public void select_onClick()
throws Exception
Exception - if the test fails
public void small_onClick()
throws Exception
Exception - if the test fails
public void span_onClick()
throws Exception
Exception - if the test fails
public void strike_onClick()
throws Exception
Exception - if the test fails
public void subscript_onClick()
throws Exception
Exception - if the test fails
public void superscript_onClick()
throws Exception
Exception - if the test fails
public void table_onClick()
throws Exception
Exception - if the test fails
public void tableBody_onClick()
throws Exception
Exception - if the test fails
public void tableDataCell_onClick()
throws Exception
Exception - if the test fails
public void textarea_onClick()
throws Exception
Exception - if the test fails
public void tableFooter_onClick()
throws Exception
Exception - if the test fails
public void tableHeaderCell_onClick()
throws Exception
Exception - if the test fails
public void tableHeader_onClick()
throws Exception
Exception - if the test fails
public void tableRow_onClick()
throws Exception
Exception - if the test fails
public void tableRow_onClickSetOnLoad()
throws Exception
Exception - if the test fails
public void checkbox_onClickUpdatesStateFirst()
throws Exception
Exception - if the test fails
public void tableRow_onClickSetByNestedScript()
throws Exception
Exception - if the test fails
public void teletype_onClick()
throws Exception
Exception - if the test fails
public void underline_onClick()
throws Exception
Exception - if the test fails
public void unorderedList_onClick()
throws Exception
Exception - if the test fails
public void variable_onClick()
throws Exception
Exception - if the test fails
public void setOnClick()
throws Exception
Exception - if the test fails
public void dblClick()
throws Exception
Exception - if the test fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||