aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-07-31 01:26:27 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-07-31 10:27:21 +1200
commit36d06c790494d35951a416643b9e8aa8853f573e (patch)
tree5bf718cb584e2e343abd556b8ed44bd6e5ec78c2 /test/org
parent6135c6230bbbb27228029c46fa61fcdb9b274efc (diff)
downloadtrackermap-server-36d06c790494d35951a416643b9e8aa8853f573e.tar.gz
trackermap-server-36d06c790494d35951a416643b9e8aa8853f573e.tar.bz2
trackermap-server-36d06c790494d35951a416643b9e8aa8853f573e.zip
Adjust Alematics regex pattern
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/AlematicsProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AlematicsProtocolDecoderTest.java b/test/org/traccar/protocol/AlematicsProtocolDecoderTest.java
index 448a48101..094e5b56e 100644
--- a/test/org/traccar/protocol/AlematicsProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AlematicsProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class AlematicsProtocolDecoderTest extends ProtocolTest {
AlematicsProtocolDecoder decoder = new AlematicsProtocolDecoder(new AlematicsProtocol());
verifyPosition(decoder, text(
+ "$T,2,64,866050035975497,20180726103446,20180726103514,23.033305,72.558032,0,0,41,5.4,4,0,0,0.000,12.960,0,"));
+
+ verifyPosition(decoder, text(
+ "$T,2,65,866050035975497,20180726103646,20180726103736,23.033305,72.558032,0,0,41,5.4,4,0,0,0.000,12.976,0,0"));
+
+ verifyPosition(decoder, text(
"$T,2,552,868259020159698,20170515060949,20170515060949,25.035277,121.561986,0,202,78,1.0,8,1,0,0.000,12.768,1629,38,12770,4109,9"));
verifyPosition(decoder, text(