diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-01 17:45:51 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-01 17:45:51 +1300 |
commit | 1def68657a59e56d2b46a0dfab77a39beed36824 (patch) | |
tree | 515dcd55160a5233696bc874e82bced9292ba259 /test/org/traccar/protocol/Tr20ProtocolDecoderTest.java | |
parent | 671dbc55419dd20ba16951529b28fa90a59b189a (diff) | |
download | trackermap-server-1def68657a59e56d2b46a0dfab77a39beed36824.tar.gz trackermap-server-1def68657a59e56d2b46a0dfab77a39beed36824.tar.bz2 trackermap-server-1def68657a59e56d2b46a0dfab77a39beed36824.zip |
Refactor TR20 protocol decoder
Diffstat (limited to 'test/org/traccar/protocol/Tr20ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Tr20ProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java index 2bf504176..ccf1bb2fd 100644 --- a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java @@ -13,6 +13,10 @@ public class Tr20ProtocolDecoderTest extends ProtocolDecoderTest { verifyNothing(decoder, text( "%%TRACKPRO01,1")); verifyPosition(decoder, text( + "%%TR-10,A,050916070549,N2240.8887E11359.2994,0,000,NA,D3800000,150,CFG:resend|"), + position("2005-09-16 07:05:49.000", true, 22.68148, 113.98832)); + + verifyPosition(decoder, text( "%%TR-10,A,050916070549,N2240.8887E11359.2994,0,000,NA,D3800000,150,CFG:resend|")); } |