summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-11-04 12:13:59 +0000
committerArtur Signell <artur.signell@itmill.com>2011-11-04 12:13:59 +0000
commitf803b65975f2bc400885b45fedb0584974d7448b (patch)
tree47f4a4c1d82c22b7a6c8e7c7d41f3c421524a965
parent394089d0ce52cc4c5c3b150f830409a406e92538 (diff)
downloadvaadin-framework-f803b65975f2bc400885b45fedb0584974d7448b.tar.gz
vaadin-framework-f803b65975f2bc400885b45fedb0584974d7448b.zip
Fixed dates
svn changeset:21907/svn branch:6.7
-rw-r--r--tests/testbench/com/vaadin/tests/components/treetable/DynamicallyModified.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/treetable/DynamicallyModified.java b/tests/testbench/com/vaadin/tests/components/treetable/DynamicallyModified.java
index 3d76211154..0a6366d4f2 100644
--- a/tests/testbench/com/vaadin/tests/components/treetable/DynamicallyModified.java
+++ b/tests/testbench/com/vaadin/tests/components/treetable/DynamicallyModified.java
@@ -2,7 +2,6 @@ package com.vaadin.tests.components.treetable;
import java.util.Calendar;
import java.util.Collection;
-import java.util.Date;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Tree;
@@ -37,8 +36,8 @@ public class DynamicallyModified extends TestBase implements
// Add Table columns
treetable.addContainerProperty(NAME_PROPERTY, String.class, "");
treetable.addContainerProperty(HOURS_PROPERTY, Integer.class, 0);
- treetable.addContainerProperty(MODIFIED_PROPERTY, Date.class,
- cal.getTime());
+ treetable.addContainerProperty(MODIFIED_PROPERTY, String.class,
+ "Wed Nov 30 14:40:26 EET 2011");
// Populate table
Object allProjects = treetable.addItem(new Object[] { "All Projects",
@@ -99,7 +98,8 @@ public class DynamicallyModified extends TestBase implements
return;
}
Object newChildId = treetable.addItem(new Object[] {
- "New child " + newChild++, 5, new Date() }, null);
+ "New child " + newChild++, 5, "Fri Nov 04 10:53:16 EET 2011" },
+ null);
treetable.setParent(newChildId, expandedItemId);
treetable.setChildrenAllowed(newChildId, false);
}