diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-21 02:42:22 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-21 02:42:22 +1300 |
commit | f3f388bf77d9e96dfe89bb3aa3679300af9d3b55 (patch) | |
tree | 20f452e5d681b7128f8fd395a1f997378aa52283 /test/org/traccar | |
parent | 07c7d5c08583734ae70c5c9e6cec3332726b4200 (diff) | |
download | trackermap-server-f3f388bf77d9e96dfe89bb3aa3679300af9d3b55.tar.gz trackermap-server-f3f388bf77d9e96dfe89bb3aa3679300af9d3b55.tar.bz2 trackermap-server-f3f388bf77d9e96dfe89bb3aa3679300af9d3b55.zip |
Add GL200 unit test cases
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index a09e11449..e699bcae2 100644 --- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java @@ -11,6 +11,12 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest { Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol()); verifyAttributes(decoder, text( + "+RESP:GTFRI,210102,354524044925825,,1,1,1,29,2.8,0,133.7,-90.203063,32.265473,20170318005208,,,,,10800,4,20170318005208,0002$")); + + verifyAttributes(decoder, text( + "+RESP:GTFRI,210102,354524044925825,,1,1,1,,,,,,,,310,410,51bc,ca1dae6,10800,1,20170318214333,0002$")); + + verifyAttributes(decoder, text( "+RESP:GTGSM,400201,862365030025161,STR,0234,0015,003a,62a2,16,,0234,0015,003a,56a2,14,,0234,0015,003a,062a,13,,0234,0015,003a,32d9,11,,0234,0015,003a,56a0,11,,,,,,,,0234,0015,003a,7489,17,,20170219200048,0033$")); verifyAttributes(decoder, text( |