diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-16 09:07:45 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-16 09:07:45 +1200 |
commit | 0bde25b5551d1667d5f2c319f3dac71d257c0176 (patch) | |
tree | ba12f3fe67fca765c972861c0386e2d42db8eef4 /test | |
parent | c9aaeb052c47634825adb672e3d6316a903f97e9 (diff) | |
download | trackermap-server-0bde25b5551d1667d5f2c319f3dac71d257c0176.tar.gz trackermap-server-0bde25b5551d1667d5f2c319f3dac71d257c0176.tar.bz2 trackermap-server-0bde25b5551d1667d5f2c319f3dac71d257c0176.zip |
Add Xexun test cases
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java | 3 | ||||
-rw-r--r-- | test/org/traccar/protocol/XexunProtocolDecoderTest.java | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java b/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java index a4dcdc9f4..d5c5328d4 100644 --- a/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Xexun2ProtocolDecoderTest.java @@ -54,6 +54,9 @@ public class Xexun2ProtocolDecoderTest extends ProtocolDecoderTest { verify(decoder.decode(null, null, "150316182840,07872167745,GPRMC,182840.000,A,5126.1310,N,00055.5573,W,0.00,0.00,160315,,,A*7C,F,,imei:865328023469306,06,54.3,F:4.10V/ADC1=0.76V/ADC2=0.00V,0,157,38486,234,10,34DC,48A6,3.70km")); + verify(decoder.decode(null, null, + "150615123731,+33647384611,GPRMC,103731.636,A,4545.5266,N,00448.8259,E,21.12,276.01,150615,,,A*57,L,, imei:013949002026675,04,3522.9,F:3.72V,0,142,21744,208,01,0702,9C8C")); + } } diff --git a/test/org/traccar/protocol/XexunProtocolDecoderTest.java b/test/org/traccar/protocol/XexunProtocolDecoderTest.java index cf134d1a5..cf66928da 100644 --- a/test/org/traccar/protocol/XexunProtocolDecoderTest.java +++ b/test/org/traccar/protocol/XexunProtocolDecoderTest.java @@ -38,6 +38,9 @@ public class XexunProtocolDecoderTest extends ProtocolDecoderTest { verify(decoder.decode(null, null, "GPRMC,093341.000,A,1344.5716,N,10033.6648,E,0.00,0.00,240215,,,A*68,F,,imei:865328028306149,")); + verify(decoder.decode(null, null, + "GPRMC,103731.636,A,4545.5266,N,00448.8259,E,21.12,276.01,150615,,,A*57,L,, imei:013949002026675,")); + } } |