[
https://issues.apache.org/jira/browse/WICKET-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566136#action_12566136
]
Timo Rantalaiho commented on WICKET-1326:
-----------------------------------------
This would be excellent, as it would make unit testing ajax repaints much
easier (often you need to test which components get added to AjaxRequestTarget).
> remove final from AjaxRequestTarget.addComponent(Component)
> -----------------------------------------------------------
>
> Key: WICKET-1326
> URL: https://issues.apache.org/jira/browse/WICKET-1326
> Project: Wicket
> Issue Type: Task
> Affects Versions: 1.3.1
> Reporter: Janne Hietamäki
> Assignee: Janne Hietamäki
>
> Ajax behaviors are currently extremely hard to test because the final method
> AjaxRequestTarget.addComponent(Component) is final and can't be mocked.
> Does anyone object removing the final keyword?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.