[Httpunit-commit] CVS: httpunit/doc release_notes.txt,NONE,1.1 release notes.txt,1.19,NONE
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2000-10-05 14:45:17
|
Update of /cvsroot/httpunit/httpunit/doc In directory slayer.i.sourceforge.net:/tmp/cvs-serv20163/doc Added Files: release_notes.txt Removed Files: release notes.txt Log Message: Corrected handling of blank frames --- NEW FILE --- HttpUnit release notes Known problems: 1. Unnamed frames are not handled correctly 2. The "_parent" and "_empty" targets are not handled correctly Limitations: HttpUnit does not support JavaScript Acknowledgements: Thanks to Seth Ladd for specific exceptions from WebConversation.getResponse Thanks to Dave Glowacki for suggestions on convenience methods in WebResponse and WebLink, and for correcting my set up of the https protocol handling. Thanks to Perry Doell for the methods to examine cookies on WebConversation Thanks to Ken Hygh for the proper handling of parameters with no specified type Revision History: 5-Oct-00 Problems corrected: 1. Blank "src" attributes in FRAME nodes now correctly result in a blank page 2. The "_self" target is now handled as the default target 4-Oct-00 Additions: 1. Frames are now supported. The WebConversation method has two methods: getFrameNames and getFrameContents which allow manipulation of frames. 2. Calling HttpUnitOptions.setImagesTreatedAsAltText( true ) will cause the ALT text in images to be treated as ordinary text Problems corrected: 1. It is no longer necessary to edit the java.security file to enable HTTPS support. Just install the JSSE jars in your classpath. 2. Parameters with no type specified are now properly handled as text 28-Sep-00 Additions: 1. PseudoServer class is now used by unit tests to handle requests. This will enable development of frames capability 2. Https support is now built in; however, it depends on the JSSE extension (not included). See http://java.sun.com/products/jsse and be careful to follow the installation instructions 25-Sep-00 Problems corrected: 1. In the 15-Sep build, the value parameter for checkboxes was ignored in computing defaults and validating parameter values - all checkboxes were assumed to have the value 'on' only 2. getTableStartingWith[Prefix] only checked the nested tables in cell (0,0) of each outer table Additions: 3. WebConversation now supports getCookieNames and getCookieValue to return the current cookies 15-Sep-00 General: 1. Non-breaking spaces are converted to spaces on any conversion to text 2. WebConversation.getResponse() can now throw HttpInternalErrorException and HttpNotFoundException in response to 501 and 404 codes, respectively 3. By default, parser warnings are no longer displayed. They may be enabled by a call to HttpUnitOptions.setParserWarningsEnabled( true ) 4. By default, WebRequest.setParameter will now throw IllegalRequestParameterException on any attempt to set a form parameter to a value not normally available from the browser. This checking can be disabled via a call to HttpUnitOptions.setParameterValuesValidated( false ) Additions: 1. WebResponse.getTitle() returns the HTML title of the page 2. WebLink.getURLString() returns the URL string specified by the link in its href attribute 3. The license agreement is now available from the home page and javadoc 4. WebResponse.getURL() return the URL used to retrieve the page 1-Sep-00 1.0 Acknowledgements: Thanks to Jan Ohrstrom for his additions to WebConversation Problems corrected: 1. Parsing a response would crash if there were no nodes inside a form Additions: 1. WebResponse.getOptions and getOptionValues now return the displayed and parameter value options available to the user in a <select> 2. WebRespose.getLinkWith() and .getLinkWithImageText() can now be used to locate a link in a page based on its text or the ALT text attribute of an enclosed image 3. WebConversation.setUserAgent allows httpunit to pretend to be a particular browser 4. WebConversation.addCookie allows the test to include additional cookies for the servlets to respond to. 5. WebLink.asText returns the text value of a link 6. WebConversation now throws AuthorizationRequiredException when the web server rejects a request because of authorization problems. 7. WebConversation now supports basic authentication via the setAuthorization method. 4-Aug-00 0.9.5 General: 1. Nested tables are now supported (examples to follow) by using WebTable.getTableCell 2. table columns and rows used only for formatting may now be ignored using WebTable.purgeEmptyCells 3. It is now easy to find a table in a page based on the text in its first non-blank column and row, using WebResponse.getTableStartingWith 4. All form controls should now be supported 5. There is a preliminary cookbook available Additions: 1. Deprecated WebTable.getCell, new method is getCellAsText 2. Added WebTable.getTableCell to return a cell which could contain nested tables or just a DOM to examine 3. Added WebTable.asText to return a 2D representation of the table 4. Added WebTable.purgeEmptyCells to eliminate meaningless spacing information 5. Added copyright notices to most source files 6. Added support for checkboxes, radio buttons, text areas, and selects 29-Jun-00 0.9.1 Additions: 1. The PostMethodWebRequest class is now public. 2. Row and column spans are now handled 3. Formatting inside table cells is ignored in computing the text value of a cell 19-Jun-00 0.9 Additions: 1. The parser may be tested during the build by issuing the command: 'ant test -Dclasspath="%classpath%"' 2. WebResponse now can return an array of the top-level tables in the HTML response. Each table may now be asked for its size and the contents of each of its cells. 5-Jun-00 0.8.2 Additions: WebResponse now has a getDOM method which permits examination of the DOM equivalent of the response. 1-Jun-00 0.8.1 Problems corrected: Default parameter values are ignored Parameter values without explicit types were being ignored, rather than defaulting to TEXT Additions: ExampleTest now demonstrates the use of httpunit and JUnit to test servlets NearWords demonstrates the use of httpunit to access web site functionality 03-May-00 0.8 Initial public release ***** Bogus filespec: release |