aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/helper/TestDataManager.java18
1 files changed, 6 insertions, 12 deletions
diff --git a/test/org/traccar/helper/TestDataManager.java b/test/org/traccar/helper/TestDataManager.java
index 9e8147b05..a54c1f7a3 100644
--- a/test/org/traccar/helper/TestDataManager.java
+++ b/test/org/traccar/helper/TestDataManager.java
@@ -1,16 +1,16 @@
package org.traccar.helper;
import java.util.List;
-import org.traccar.model.DataManager;
+import org.traccar.database.DataManager;
import org.traccar.model.Device;
import org.traccar.model.Position;
-public class TestDataManager implements DataManager {
+public class TestDataManager extends DataManager {
- @Override
- public List getDevices() {
- return null;
+ public TestDataManager() throws Exception {
+ super(null);
}
+
@Override
public Device getDeviceByImei(String imei) {
Device device = new Device();
@@ -18,11 +18,5 @@ public class TestDataManager implements DataManager {
device.setImei("123456789012345");
return device;
}
- @Override
- public Long addPosition(Position position) {
- return null;
- }
- @Override
- public void updateLatestPosition(Position position, Long positionId) throws Exception {
- }
+
}