From 88e5b090d7a71255a29fe6ad2ae1525c1c0a03be Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 14 Nov 2021 16:28:57 -0800 Subject: Rename protocol to Techto Cruz --- .../traccar/protocol/CruzTechoProtocolDecoderTest.java | 18 ------------------ .../protocol/TechtoCruzProtocolDecoderTest.java | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 src/test/java/org/traccar/protocol/CruzTechoProtocolDecoderTest.java create mode 100644 src/test/java/org/traccar/protocol/TechtoCruzProtocolDecoderTest.java (limited to 'src/test/java/org/traccar') diff --git a/src/test/java/org/traccar/protocol/CruzTechoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CruzTechoProtocolDecoderTest.java deleted file mode 100644 index 3dfe9ef62..000000000 --- a/src/test/java/org/traccar/protocol/CruzTechoProtocolDecoderTest.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.traccar.protocol; - -import org.junit.Test; -import org.traccar.ProtocolTest; - -public class CruzTechoProtocolDecoderTest extends ProtocolTest { - - @Test - public void testDecode() throws Exception { - - var decoder = new CruzTechoProtocolDecoder(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")); - - } - -} 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")); + + } + +} -- cgit v1.2.3