aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/FilterHandlerTest.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/org/traccar/FilterHandlerTest.java b/test/org/traccar/FilterHandlerTest.java
index bb7e69dc0..a03c04536 100644
--- a/test/org/traccar/FilterHandlerTest.java
+++ b/test/org/traccar/FilterHandlerTest.java
@@ -6,15 +6,19 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import org.junit.Before;
import org.junit.Test;
+import org.traccar.database.IdentityManager;
import org.traccar.model.Position;
+import org.traccar.model.Device;
public class FilterHandlerTest {
+ private EventHandlerTest deviceHandler;
private FilterHandler filtingHandler;
private FilterHandler passingHandler;
@Before
public void setUp() {
+ deviceHandler = new EventHandlerTest();
passingHandler = new FilterHandler();
filtingHandler = new FilterHandler();
filtingHandler.setFilterInvalid(true);
@@ -32,7 +36,7 @@ public class FilterHandlerTest {
filtingHandler = null;
passingHandler = null;
}
-
+
private Position createPosition(
long deviceId,
Date time,