From 1def68657a59e56d2b46a0dfab77a39beed36824 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 1 Nov 2015 17:45:51 +1300 Subject: Refactor TR20 protocol decoder --- test/org/traccar/protocol/Tr20ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/org') 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 @@ -12,6 +12,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|")); -- cgit v1.2.3