aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-16 16:44:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-16 16:44:28 +1200
commit6c440653acb5d4e5bda06b35b90dda3d0a9df048 (patch)
treed4c7955a11b9de89a69c29e5c47a9654160dae4a /test
parent4289c06d73eb5d07c58990386ebca9180e0e7527 (diff)
downloadtrackermap-server-6c440653acb5d4e5bda06b35b90dda3d0a9df048.tar.gz
trackermap-server-6c440653acb5d4e5bda06b35b90dda3d0a9df048.tar.bz2
trackermap-server-6c440653acb5d4e5bda06b35b90dda3d0a9df048.zip
Add GPS103 protocol unit test case
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index aecbe2ef1..eb71b3034 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol());
verifyAttributes(decoder, text(
+ "imei:359710049042014,001,160615040011,,F,040011.000,A,2833.0957,N,07711.9465,E,0.01,215.33,,0,,,,;"));
+
+ verifyAttributes(decoder, text(
"imei:359710049028435,OBD,160316053657,70430,,,0,49,60.00%,46,19.22%,859,0.00,U1108,,,;"));
verifyPosition(decoder, text(