Repository: wicket
Updated Branches:
  refs/heads/master d7e8fe276 -> 48b2aa128


WICKET-6430 deprecate assertListView


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/48b2aa12
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/48b2aa12
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/48b2aa12

Branch: refs/heads/master
Commit: 48b2aa128fa4f56f623170af548d90fad4f48860
Parents: d7e8fe2
Author: Sven Meier <svenme...@apache.org>
Authored: Thu Jul 27 22:00:02 2017 +0200
Committer: Sven Meier <svenme...@apache.org>
Committed: Thu Jul 27 22:00:02 2017 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/wicket/util/tester/BaseWicketTester.java  | 2 ++
 .../src/main/java/org/apache/wicket/util/tester/WicketTester.java  | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/48b2aa12/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java 
b/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java
index 142083e..2d62f11 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/util/tester/BaseWicketTester.java
@@ -1843,7 +1843,9 @@ public class BaseWicketTester
         *            path to {@link ListView} component
         * @param expectedList
         *            expected list in the model of {@link ListView}
+        * @Deprecated use {@link WicketTester#assertModelValue(String, 
Object)} instead
         */
+       @Deprecated
        public void assertListView(String path, List<?> expectedList)
        {
                ListView<?> listView = 
(ListView<?>)getComponentFromLastRenderedPage(path);

http://git-wip-us.apache.org/repos/asf/wicket/blob/48b2aa12/wicket-core/src/main/java/org/apache/wicket/util/tester/WicketTester.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/util/tester/WicketTester.java 
b/wicket-core/src/main/java/org/apache/wicket/util/tester/WicketTester.java
index 9e905c1..5b1dd76 100644
--- a/wicket-core/src/main/java/org/apache/wicket/util/tester/WicketTester.java
+++ b/wicket-core/src/main/java/org/apache/wicket/util/tester/WicketTester.java
@@ -647,7 +647,9 @@ public class WicketTester extends BaseWicketTester
         *            path to a {@link ListView} <code>Component</code>
         * @param expectedList
         *            expected <code>List</code> in the model of the given 
{@link ListView}
+        * @Deprecated use {@link #assertModelValue(String, Object)} instead
         */
+       @Deprecated
        @Override
        public void assertListView(String path, List<?> expectedList)
        {

Reply via email to