aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/ui
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/test/java/com/vaadin/ui')
-rw-r--r--server/src/test/java/com/vaadin/ui/DateFieldTestCase.java16
1 files changed, 7 insertions, 9 deletions
diff --git a/server/src/test/java/com/vaadin/ui/DateFieldTestCase.java b/server/src/test/java/com/vaadin/ui/DateFieldTestCase.java
index d8c75fb795..43bfefc681 100644
--- a/server/src/test/java/com/vaadin/ui/DateFieldTestCase.java
+++ b/server/src/test/java/com/vaadin/ui/DateFieldTestCase.java
@@ -1,24 +1,22 @@
package com.vaadin.ui;
-import org.junit.Before;
-import org.junit.Test;
-
-import com.vaadin.legacy.ui.LegacyDateField;
-
-import java.util.Date;
-
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.IsNull.nullValue;
+import java.util.Date;
+
+import org.junit.Before;
+import org.junit.Test;
+
public class DateFieldTestCase {
- private LegacyDateField dateField;
+ private DateField dateField;
private Date date;
@Before
public void setup() {
- dateField = new LegacyDateField();
+ dateField = new DateField();
date = new Date();
}