From 63e06bc37060861aabebf93723fc20318152f957 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 25 Oct 2018 13:00:04 +0400 Subject: Add TLT2H test case --- test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) 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")); -- cgit v1.2.3