From ad55df29750fa9df1b37b9af34c2f744c4e0b4d4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 4 Nov 2015 17:13:45 +1300 Subject: Refactor Telik protocol decoder --- test/org/traccar/protocol/TelikProtocolDecoderTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/TelikProtocolDecoderTest.java b/test/org/traccar/protocol/TelikProtocolDecoderTest.java index 4344fe070..49ea41165 100644 --- a/test/org/traccar/protocol/TelikProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TelikProtocolDecoderTest.java @@ -13,9 +13,13 @@ public class TelikProtocolDecoderTest extends ProtocolDecoderTest { verifyNothing(decoder, text( "0026436729|232|01|003002030")); + verifyPosition(decoder, text( + "182043672999,010100001301,0,270613041652,166653,475341,3,0,355,6,2,1,231,8112432,23201,01,00,217,0,0,0,0,7"), + position("2013-06-27 04:16:52.000", true, 47.53410, 16.66530)); + verifyPosition(decoder, text( "182043672999,010100001301,0,270613041652,166653,475341,3,0,355,6,2,1,231,8112432,23201,01,00,217,0,0,0,0,7")); - + } } -- cgit v1.2.3