This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5000-constants
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/WW-5000-constants by this push:
     new 83838d1  WW-5000 Drops duplicated test case
83838d1 is described below

commit 83838d1b9ad89db157ab22c48ff31c4f239460f7
Author: Lukasz Lenart <[email protected]>
AuthorDate: Fri Jan 8 08:52:22 2021 +0100

    WW-5000 Drops duplicated test case
---
 .../ognl/accessor/XWorkListPropertyAccessorTest.java  | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git 
a/core/src/test/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessorTest.java
 
b/core/src/test/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessorTest.java
index df5ea4b..66c716c 100644
--- 
a/core/src/test/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessorTest.java
+++ 
b/core/src/test/java/com/opensymphony/xwork2/ognl/accessor/XWorkListPropertyAccessorTest.java
@@ -83,23 +83,4 @@ public class XWorkListPropertyAccessorTest extends 
XWorkTestCase {
         assertEquals(3, vs.findValue("strings.size()"));
     }
 
-    public void testDeprecatedAutoGrowCollectionLimit() {
-        PropertyAccessor accessor = 
container.getInstance(PropertyAccessor.class, ArrayList.class.getName());
-        ((XWorkListPropertyAccessor) accessor).setAutoGrowCollectionLimit("2");
-
-        List<String> myList = new ArrayList<>();
-        ListHolder listHolder = new ListHolder();
-        listHolder.setStrings(myList);
-
-        ValueStack vs = ActionContext.getContext().getValueStack();
-        vs.push(listHolder);
-
-        vs.setValue("strings[0]", "a");
-        vs.setValue("strings[1]", "b");
-        vs.setValue("strings[2]", "c");
-        vs.setValue("strings[3]", "d");
-
-        assertEquals(3, vs.findValue("strings.size()"));
-    }
-
 }

Reply via email to