From 184f9bb3ffa4015836ca6c67552771a4a901c15e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 20 Apr 2018 15:44:50 +1200 Subject: Decode additional P60 parameters --- test/org/traccar/protocol/Pt60ProtocolDecoderTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java b/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java index 08fe7658e..69d77fe66 100644 --- a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class Pt60ProtocolDecoderTest extends ProtocolTest { Pt60ProtocolDecoder decoder = new Pt60ProtocolDecoder(new Pt60Protocol()); + verifyAttributes(decoder, text( + "@G#@,V01,14,357653051059785,9404223001501310,20180419165604,101,26,")); + + verifyAttributes(decoder, text( + "@G#@,V01,13,357653051059785,9404223001501310,20180419112656,1180,")); + verifyPosition(decoder, text( "@G#@,V01,6,111112222233333,8888888888888888,20150312010203,23.2014050;104.235212,")); -- cgit v1.2.3