diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-24 00:33:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-24 00:33:02 +1300 |
commit | debe7092f6d48abc51852b808f45144863baebde (patch) | |
tree | 44d2605815a8b36b43588e90bdcd8bc8c36c44fe /test/org | |
parent | 5741cd0fdbddb623f1807463d9a8d26cf5cc8f4d (diff) | |
download | trackermap-server-debe7092f6d48abc51852b808f45144863baebde.tar.gz trackermap-server-debe7092f6d48abc51852b808f45144863baebde.tar.bz2 trackermap-server-debe7092f6d48abc51852b808f45144863baebde.zip |
Add another GL200 decoder test case
Diffstat (limited to 'test/org')
-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 4e7686da7..11c069adb 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,2C0204,867162020003125,GL300W,0,0,2,1,1.7,205,2867.0,-78.481127,-0.206828,20160215210433,0740,0000,7596,5891C,0.0,1,1.7,205,2867.0,-78.481127,-0.206828,20160215210503,0740,0000,7596,5891C,0.0,88,20160215210506,1E78$")); + verifyPositions(decoder, text( "+RESP:GTFRI,060228,862894020178276,,15153,10,1,1,0.0,0,431.7,-63.169571,-17.776235,20160210153458,0736,0003,6AD4,80EF,00,34.9,00117:31:26,13442,15163,0,210101,,,,20160210113503,38EE$")); |