diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-05 14:23:43 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-05 14:23:43 +1300 |
commit | 111ea9bbec5516c36939df8eec4f7ba3edb268bf (patch) | |
tree | 7e0dc71cbcfef82af7f41e406a0cf862ecbc648e /test | |
parent | e9aa53180dac2dd4a0ed585791959018804c4815 (diff) | |
download | trackermap-server-111ea9bbec5516c36939df8eec4f7ba3edb268bf.tar.gz trackermap-server-111ea9bbec5516c36939df8eec4f7ba3edb268bf.tar.bz2 trackermap-server-111ea9bbec5516c36939df8eec4f7ba3edb268bf.zip |
Refacor Gotop protocol decoder
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/GotopProtocolDecoderTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/GotopProtocolDecoderTest.java b/test/org/traccar/protocol/GotopProtocolDecoderTest.java index 21c32d86e..abc967076 100644 --- a/test/org/traccar/protocol/GotopProtocolDecoderTest.java +++ b/test/org/traccar/protocol/GotopProtocolDecoderTest.java @@ -20,8 +20,9 @@ public class GotopProtocolDecoderTest extends ProtocolDecoderTest { "013226009991924,CMD-T,A,DATE:130802,TIME:153721,LAT:25.9757433S,LOT:028.1087816E,Speed:000.0,X-X-X-X-81-26,000,65501-00A0-4B8E")); verifyPosition(decoder, text( - "353327020115804,CMD-T,A,DATE:090329,TIME:223252,LAT:22.7634066N,LOT:114.3964783E,Speed:000.0,84-20,000")); - + "353327020115804,CMD-T,A,DATE:090329,TIME:223252,LAT:22.7634066N,LOT:114.3964783E,Speed:000.0,84-20,000"), + position("2009-03-29 22:32:52.000", true, 22.76341, 114.39648)); + verifyPosition(decoder, text( "353327020115804,CMD-T,A,DATE:090329,TIME:223252,LAT:22.7634066N,LOT:114.3964783E,Speed:000.0,1-1-0-84-20,000")); |