aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-13 22:26:47 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-13 22:26:47 +1300
commit48f57acd31fc5b0ae3b9de85e72c58c7186f5475 (patch)
treec284dd6f9bbee036051bd0f347d5e0df7daf28b2 /test/org/traccar
parent6611056f9fdf7c97e6e9e5429b21aba65f6c3561 (diff)
downloadtraccar-server-48f57acd31fc5b0ae3b9de85e72c58c7186f5475.tar.gz
traccar-server-48f57acd31fc5b0ae3b9de85e72c58c7186f5475.tar.bz2
traccar-server-48f57acd31fc5b0ae3b9de85e72c58c7186f5475.zip
Make OpenGTS course optional (fix #4101)
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/OpenGtsProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/OpenGtsProtocolDecoderTest.java b/test/org/traccar/protocol/OpenGtsProtocolDecoderTest.java
index 5942f38d0..cc7d5b684 100644
--- a/test/org/traccar/protocol/OpenGtsProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/OpenGtsProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class OpenGtsProtocolDecoderTest extends ProtocolTest {
OpenGtsProtocolDecoder decoder = new OpenGtsProtocolDecoder(new OpenGtsProtocol());
verifyPosition(decoder, request(
+ "/?id=999000000000003&gprmc=$GPRMC,082202.0,A,5006.747329,N,01416.512315,E,0.0,,131018,1.2,E,A*2E"));
+
+ verifyPosition(decoder, request(
"/?id=gprmc_999000000000003&gprmc=$GPRMC,143013.0,A,5006.728217,N,01416.437869,E,0.0,329.6,281017,1.2,E,A*0E"));
verifyPosition(decoder, request(