diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-28 14:20:10 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-28 14:20:10 +1300 |
commit | 3971b656af48b25a54ab9d486773dd9e6739e0ac (patch) | |
tree | f11c8003f2df2162db346e035716991da12ddf71 /test/org/traccar/protocol | |
parent | 997ea52de4da2ac0ebbd332982dba70cba30a069 (diff) | |
download | trackermap-server-3971b656af48b25a54ab9d486773dd9e6739e0ac.tar.gz trackermap-server-3971b656af48b25a54ab9d486773dd9e6739e0ac.tar.bz2 trackermap-server-3971b656af48b25a54ab9d486773dd9e6739e0ac.zip |
Refactor Freedom protocol decoder
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/FreedomProtocolDecoderTest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/FreedomProtocolDecoderTest.java b/test/org/traccar/protocol/FreedomProtocolDecoderTest.java index 521fe20ab..fe86da082 100644 --- a/test/org/traccar/protocol/FreedomProtocolDecoderTest.java +++ b/test/org/traccar/protocol/FreedomProtocolDecoderTest.java @@ -11,8 +11,12 @@ public class FreedomProtocolDecoderTest extends ProtocolDecoderTest { FreedomProtocolDecoder decoder = new FreedomProtocolDecoder(new FreedomProtocol()); verifyPosition(decoder, text( + "IMEI,353358011714362,2014/05/22, 20:49:32, N, Lat:4725.9624, E, Lon:01912.5483, Spd:5.05"), + position("2014-05-22 20:49:32.000", true, 47.43271, 19.20914)); + + verifyPosition(decoder, text( "IMEI,353358011714362,2014/05/22, 20:49:32, N, Lat:4725.9624, E, Lon:01912.5483, Spd:5.05")); - + } } |