| com.gargoylesoftware.htmlunit.WebTestCase com.gargoylesoftware.htmlunit.html.HtmlButtonTest
HtmlButtonTest | public class HtmlButtonTest extends WebTestCase (Code) | | Tests for
HtmlButton .
version: $Revision: 2132 $ author: Mike Bowler author: David K. Taylor author: Brad Clarke author: Marc Guillemot author: Ahmed Ashour |
HtmlButtonTest | public HtmlButtonTest(String name)(Code) | | Create an instance
Parameters: name - The name of the test |
testButtonClick_onClick | public void testButtonClick_onClick() throws Exception(Code) | | throws: Exception - if the test fails |
testDefaultButtonType_InternetExplorer | public void testDefaultButtonType_InternetExplorer() throws Exception(Code) | | IE is different than the html spec and has a default type of "button"
throws: Exception - if the test fails |
testDefaultButtonType_StandardsCompliantBrowser | public void testDefaultButtonType_StandardsCompliantBrowser() throws Exception(Code) | | According to the html spec, the default type for a button is "submit"
throws: Exception - if the test fails |
testSubmitClick_onClick | public void testSubmitClick_onClick() throws Exception(Code) | | 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)
|
|
|