]> source.dussan.org Git - vaadin-framework.git/commitdiff
#7495 Fixed Tables test to use the inverted API naming
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Thu, 31 May 2012 09:47:53 +0000 (09:47 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Thu, 31 May 2012 09:47:53 +0000 (09:47 +0000)
svn changeset:23862/svn branch:6.8

tests/testbench/com/vaadin/tests/components/table/Tables.java

index 5c55ea87b2ca633e855219330a159ec2f93b9a1a..9d409c5df8c1dee5def7429137afa9b1ca184be4 100644 (file)
@@ -73,10 +73,10 @@ public class Tables<T extends Table> extends AbstractSelectTestCase<T>
         }
     };
 
-    private Command<T, Boolean> columnNonCollapsibleCommand = new Command<T, Boolean>() {
+    private Command<T, Boolean> columnCollapsibleCommand = new Command<T, Boolean>() {
 
-        public void execute(T c, Boolean noncollapsible, Object propertyId) {
-            c.setColumnNoncollapsible(propertyId, noncollapsible);
+        public void execute(T c, Boolean collapsible, Object propertyId) {
+            c.setColumnCollapsible(propertyId, collapsible);
 
         }
     };
@@ -652,8 +652,8 @@ public class Tables<T extends Table> extends AbstractSelectTestCase<T>
         createSelectAction("Expand ratio", category, expandOptions,
                 "- remove -", columnExpandRatioCommand, propertyId);
         t.log("Expand");
-        createBooleanAction("Noncollapsible", category, false,
-                columnNonCollapsibleCommand, propertyId);
+        createBooleanAction("Collapsible", category, true,
+                columnCollapsibleCommand, propertyId);
 
         // Footer text (move)
         // Header text (move)