diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-05 15:16:24 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-05 15:16:24 +1300 |
commit | d6e585d7a989799c31e09578ed20666c9a4054cf (patch) | |
tree | 40acf21487e40197b3051d131c1468785d2fc4c2 /test/org/traccar | |
parent | 1a86616ca2032fa0c3fee7446a6dc545f4f77451 (diff) | |
download | trackermap-server-d6e585d7a989799c31e09578ed20666c9a4054cf.tar.gz trackermap-server-d6e585d7a989799c31e09578ed20666c9a4054cf.tar.bz2 trackermap-server-d6e585d7a989799c31e09578ed20666c9a4054cf.zip |
Refactor STL060 protocol decoder
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/Stl060ProtocolDecoderTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java b/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java index f167f983a..3af99374d 100644 --- a/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java @@ -11,8 +11,9 @@ public class Stl060ProtocolDecoderTest extends ProtocolDecoderTest { Stl060ProtocolDecoder decoder = new Stl060ProtocolDecoder(new Stl060Protocol()); verifyPosition(decoder, text( - "$1,357804048043099,D001,AP29AW0963,23/02/14,14:06:54,17248488N,078342226E,0.08,193.12,1,1,1,1,1,A")); - + "$1,357804048043099,D001,AP29AW0963,23/02/14,14:06:54,17248488N,078342226E,0.08,193.12,1,1,1,1,1,A"), + position("2014-02-23 14:06:54.000", true, 17.41415, 78.57038)); + verifyPosition(decoder, text( "$1,357804048043099,D001,AP29AW0963,12/05/14,07:39:57,1724.8564N,07834.2199E,0.00,302.84,1,1,1,1,1,A")); |