From c700bfdb66071ba224ddf01e9827e721562fed7a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 26 Jun 2018 02:44:36 +1200 Subject: Implement AutoTrack XL protocol --- .../traccar/protocol/AutoTrackProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java b/test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java new file mode 100644 index 000000000..ba919620b --- /dev/null +++ b/test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class AutoTrackProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + AutoTrackProtocolDecoder decoder = new AutoTrackProtocolDecoder(new AutoTrackProtocol()); + + verifyNull(decoder, binary( + "f1f1f1f1330c00201007090006de7200000000daa3")); + + } + +} -- cgit v1.2.3