aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-07-04 17:57:20 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-07-04 17:57:20 -0700
commita50bc86cb8be51423ad1b473bcab99c8bb298b0b (patch)
treead5c9f0e66d04f563dbb87b463a2723c85027bfb /src/test/java/org
parentc5f05196d5d872c2e79845122037182d9e71b36c (diff)
downloadtraccar-server-a50bc86cb8be51423ad1b473bcab99c8bb298b0b.tar.gz
traccar-server-a50bc86cb8be51423ad1b473bcab99c8bb298b0b.tar.bz2
traccar-server-a50bc86cb8be51423ad1b473bcab99c8bb298b0b.zip
Support ALT report
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
index ac46b6356..304bc0fed 100644
--- a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -58,6 +58,9 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(null);
+ verifyPosition(decoder, text(
+ "ALT;0520000295;3FFFFF;52;1.0.2;0;20190703;01:03:24;00004697;732;101;0002;59;+4.682583;-74.128142;0.00;0.00;6;1;00000000;00000000;9;1;;4.1;12.92;103188"));
+
verifyAttribute(decoder, text(
"ST300UEX;109003241;08;1026;20190425;17:36:04;04402;+04.722553;-074.052583;000.020;000.00;10;1;0;12.04;010000;51;CabAVL\"CabMensaje,0,58.5,-1.0,,,FinMensaje\"FinAVL\r\n;B1;0000000000;4.1;1"),
"fuel1", 58.5);