summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>2011-08-23 11:40:33 +0000
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>2011-08-23 11:40:33 +0000
commit9c7f53d9e63c9423e962808c086ce979918e73d3 (patch)
treefb878d303d01e802cf4373b65aa629efd8d86c74
parent33fbc7ad6ee9f099db42bc88501eaf4ca0f82c14 (diff)
downloadvaadin-framework-9c7f53d9e63c9423e962808c086ce979918e73d3.tar.gz
vaadin-framework-9c7f53d9e63c9423e962808c086ce979918e73d3.zip
Updated toString method to make tests pass #6720
svn changeset:20564/svn branch:6.7
-rw-r--r--tests/src/com/vaadin/tests/components/table/Tables.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/src/com/vaadin/tests/components/table/Tables.java b/tests/src/com/vaadin/tests/components/table/Tables.java
index 2b8f646c1f..3a34fb47b2 100644
--- a/tests/src/com/vaadin/tests/components/table/Tables.java
+++ b/tests/src/com/vaadin/tests/components/table/Tables.java
@@ -326,6 +326,12 @@ public class Tables<T extends Table> extends AbstractSelectTestCase<T>
int ix = Integer.valueOf(itemId.toString().substring(5));
return ix % nth == 0;
}
+
+ @Override
+ public String toString() {
+ return String.format("%d, %s, %s", nth, isHtml ? "true" : "false",
+ Arrays.toString(text));
+ }
}
private Command<T, GeneratedRowInfo> rowGeneratorCommand = new Command<T, GeneratedRowInfo>() {