aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-09 08:28:36 +1000
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-09 08:28:36 +1000
commit9365b2309cbbf6d94f1fb24e7cbd9552757d39f7 (patch)
treece32c9564bb8e72a5718a378053f2a75815e4be2 /test/org/traccar/protocol
parent230107d2157de837a570783855a430f7e81b842f (diff)
downloadtraccar-server-9365b2309cbbf6d94f1fb24e7cbd9552757d39f7.tar.gz
traccar-server-9365b2309cbbf6d94f1fb24e7cbd9552757d39f7.tar.bz2
traccar-server-9365b2309cbbf6d94f1fb24e7cbd9552757d39f7.zip
Add new test case for GL200 protocol
Diffstat (limited to 'test/org/traccar/protocol')
-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 61d38f7d1..35c4be580 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol());
+ verifyNothing(decoder, text(
+ "+RESP:GTFRI,210102,A10000458356CE,,0,1,1,15,1.4,0,190.6,-85.765763,42.894896,20160208164505,4126,210,0,18673,00,92,20160208164507,00A6"));
+
verifyPosition(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"));