aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/TechtoCruzProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-14 16:28:57 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-14 16:28:57 -0800
commit88e5b090d7a71255a29fe6ad2ae1525c1c0a03be (patch)
tree60e4386c4284ff52643874ae6b77e21324dcc97a /src/test/java/org/traccar/protocol/TechtoCruzProtocolDecoderTest.java
parent7ce7c73a2461ac3b2dde98398a4458e86cfa89bf (diff)
downloadtrackermap-server-88e5b090d7a71255a29fe6ad2ae1525c1c0a03be.tar.gz
trackermap-server-88e5b090d7a71255a29fe6ad2ae1525c1c0a03be.tar.bz2
trackermap-server-88e5b090d7a71255a29fe6ad2ae1525c1c0a03be.zip
Rename protocol to Techto Cruz
Diffstat (limited to 'src/test/java/org/traccar/protocol/TechtoCruzProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/TechtoCruzProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TechtoCruzProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TechtoCruzProtocolDecoderTest.java
new file mode 100644
index 000000000..8f4a7915d
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/TechtoCruzProtocolDecoderTest.java
@@ -0,0 +1,18 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class TechtoCruzProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ var decoder = new TechtoCruzProtocolDecoder(null);
+
+ verifyPosition(decoder, text(
+ "$$A120,8612345678910,211005105836,A,FLEX,KCB 947C,000.0,0,-1.38047,S,36.93951,E,1648.4,243.140,21,28,12.1,3.7,0,1,0,0,0,*F6"));
+
+ }
+
+}