aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-11 09:23:30 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-11 09:23:30 +1300
commitd2c182e802504d94391fd932bbdae76dc33aaf49 (patch)
treed35245b1d97a854a1639ed85631f16df01beafba /test/org/traccar/protocol
parente4981d8e06f730a145ceaa4aa874533591ed0695 (diff)
downloadtrackermap-server-d2c182e802504d94391fd932bbdae76dc33aaf49.tar.gz
trackermap-server-d2c182e802504d94391fd932bbdae76dc33aaf49.tar.bz2
trackermap-server-d2c182e802504d94391fd932bbdae76dc33aaf49.zip
Add GL200 more unit tests
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index a8c0816ed..5ee7919a9 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -86,6 +86,12 @@ public class Gl200ProtocolDecoderTest {
verify(decoder.decode(null, null,
"+BUFF:GTFRI,210101,863286020016706,,,10,1,1,,,,49.903915,40.391669,20140818105815,,,,,,,,,,,210100,,,,,000C$"));
+
+ verify(decoder.decode(null, null,
+ "+RESP:GTFRI,240100,135790246811220,,,10,1,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,00,2000.0,12345:12:34,,80,,,,,,20090214093254,11F0$"));
+
+ verify(decoder.decode(null, null,
+ "+RESP:GTFRI,240100,135790246811220,,,10,2,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,00,0,4.3,92,70.0,121.354335,31.222073,20090101000000,0460,0000,18d8,6141,00,2000.0,12345:12:34,,,80,,,,,,20090214093254,11F0$"));
}