]> source.dussan.org Git - vaadin-framework.git/commitdiff
Updated toString method to make tests pass #6720
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>
Tue, 23 Aug 2011 11:40:33 +0000 (11:40 +0000)
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>
Tue, 23 Aug 2011 11:40:33 +0000 (11:40 +0000)
svn changeset:20564/svn branch:6.7

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

index 2b8f646c1f5a55d95acf61515cb3f2b604102712..3a34fb47b25b2ef22f317bdd9685fc0306e3b2d0 100644 (file)
@@ -326,6 +326,12 @@ public class Tables<T extends Table> extends AbstractSelectTestCase<T>
             int ix = Integer.valueOf(itemId.toString().substring(5));\r
             return ix % nth == 0;\r
         }\r
+\r
+        @Override\r
+        public String toString() {\r
+            return String.format("%d, %s, %s", nth, isHtml ? "true" : "false",\r
+                    Arrays.toString(text));\r
+        }\r
     }\r
 \r
     private Command<T, GeneratedRowInfo> rowGeneratorCommand = new Command<T, GeneratedRowInfo>() {\r