aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-06-17 07:02:46 -0700
committerAnton Tananaev <anton@traccar.org>2023-06-17 07:02:46 -0700
commit2d45e488f090d54d87319adc65147a3998f0d3c3 (patch)
tree23c9fbfeae803a1006219f6d9a7cb0f2ad06d68f /src/test/java/org/traccar
parent8ee2199cff0596790111e5ead43ec3da29a440dc (diff)
downloadtrackermap-server-2d45e488f090d54d87319adc65147a3998f0d3c3.tar.gz
trackermap-server-2d45e488f090d54d87319adc65147a3998f0d3c3.tar.bz2
trackermap-server-2d45e488f090d54d87319adc65147a3998f0d3c3.zip
Add GV500MAP test case
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index 4b0edfd81..a73127546 100644
--- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new Gl200TextProtocolDecoder(null));
+ verifyNull(decoder, buffer(
+ "+RESP:GTFRI,5E0100,862061048023666,,,12940,10,1,1,0.0,97,179.8,-90.366478,38.735379,20230616183231,0310,0410,6709,03ADF710,00,6223.7,,,,,110000,,,,202306161834$"));
+
verifyAttribute(decoder, buffer(
"+BUFF:GTERI,410502,864802030794634,,00000001,,10,1,1,0.0,0,3027.8,-78.706612,-0.955699,20230418170736,0740,0002,A08C,2AB72D,00,0.0,,,,100,110000,1,0099,20230418171004,8B98$"),
Position.KEY_FUEL_LEVEL, 153);