aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-11 23:34:47 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-11 23:34:47 +1300
commit8e2cdf251d2c887beb2f9fa5a4fa22351e11f89a (patch)
tree6685cdc6d32418fbdffb6f6d82938f506b32d46e /test/org/traccar/protocol
parent0e07f39ae9ee9fc16eae732a8291de81792f0538 (diff)
downloadtrackermap-server-8e2cdf251d2c887beb2f9fa5a4fa22351e11f89a.tar.gz
trackermap-server-8e2cdf251d2c887beb2f9fa5a4fa22351e11f89a.tar.bz2
trackermap-server-8e2cdf251d2c887beb2f9fa5a4fa22351e11f89a.zip
Add new GL100 unit test case
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gl100ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java
index 1e4490f09..803d076b9 100644
--- a/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class Gl100ProtocolDecoderTest extends ProtocolTest {
Gl100ProtocolDecoder decoder = new Gl100ProtocolDecoder(new Gl100Protocol());
verifyPosition(decoder, text(
+ "+RESP:GTLGL,359464030492644,1,2,1,0,0.4,0,299.7,1,5.455551,51.449776,20160311083229,0204,0016,03EC,BD94,00,0036,0102090501"));
+
+ verifyPosition(decoder, text(
"+RESP:GTTRI,359464030439249,1,0,61,1,0.0,346,-2.7,2,-80.392825,26.122424,20151214000354,0310,0260,72BC,35F5,00,04B6,0102070407"));
verifyPosition(decoder, text(