| com.gargoylesoftware.htmlunit.WebTestCase com.gargoylesoftware.htmlunit.SanityCheck
SanityCheck | public class SanityCheck extends WebTestCase (Code) | | This class runs live tests against popular webservers just to make sure
nothing obvious has broken. Don't run this very often lest we piss off the
web masters.
version: $Revision: 2132 $ author: Mike Bowler author: Christian Sell author: Marc Guillemot author: Ahmed Ashour |
SanityCheck | public SanityCheck(String name)(Code) | | Create an instance.
Parameters: name - The name of the test. |
main | public static void main(String args) throws Exception(Code) | | Main entry point for testing.
Parameters: args - the arguments. throws: Exception - If a problem occurs. |
setUp | public void setUp()(Code) | | Print out the name of the test that is running.
|
testAdobeAcrobatReaderDownloadStep2 | public void testAdobeAcrobatReaderDownloadStep2() throws Exception(Code) | | Test against a live server: Adobe Acrobat Reader download step 2
throws: Exception - If something goes wrong. |
testAlphaWorks | public void testAlphaWorks() throws Exception(Code) | | Test against a live server: IBM Alphaworks
throws: Exception - If something goes wrong. |
testAmazonCanada | public void testAmazonCanada() throws Exception(Code) | | Test against a live server: Amazon Canada
throws: Exception - If something goes wrong. |
testCNN | public void testCNN() throws Exception(Code) | | Test against a live server: CNN
throws: Exception - If something goes wrong. |
testCnnAfterHours | public void testCnnAfterHours() throws Exception(Code) | | Test against a live server: CNN After hours
throws: Exception - If something goes wrong. |
testGetMethodWithParameters | public void testGetMethodWithParameters() throws Exception(Code) | | Test against htmlunit.sourceforge.net to make sure parameters are being passed
correctly for GET methods
throws: Exception - If something goes wrong. |
testHtmlUnitHomepage | public void testHtmlUnitHomepage() throws Exception(Code) | | Test against a live server: htmlunit.sourceforge.net
throws: Exception - If something goes wrong. |
testIBM | public void testIBM() throws Exception(Code) | | Test against a live server: IBM
throws: Exception - If something goes wrong. |
testPostMethodWithDuplicateParameters | public void testPostMethodWithDuplicateParameters() throws Exception(Code) | | Test against htmlunit.sourceforge.net to make sure parameters are being passed
correctly for POST methods.
throws: Exception - If something goes wrong. |
testPostMethodWithParameters | public void testPostMethodWithParameters() throws Exception(Code) | | Test against htmlunit.sourceforge.net to make sure parameters are being passed
correctly for POST methods.
throws: Exception - If something goes wrong. |
testSourceForge_secure | public void testSourceForge_secure() throws Exception(Code) | | Test against a live server: HtmlUnit page on sourceforge using https
throws: Exception - If something goes wrong. |
testToyotaCanada | public void testToyotaCanada() throws Exception(Code) | | Test against a live server: Toyota Canada
throws: Exception - If something goes wrong. |
testYahoo | public void testYahoo() throws Exception(Code) | | Test against a live server: Yahoo
throws: Exception - If something goes wrong. |
testYahooLogin_secure | public void testYahooLogin_secure() throws Exception(Code) | | Test against a live server: Yahoo secure login
throws: Exception - If something goes wrong. |
testYahooMail | public void testYahooMail() throws Exception(Code) | | Test against a live server: Yahoo mail
throws: Exception - If something goes wrong. |
testYahoo_Spanish | public void testYahoo_Spanish() throws Exception(Code) | | Test against a live server: Yahoo
throws: Exception - If something goes wrong. |
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)
|
|
|