aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/xexun2/Xexun2ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-04-26 19:34:10 +0000
committerAnton Tananaev <anton.tananaev@gmail.com>2012-04-26 19:34:10 +0000
commit02c1fb78a8b1681325ec01f49ae6ff6603825243 (patch)
treea851415301ec88a03d492594ba47577f02dc0edd /test/org/traccar/protocol/xexun2/Xexun2ProtocolDecoderTest.java
parentf0b1e58016632af5514d94b7439af77b9918b643 (diff)
downloadtrackermap-server-02c1fb78a8b1681325ec01f49ae6ff6603825243.tar.gz
trackermap-server-02c1fb78a8b1681325ec01f49ae6ff6603825243.tar.bz2
trackermap-server-02c1fb78a8b1681325ec01f49ae6ff6603825243.zip
Diffstat (limited to 'test/org/traccar/protocol/xexun2/Xexun2ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/xexun2/Xexun2ProtocolDecoderTest.java38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/org/traccar/protocol/xexun2/Xexun2ProtocolDecoderTest.java b/test/org/traccar/protocol/xexun2/Xexun2ProtocolDecoderTest.java
deleted file mode 100644
index 790abc222..000000000
--- a/test/org/traccar/protocol/xexun2/Xexun2ProtocolDecoderTest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.traccar.protocol.xexun2;
-
-import java.util.List;
-import org.junit.Test;
-import org.traccar.Device;
-import org.traccar.Position;
-import org.traccar.DataManager;
-import static org.junit.Assert.*;
-
-public class Xexun2ProtocolDecoderTest {
-
- private class TestDataManager implements DataManager {
- public List getDevices() {
- return null;
- }
-
- public Device getDeviceByImei(String imei) {
- Device device = new Device();
- device.setId(new Long(1));
- device.setImei("10000000000000");
- return device;
- }
-
- public void setPosition(Position position) {
- }
- }
-
- @Test
- public void testDecode() throws Exception {
-
- Xexun2ProtocolDecoder decoder = new Xexun2ProtocolDecoder(new TestDataManager(), 0);
-
- assertNotNull(decoder.decode(null, null,
- "111111120009,+436763737552,GPRMC,120009.590,A,4639.6774,N,01418.5737,E,0.00,0.00,111111,,,A*68,F,, imei:359853000144328,04,481.2,F:4.15V,0,139,2689,232,03,2725,0576"));
-
- }
-
-}