From 9c7f53d9e63c9423e962808c086ce979918e73d3 Mon Sep 17 00:00:00 2001 From: Jonatan Kronqvist Date: Tue, 23 Aug 2011 11:40:33 +0000 Subject: [PATCH] Updated toString method to make tests pass #6720 svn changeset:20564/svn branch:6.7 --- tests/src/com/vaadin/tests/components/table/Tables.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 extends AbstractSelectTestCase 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 rowGeneratorCommand = new Command() { -- 2.39.5