aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-26 09:59:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-26 09:59:55 +1200
commitb7f1df549d57582c18b44f74a8af9739b29af040 (patch)
treeb43f088625b1fd3f720f938500216bd39f5aee1c /test/org/traccar
parent8a5afddcf7c4d9624045d8d5e8e323675dbe3a40 (diff)
downloadtrackermap-server-b7f1df549d57582c18b44f74a8af9739b29af040.tar.gz
trackermap-server-b7f1df549d57582c18b44f74a8af9739b29af040.tar.bz2
trackermap-server-b7f1df549d57582c18b44f74a8af9739b29af040.zip
Improve GL200 regex pattern
Diffstat (limited to 'test/org/traccar')
-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 bbb0fb37a..96be1c5a2 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class Gl200ProtocolDecoderTest extends ProtocolDecoderTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(null);
verify(decoder.decode(null, null, null,
+ "+RESP:GTSTT,1A0401,860599000508846,,41,0,0.0,84,107.5,-76.657998,39.497203,20150623160622,0310,0260,B435,3B81,,20150623160622,0F54$"));
+
+ verify(decoder.decode(null, null, null,
"+RESP:GTFRI,1A0401,860599000508846,,0,0,1,1,134.8,154,278.7,-76.671089,39.778885,20150623154301,0310,0260,043F,7761,,99,20150623154314,0F24$"));
verify(decoder.decode(null, null, null,