From 4accabd85265ba990411b9979e74591561db0eac Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 25 Nov 2020 21:51:48 -0800 Subject: Implement SWIFTECH protocol --- .../traccar/protocol/SwiftechProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java (limited to 'src/test/java/org/traccar') diff --git a/src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java new file mode 100644 index 000000000..e8ee64518 --- /dev/null +++ b/src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class SwiftechProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + SwiftechProtocolDecoder decoder = new SwiftechProtocolDecoder(null); + + verifyPosition(decoder, text( + "@@864502036102531,,,070739,1100.7798,N,07657.7126,E,0.43,210813,A,1100,1,0,02700,05800,")); + + } + +} -- cgit v1.2.3