From 9b90538fc856041e14c12dd4fabbb108cd7858df Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 26 Oct 2020 23:37:13 -0700 Subject: Implement Net device protocol --- .../org/traccar/protocol/NetProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/test/java/org/traccar/protocol/NetProtocolDecoderTest.java (limited to 'src/test/java/org') diff --git a/src/test/java/org/traccar/protocol/NetProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NetProtocolDecoderTest.java new file mode 100644 index 000000000..6b8754373 --- /dev/null +++ b/src/test/java/org/traccar/protocol/NetProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class NetProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + NetProtocolDecoder decoder = new NetProtocolDecoder(null); + + verifyPosition(decoder, text( + "@L0368609060401776171223102005072803703296103721462100008009000000300B12B000")); + + } + +} -- cgit v1.2.3