[ 
https://issues.apache.org/jira/browse/WICKET-6430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sven Meier resolved WICKET-6430.
--------------------------------
    Resolution: Won't Fix
      Assignee: Sven Meier

Instead of littering WicketTester with even more specialized methods, we will 
just deprecate assertListView() and people should use assertModelValue() in the 
future.

> 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