aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-11 15:33:57 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-11 15:33:57 +1300
commit8a449b2b2f8a1c250543ad5c6134dedf302c75c5 (patch)
tree9c9644369acb0b2bd22288497c6849a48decef2c /test
parentd940a84da87bcf4c164344fa7018cbf96ca1a920 (diff)
downloadtrackermap-server-8a449b2b2f8a1c250543ad5c6134dedf302c75c5.tar.gz
trackermap-server-8a449b2b2f8a1c250543ad5c6134dedf302c75c5.tar.bz2
trackermap-server-8a449b2b2f8a1c250543ad5c6134dedf302c75c5.zip
Add more GL200 unit test cases
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index b0e094c9d..bf7e3f175 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol());
verifyPositions(decoder, text(
+ "+RESP:GTFRI,060228,862894020180553,,,10,1,1,20.0,147,329.7,-62.899703,-17.720434,20160309113548,0736,0003,6AAE,3381,00,913.3,,,,0,220101,,,,20160309073554,132B$"));
+
+ verifyPositions(decoder, text(
"+BUFF:GTFRI,060402,862894021808798,,,10,1,1,0.0,349,394.3,-63.287717,-17.662410,20160116234031,0736,0003,6ABA,8305,00,3326.8,,,,94,220100,,,,20160116194035,4D83"));
verifyPosition(decoder, text(