diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-28 15:35:55 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-28 15:35:55 +1300 |
commit | 1b31eda6bfa623dd866de5139b001caca8d69e54 (patch) | |
tree | 9ef25214df2eae4a7e97eefe864a37980016c029 /test/org/traccar/protocol/YwtProtocolDecoderTest.java | |
parent | e60132dc040d2af3a5ad4f7ea8ee2e5fab7675ee (diff) | |
download | trackermap-server-1b31eda6bfa623dd866de5139b001caca8d69e54.tar.gz trackermap-server-1b31eda6bfa623dd866de5139b001caca8d69e54.tar.bz2 trackermap-server-1b31eda6bfa623dd866de5139b001caca8d69e54.zip |
Refactor YWT protocol decoder
Diffstat (limited to 'test/org/traccar/protocol/YwtProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/YwtProtocolDecoderTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/YwtProtocolDecoderTest.java b/test/org/traccar/protocol/YwtProtocolDecoderTest.java index 6e7edde97..dbad1f022 100644 --- a/test/org/traccar/protocol/YwtProtocolDecoderTest.java +++ b/test/org/traccar/protocol/YwtProtocolDecoderTest.java @@ -17,7 +17,8 @@ public class YwtProtocolDecoderTest extends ProtocolDecoderTest { "%GP,3000012345:0,090723182813,E114.602345,N22.069725,,30,160,4,0,00,,2794-10FF-46000,3>0-0")); verifyPosition(decoder, text( - "%RP,3000012345:0,090807182815,E114.602345,N22.069725,,30,160,4,0,00")); + "%RP,3000012345:0,090807182815,E114.602345,N22.069725,,30,160,4,0,00"), + position("2009-08-07 18:28:15.000", true, 22.06973, 114.60235)); verifyPosition(decoder, text( "%KP,3000012345:0,090807183115,E114.602345,N22.069725,,30,160,5,0,00;")); |