| com.gargoylesoftware.htmlunit.WebTestCase com.gargoylesoftware.htmlunit.html.FocusableElementTest
FocusableElementTest | public class FocusableElementTest extends WebTestCase (Code) | | Tests for elements with onblur and onfocus attributes.
version: $Revision: 2132 $ author: David D. Kilzer author: Marc Guillemot |
FocusableElementTest | public FocusableElementTest(String name)(Code) | | Create an instance.
Parameters: name - The name of the test. |
testAnchor_onblur_onfocus | public void testAnchor_onblur_onfocus() throws Exception(Code) | | Test onblur and onfocus handlers and blur() and focus() methods of anchor element.
throws: Exception - if the test fails |
testArea_onblur_onfocus | public void testArea_onblur_onfocus() throws Exception(Code) | | Test onblur and onfocus handlers and blur() and focus() methods of area element.
throws: Exception - if the test fails |
testButton_onblur_onfocus | public void testButton_onblur_onfocus() throws Exception(Code) | | Test onblur and onfocus handlers and blur() and focus() methods of button element.
throws: Exception - if the test fails |
testLabelContainsInput_onblur_onfocus | public void testLabelContainsInput_onblur_onfocus() throws Exception(Code) | | Test onblur and onfocus handlers and blur() and focus() methods of label element surrounding input element.
throws: Exception - if the test fails |
testLabelReferencesInput_onblur_onfocus | public void testLabelReferencesInput_onblur_onfocus() throws Exception(Code) | | Test onblur and onfocus handlers and blur() and focus() methods of label element referencing an input element.
throws: Exception - if the test fails |
testOnAllElements | public void testOnAllElements() throws Exception(Code) | | Test focus on all types of elements
throws: Exception - if the test fails |
testOnBlurWith2Pages | public void testOnBlurWith2Pages() throws Exception(Code) | | Regression test for bug
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=1161705&group_id=47038
throws: Exception - if the test fails |
testSelect_onblur_onfocus | public void testSelect_onblur_onfocus() throws Exception(Code) | | Test onblur and onfocus handlers and blur() and focus() methods of select element.
throws: Exception - if the test fails |
testTextarea_onblur_onfocus | public void testTextarea_onblur_onfocus() throws Exception(Code) | | Test onblur and onfocus handlers and blur() and focus() methods of textarea element.
throws: Exception - if the test fails |
Methods inherited from com.gargoylesoftware.htmlunit.WebTestCase | protected void assertEquals(URL expectedUrl, URL actualUrl)(Code)(Java Doc) protected void assertEquals(String message, URL expectedUrl, URL actualUrl)(Code)(Java Doc) protected void assertEquals(String expectedUrl, URL actualUrl)(Code)(Java Doc) protected void assertEquals(String[] expected, List actual)(Code)(Java Doc) protected void assertEquals(String message, String[] expected, List actual)(Code)(Java Doc) protected void assertEquals(String message, String expectedUrl, URL actualUrl)(Code)(Java Doc) public static void assertNull(Object object)(Code)(Java Doc) protected void createTestPageForRealBrowserIfNeeded(String content, String[] expectedAlerts) throws IOException(Code)(Java Doc) protected void createTestPageForRealBrowserIfNeeded(String content, List expectedAlerts) throws IOException(Code)(Java Doc) public static InputStream getFileAsStream(String fileName) throws FileNotFoundException(Code)(Java Doc) public static File getFileObject(String fileName) throws FileNotFoundException(Code)(Java Doc) final protected Log getLog()(Code)(Java Doc) final protected static MockWebConnection getMockConnection(HtmlPage page)(Code)(Java Doc) final protected static HtmlPage loadPage(String html) throws Exception(Code)(Java Doc) final protected static HtmlPage loadPage(BrowserVersion browserVersion, String html, List collectedAlerts) throws Exception(Code)(Java Doc) final protected static HtmlPage loadPage(String html, List collectedAlerts) throws Exception(Code)(Java Doc) final protected static HtmlPage loadPage(String html, List collectedAlerts, URL url) throws Exception(Code)(Java Doc) final protected static HtmlPage loadPage(BrowserVersion browserVersion, String html, List collectedAlerts, URL url) throws Exception(Code)(Java Doc) final protected static HtmlPage loadUrl(String url) throws Exception(Code)(Java Doc) protected boolean notYetImplemented()(Code)(Java Doc) protected void testHTMLFile(String fileName) throws Exception(Code)(Java Doc)
|
|
|