]> source.dussan.org Git - vaadin-framework.git/commitdiff
More fine grained control for non-Table components
authorArtur Signell <artur.signell@itmill.com>
Fri, 15 Oct 2010 18:27:29 +0000 (18:27 +0000)
committerArtur Signell <artur.signell@itmill.com>
Fri, 15 Oct 2010 18:27:29 +0000 (18:27 +0000)
svn changeset:15582/svn branch:6.4

tests/src/com/vaadin/tests/components/select/AbstractSelectTestCase.java

index a013ab6f089261c02052b0fa15e6b3d9fe2327f4..8d63e7243c092815df0276112ec2901e197d7fe1 100644 (file)
@@ -57,7 +57,9 @@ public abstract class AbstractSelectTestCase<T extends AbstractSelect> extends
 \r
     protected void createItemsInContainerSelect(String category) {\r
         LinkedHashMap<String, Integer> options = new LinkedHashMap<String, Integer>();\r
-        options.put("0", 0);\r
+        for (int i = 0; i <= 10; i++) {\r
+            options.put(String.valueOf(i), i);\r
+        }\r
         options.put("20", 20);\r
         options.put("100", 100);\r
         options.put("1000", 1000);\r
@@ -71,8 +73,9 @@ public abstract class AbstractSelectTestCase<T extends AbstractSelect> extends
     protected void createColumnsInContainerSelect(String category) {\r
         LinkedHashMap<String, Integer> options = new LinkedHashMap<String, Integer>();\r
         options.put("0", 0);\r
-        options.put("5", 5);\r
-        options.put("10", 10);\r
+        for (int i = 0; i <= 10; i++) {\r
+            options.put(String.valueOf(i), i);\r
+        }\r
         options.put("50", 50);\r
         options.put("100", 100);\r
         options.put("1000", 1000);\r