diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-18 20:50:43 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-18 20:50:43 +1300 |
commit | cdc98904fef47f01a7311eca17eeae97dd5e4fac (patch) | |
tree | 62359894fa78b33361a8a70a9c2b45eaff11b7c6 /test/org/traccar/protocol | |
parent | 8161004d43dbd25ef78ea90c85ed20522008db05 (diff) | |
download | traccar-server-cdc98904fef47f01a7311eca17eeae97dd5e4fac.tar.gz traccar-server-cdc98904fef47f01a7311eca17eeae97dd5e4fac.tar.bz2 traccar-server-cdc98904fef47f01a7311eca17eeae97dd5e4fac.zip |
Fix avl08 protocol (fix #121)
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Avl08ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Avl08ProtocolDecoderTest.java b/test/org/traccar/protocol/Avl08ProtocolDecoderTest.java index 19a54b6e3..802b3f949 100644 --- a/test/org/traccar/protocol/Avl08ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Avl08ProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class Avl08ProtocolDecoderTest { Avl08ProtocolDecoder decoder = new Avl08ProtocolDecoder(null); decoder.setDataManager(new TestDataManager()); + assertNotNull(decoder.decode(null, null, + "$$B0456123|61$GPRMC,114725.00,A,1258.68276,N,07730.60237,E,0.410,,080113,,,A*79|1.44|0.66|1.27|000000000000|20130108114425|03600000|00000000|053C2BFE|0000|0.3325|0063|2005")); + assertNull(decoder.decode(null, null, "$$AE359772033395899|AA000000000000000000000000000000000000000000000000000000000000|00.0|00.0|00.0|000000000000|20090215000153|13601435|00000000|00000000|0000|0.0000|0007|2DAA")); |