aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-25 21:51:48 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-25 21:51:48 -0800
commit4accabd85265ba990411b9979e74591561db0eac (patch)
treeb589ee16375571f2209ba8300b163511f5673783 /src/test/java/org
parent2ed7fb6e8f04c8fcee0e600446deaeda6cd4a86f (diff)
downloadtraccar-server-4accabd85265ba990411b9979e74591561db0eac.tar.gz
traccar-server-4accabd85265ba990411b9979e74591561db0eac.tar.bz2
traccar-server-4accabd85265ba990411b9979e74591561db0eac.zip
Implement SWIFTECH protocol
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/SwiftechProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
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,"));
+
+ }
+
+}