diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-12 00:56:03 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-12 00:56:03 +1300 |
commit | 900cbdd8b23cf0e9266523b21f2251510fcc1468 (patch) | |
tree | ffe824e491bd01a2df1e144a820ec175834d07f8 /test/org/traccar | |
parent | f10f359d0531417b11a2a0fa1862efd6eae742b9 (diff) | |
download | traccar-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.tar.gz traccar-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.tar.bz2 traccar-server-900cbdd8b23cf0e9266523b21f2251510fcc1468.zip |
Integrate new web interface
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/TestDataManager.java | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/test/org/traccar/protocol/TestDataManager.java b/test/org/traccar/protocol/TestDataManager.java index c6865a078..7466f5ace 100644 --- a/test/org/traccar/protocol/TestDataManager.java +++ b/test/org/traccar/protocol/TestDataManager.java @@ -7,19 +7,22 @@ import org.traccar.model.Position; public class TestDataManager implements DataManager { - public List getDevices() { return null; } - public void addDevice(Device device) {} - public void updateDevice(Device device) {} - public void removeDevice(Device device) {} + @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; } - public Device getDeviceByPhoneNumber(String phoneNumber) { return null; } - public Device getDeviceByUniqueId(String uniqueId) { return null; } - public List getPositions(Long deviceId) { return null; } - public void addPosition(Position position) {} - + @Override + public Long addPosition(Position position) { + return null; + } + @Override + public void updateLatestPosition(Long deviceId, Long positionId) throws Exception { + } } |