From 1e88580b51646da83b17e9f2a794096607b1ab97 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 5 Jan 2017 08:34:25 +1300 Subject: Implement GT30 GTP protocol --- test/org/traccar/protocol/Gt30ProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/org/traccar/protocol/Gt30ProtocolDecoderTest.java (limited to 'test') diff --git a/test/org/traccar/protocol/Gt30ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt30ProtocolDecoderTest.java new file mode 100644 index 000000000..f33875ce1 --- /dev/null +++ b/test/org/traccar/protocol/Gt30ProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class Gt30ProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + Gt30ProtocolDecoder decoder = new Gt30ProtocolDecoder(new Gt30Protocol()); + + verifyPosition(decoder, text( + "$$005B3037811124 9955161049.000,A,3802.9474,N,02241.1897,E,0.00,,021115,,*15|2.9|5A639")); + + } + +} -- cgit v1.2.3