aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-16 09:47:23 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-16 09:47:23 +1200
commit2f0687aee12999697596c9b028e6d2736d8df6b7 (patch)
treefba5cdd8772d58edc2a73fe58ea11e4a93cc18e6 /test/org
parent6a827ed071b0ff48264758632afc4965f0c46150 (diff)
downloadtraccar-server-2f0687aee12999697596c9b028e6d2736d8df6b7.tar.gz
traccar-server-2f0687aee12999697596c9b028e6d2736d8df6b7.tar.bz2
traccar-server-2f0687aee12999697596c9b028e6d2736d8df6b7.zip
Support zero delimiter for GpsGate
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/GpsGateProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
index 788830e52..30861099f 100644
--- a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class GpsGateProtocolDecoderTest extends ProtocolTest {
GpsGateProtocolDecoder decoder = new GpsGateProtocolDecoder(new GpsGateProtocol());
+ verifyPosition(decoder, text(
+ "$FRCMD,353067011068246,_SendMessage,,1918.1942,N,09906.3696,W,2246.5,000.0,295.9,150416,213147.00,1,Odometer=*70"));
+
verifyNothing(decoder, text(
"$FRCMD,862950025974620,_Ping,voltage=4*4F"));