struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig McClanahan (JIRA)" <>
Subject [jira] Resolved: (SHALE-189) Shale Test is incompatible with HtmlUnit 1.8
Date Thu, 08 Jun 2006 22:53:16 GMT
     [ ]
Craig McClanahan resolved SHALE-189:

    Fix Version: 1.0.3
     Resolution: Fixed

Resolved in the mvn_reorg branch, which will eventually become the trunk.  Resolution required
the following changes:

* On calls to HtmlPage.getAllForms(), simply switch to HtmlPage.getForms() instead.

* On calls to WebConnection.getStateForUrl(), this has now been documented
  as an internal HtmlUnit API (in 1.8).  Therefore, remove references to it (and
  the corresponding cookie class from HttpClient).  Those were originally in this
  class because it wasn't clear that HttpClient would carry over cookies from one
  request to the next on a single WebConnection.  As long as that happens, there
  is no need for a test case to access the internal state information at all, so
  I removed references to the HttpState instance variable, and the call that
  populated it.

> Shale Test is incompatible with HtmlUnit 1.8
> --------------------------------------------
>          Key: SHALE-189
>          URL:
>      Project: Shale
>         Type: Task

>   Components: Test
>     Versions: Nightly
>     Reporter: Wendy Smoak
>      Fix For: 1.0.3

> Shale Test currently depends on HtmlUnit 1.7 (1.6 also works.)  
> However, it uses methods that were removed in HtmlUnit 1.8:
> c:\svn\struts\shale-m2-reorg\shale-test\src\main\java\org\apache\shale\test\html
> unit\[113,46] cannot find symbol
> symbol  : method getStateForUrl(
> location: class com.gargoylesoftware.htmlunit.WebConnection
> c:\svn\struts\shale-m2-reorg\shale-test\src\main\java\org\apache\shale\test\html
> unit\[190,29] cannot find symbol
> symbol  : method getAllForms()
> location: class com.gargoylesoftware.htmlunit.html.HtmlPage

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message