You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/03/13 10:16:13 UTC
[jira] [Resolved] (WICKET-5097) Deprecate
BaseWicketTester#startComponent(Component)
[ https://issues.apache.org/jira/browse/WICKET-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-5097.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.7.0
> Deprecate BaseWicketTester#startComponent(Component)
> ----------------------------------------------------
>
> Key: WICKET-5097
> URL: https://issues.apache.org/jira/browse/WICKET-5097
> Project: Wicket
> Issue Type: Task
> Components: wicket
> Affects Versions: 6.6.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 6.7.0
>
>
> Initially BaseWicketTester#startComponent(Component) has been introduced to test a component without attaching it to a page (this is what its Javadoc states).
> First it appeared that the tested component is not initialized (fixed with https://issues.apache.org/jira/browse/WICKET-4792).
> Then https://issues.apache.org/jira/browse/WICKET-4976 - the request cycle and the component itself are not detached at the end.
> And now a colleague of mine reported me that since WICKET-4976 a test is failing in our app because our custom IRequestCycleListener#onEndRequest() is called but #onBeginRequest() hasn't been called before that. I remember Hielke from Topicus also had this problem for Wiquery 6.6.0.
> BaseWicketTester#startComponent(Component) becomes more and more the same as #startComponentInPage(Component) so it will be deprecated in 6.x series and fully removed with Wicket 7.0.0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira