summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-03-31 10:59:42 +0000
committerArtur Signell <artur.signell@itmill.com>2011-03-31 10:59:42 +0000
commite0edfc49e02a9d16d38c6b280312c525b148265d (patch)
tree3b80d61172d30b30863681157a3857115d5c3a33 /tests
parentdae79aa1803d1b904384ac4f0a43ff39966e9189 (diff)
downloadvaadin-framework-e0edfc49e02a9d16d38c6b280312c525b148265d.tar.gz
vaadin-framework-e0edfc49e02a9d16d38c6b280312c525b148265d.zip
Sort printed values to avoid dependency on server/JDK
svn changeset:18052/svn branch:6.5
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/vaadin/tests/components/table/TableMultiSelectSimple.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/src/com/vaadin/tests/components/table/TableMultiSelectSimple.java b/tests/src/com/vaadin/tests/components/table/TableMultiSelectSimple.java
index 4934895aa5..76415844be 100644
--- a/tests/src/com/vaadin/tests/components/table/TableMultiSelectSimple.java
+++ b/tests/src/com/vaadin/tests/components/table/TableMultiSelectSimple.java
@@ -1,5 +1,8 @@
package com.vaadin.tests.components.table;
+import java.util.Set;
+import java.util.TreeSet;
+
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
import com.vaadin.tests.components.TestBase;
@@ -26,7 +29,9 @@ public class TableMultiSelectSimple extends TestBase {
t.addListener(new ValueChangeListener() {
public void valueChange(ValueChangeEvent event) {
- log.log("Selected value: " + event.getProperty().getValue());
+ TreeSet sorted = new TreeSet((Set) event.getProperty()
+ .getValue());
+ log.log("Selected value: " + sorted);
}
});