diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-12-17 22:26:23 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-12-17 22:26:31 -0800 |
commit | 42e836fc36831ad0dae900e1bd9c6fed4ef59912 (patch) | |
tree | 58ea7ec8ad48cdd9bd7ee7bc23a02370358bf04d /test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java | |
parent | 37f4de0072897189ac52bebe3defe2c7471979ed (diff) | |
download | trackermap-server-42e836fc36831ad0dae900e1bd9c6fed4ef59912.tar.gz trackermap-server-42e836fc36831ad0dae900e1bd9c6fed4ef59912.tar.bz2 trackermap-server-42e836fc36831ad0dae900e1bd9c6fed4ef59912.zip |
Add GL300 test case
Diffstat (limited to 'test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java index f6264b7e3..d68479097 100644 --- a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest { Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(null); + verifyPositions(decoder, buffer( + "+RESP:GTFRI,1A0900,860599000306845,G3-313,0,0,4,1,2.1,0,426.7,8.611466,47.681639,20181214134603,0228,0001,077F,4812,25.2,1,5.7,34,437.3,8.611600,47.681846,20181214134619,0228,0001,077F,4812,25.2,1,4.4,62,438.2,8.611893,47.681983,20181214134633,0228,0001,077F,4812,25.2,1,4.8,78,436.6,8.612236,47.682040,20181214134648,0228,0001,077F,4812,25.2,83,20181214134702,0654$")); + verifyPosition(decoder, buffer( "+RESP:GTCAN,270703,867162025056839,gv300w,0,1,E07FFFFF,,2,H9307659,368713.50,1291,90,91,,P82.40,,61,10.10,6.76,3.34,524.08,,,0000,,00,,,007FFFFF,,,,,,,,,,,,,,,,,,,,,0000,2,0,,,0,88.6,104,117.6,-116.886007,32.543697,20181031202959,0334,0020,5234,7FCC3D0,00,20181031203002,9F50$")); |