[ 
https://issues.apache.org/jira/browse/WICKET-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104666#comment-16104666
 ] 

Kamil commented on WICKET-6430:
-------------------------------

If you want provide equivalent, then in Javadoc you should write:
{code}
@Deprecated use {@link WicketTester#assertComponent(String, Class) combined 
with WicketTester#assertModelValue(String, Object)} instead
{code}

> WicketTester should provide assertRepeatingView
> -----------------------------------------------
>
>                 Key: WICKET-6430
>                 URL: https://issues.apache.org/jira/browse/WICKET-6430
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Kamil
>            Assignee: Sven Meier
>            Priority: Minor
>
> Currently WicketTester has
> {code}
> public void assertListView(String path, List<?> expectedList)
> {code}
> method.
> If I try to use it with:
> {code}
> org.apache.wicket.markup.repeater.RepeatingView
> {code}
> obviously I get
> {code}
> java.lang.ClassCastException: org.apache.wicket.markup.repeater.RepeatingView 
> cannot be cast to org.apache.wicket.markup.html.list.ListView
>       at 
> org.apache.wicket.util.tester.WicketTester.assertListView(WicketTester.java:632)
> {code}
> Please provide assertRepeatingView method (simmilar to assertListView)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to