| com.gargoylesoftware.htmlunit.WebTestCase com.gargoylesoftware.htmlunit.html.HtmlFileInputTest
HtmlFileInputTest | public class HtmlFileInputTest extends WebTestCase (Code) | | Tests for
HtmlFileInput .
version: $Revision: 2132 $ author: Marc Guillemot author: Ahmed Ashour |
Inner Class :public static class Upload2Servlet extends HttpServlet | |
HtmlFileInputTest | public HtmlFileInputTest(String name)(Code) | | Create an instance
Parameters: name - The name of the test |
tearDown | protected void tearDown() throws Exception(Code) | | Stops the web server if it has been started.
|
testEmptyField | public void testEmptyField() throws Exception(Code) | | Test content provided for a not filled file input
throws: Exception - if the test fails |
testUploadFileWithNonASCIIName | public void testUploadFileWithNonASCIIName() throws Exception(Code) | | Test uploading a file with non-ASCII name.
Test for http://sourceforge.net/tracker/index.php?func=detail&aid=1818569&group_id=47038&atid=448266
throws: Exception - If the test fails. |
testUploadFileWithNonASCIIName_HttpClient | public void testUploadFileWithNonASCIIName_HttpClient() throws Exception(Code) | | Test HttpClient for uploading a file with non-ASCII name, if it works it means HttpClient has fixed its bug.
Test for http://issues.apache.org/jira/browse/HTTPCLIENT-293,
which is related to http://sourceforge.net/tracker/index.php?func=detail&aid=1818569&group_id=47038&atid=448266
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)
|
|
|