aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-12-29 07:36:45 -0800
committerAnton Tananaev <anton@traccar.org>2023-12-29 07:36:45 -0800
commit0b3842c7df86f603853149746f65b41a085830c9 (patch)
tree490f972bc4bb2d89f12b7ce4d4befd21c48e3d44 /src/test/java
parenta9e0e6531abf5370713cb1846f869e9d77fafdff (diff)
downloadtrackermap-server-0b3842c7df86f603853149746f65b41a085830c9.tar.gz
trackermap-server-0b3842c7df86f603853149746f65b41a085830c9.tar.bz2
trackermap-server-0b3842c7df86f603853149746f65b41a085830c9.zip
Add GT300 test case
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/Gl100ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl100ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl100ProtocolDecoderTest.java
index d835f2f27..3701fa772 100644
--- a/src/test/java/org/traccar/protocol/Gl100ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl100ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class Gl100ProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new Gl100ProtocolDecoder(null));
verifyPosition(decoder, text(
+ "+RESP:GTRTL,359464032011616,1,0,0,0,0.1,0,1662.5,,36.822301,-1.309476,20230706032920,0639,0002,08DF,1F5E,00,095,0101050105,4470"));
+
+ verifyPosition(decoder, text(
"+RESP:GTLGL,359464030492644,1,2,1,0,0.4,0,299.7,1,5.455551,51.449776,20160311083229,0204,0016,03EC,BD94,00,0036,0102090501"));
verifyPosition(decoder, text(