summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-04-15 10:33:59 +0000
committerArtur Signell <artur.signell@itmill.com>2010-04-15 10:33:59 +0000
commita932b439a98dc2a90bbb8f2f1d85e5532b2da271 (patch)
tree0bd18e10c54c5b64cda5c2b5aa0cc1ed7fa95d16
parent6b2ef7f2a3535b80fbdbeb9dea08e3415444c339 (diff)
downloadvaadin-framework-a932b439a98dc2a90bbb8f2f1d85e5532b2da271.tar.gz
vaadin-framework-a932b439a98dc2a90bbb8f2f1d85e5532b2da271.zip
Updated test case so it fails for #4537
svn changeset:12536/svn branch:6.3
-rw-r--r--tests/src/com/vaadin/tests/server/container/BeanItemContainerSortTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/com/vaadin/tests/server/container/BeanItemContainerSortTest.java b/tests/src/com/vaadin/tests/server/container/BeanItemContainerSortTest.java
index eb46da776f..ed103461a6 100644
--- a/tests/src/com/vaadin/tests/server/container/BeanItemContainerSortTest.java
+++ b/tests/src/com/vaadin/tests/server/container/BeanItemContainerSortTest.java
@@ -23,7 +23,8 @@ public class BeanItemContainerSortTest {
}
}
- String[] names = new String[] { "Antti", "Ville", "Sirkka", "Jaakko" };
+ String[] names = new String[] { "Antti", "Ville", "Sirkka", "Jaakko",
+ "Pekka", "John" };
public BeanItemContainer<Person> getContainer() {
BeanItemContainer<Person> bc = new BeanItemContainer<Person>(
@@ -54,6 +55,7 @@ public class BeanItemContainerSortTest {
int i = 0;
for (String string : asList) {
+ Assert.assertTrue(container.containsId(string));
Person idByIndex = container.getIdByIndex(i++);
Assert.assertEquals(string, idByIndex.getName());
}