struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig McClanahan (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SHALE-189) Shale Test is incompatible with HtmlUnit 1.8
Date Thu, 08 Jun 2006 22:53:16 GMT
     [ http://issues.apache.org/struts/browse/SHALE-189?page=all ]
     
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: http://issues.apache.org/struts/browse/SHALE-189
>      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\AbstractHtmlUnitTestCase.java:[113,46] cannot find symbol
> symbol  : method getStateForUrl(java.net.URL)
> location: class com.gargoylesoftware.htmlunit.WebConnection
> c:\svn\struts\shale-m2-reorg\shale-test\src\main\java\org\apache\shale\test\html
> unit\AbstractHtmlUnitTestCase.java:[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:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message