aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/TestDataManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-11-09 19:01:19 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-11-09 19:01:19 +1300
commitcf0565caceee6856328e481dd23600ed2590c88a (patch)
tree9d2cc8cf8d3eb27b36412eb492ad702581891f1c /test/org/traccar/protocol/TestDataManager.java
parentf9ecee5b732b0c82c8a95bebdb5e275ea479cccc (diff)
downloadtrackermap-server-cf0565caceee6856328e481dd23600ed2590c88a.tar.gz
trackermap-server-cf0565caceee6856328e481dd23600ed2590c88a.tar.bz2
trackermap-server-cf0565caceee6856328e481dd23600ed2590c88a.zip
Improve unit test verification
Diffstat (limited to 'test/org/traccar/protocol/TestDataManager.java')
-rw-r--r--test/org/traccar/protocol/TestDataManager.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/org/traccar/protocol/TestDataManager.java b/test/org/traccar/protocol/TestDataManager.java
deleted file mode 100644
index 7466f5ace..000000000
--- a/test/org/traccar/protocol/TestDataManager.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.traccar.protocol;
-
-import java.util.List;
-import org.traccar.model.DataManager;
-import org.traccar.model.Device;
-import org.traccar.model.Position;
-
-public class TestDataManager implements DataManager {
-
- @Override
- public List getDevices() {
- return null;
- }
- @Override
- public Device getDeviceByImei(String imei) {
- Device device = new Device();
- device.setId(new Long(1));
- device.setImei("123456789012345");
- return device;
- }
- @Override
- public Long addPosition(Position position) {
- return null;
- }
- @Override
- public void updateLatestPosition(Long deviceId, Long positionId) throws Exception {
- }
-}