diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-25 13:00:04 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-25 13:00:04 +0400 |
commit | 63e06bc37060861aabebf93723fc20318152f957 (patch) | |
tree | 04afc73d39a91bfb6f29e79b74b26697917075c4 /test/org/traccar/protocol | |
parent | 00bd9f44c4e5cbfa427056ed6d6003cca6637649 (diff) | |
download | trackermap-server-63e06bc37060861aabebf93723fc20318152f957.tar.gz trackermap-server-63e06bc37060861aabebf93723fc20318152f957.tar.bz2 trackermap-server-63e06bc37060861aabebf93723fc20318152f957.zip |
Add TLT2H test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java index b9a41314a..2f7f41724 100644 --- a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java @@ -10,6 +10,10 @@ public class Tlt2hProtocolDecoderTest extends ProtocolTest { Tlt2hProtocolDecoder decoder = new Tlt2hProtocolDecoder(null); + verifyNull(decoder, text( + "#867962040161955#MT600#0000#0#0#137#41#0#AUTO#1\r\n" + + "#00019023402$GPRMC,084702.00,A,3228.6772,S,11545.9684,E,,159.80,251018,,,A*56\r\n")); + verifyPositions(decoder, text( "#868323028789359#MT600#0000#AUTOLOW#1\r\n", "#07d8cd5198$GPRMC,164934.00,A,1814.4854,N,09926.0566,E,0.03,,240417,,,A*4A\r\n")); |