diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-09 18:19:18 +1000 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-09 18:19:18 +1000 |
commit | 9353087547cb147be6a59c4454c78e1bc974bb6c (patch) | |
tree | aaf668f78e41c8230c647b894b979179146b2b02 | |
parent | 810d4f77a77a7a66f22d747ef849925848b758f9 (diff) | |
download | trackermap-server-9353087547cb147be6a59c4454c78e1bc974bb6c.tar.gz trackermap-server-9353087547cb147be6a59c4454c78e1bc974bb6c.tar.bz2 trackermap-server-9353087547cb147be6a59c4454c78e1bc974bb6c.zip |
Add another GL200 unit test case
-rw-r--r-- | test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index 35c4be580..b06715e29 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()); + verifyPosition(decoder, text( + "+RESP:GTFRI,110100,A5868800000015,,0,0,1,1,4.3,92,70.0,121.354335,31.222073,20110214013254,0460,0000,18d8,6141,00,80,20110214013254,000C")); + 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")); |