diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-04-09 16:21:40 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-04-09 16:21:40 +1200 |
commit | 50009502e2a47bafafede983656f40f99745665a (patch) | |
tree | 6ce3f4fd780306db9b5ca9706d06042cd7fd3886 /test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | |
parent | 23c3c2da240e5c44c3d5a04e0714f6f02fa9777e (diff) | |
download | trackermap-server-50009502e2a47bafafede983656f40f99745665a.tar.gz trackermap-server-50009502e2a47bafafede983656f40f99745665a.tar.bz2 trackermap-server-50009502e2a47bafafede983656f40f99745665a.zip |
Improve GPS103 low message decoding
Diffstat (limited to 'test/org/traccar/protocol/Gps103ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java index 668070e1a..17ed8da56 100644 --- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest { Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol()); + verifyNotNull(decoder, text( + "imei:864895030279986,ac alarm,180404174252,,L,,,296a,,51f7,,,")); + verifyAttributes(decoder, text( "imei:359710048977327,OBD,180301094003,5000000,0.00,0.00,98,18,68.63%,55,25.10%,1368,14.24,,,,;")); |