diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-21 21:10:26 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-21 21:10:26 +1200 |
commit | 2f6967e7e53b70bfb0f8e20df2b6b351b8b817cb (patch) | |
tree | 0f45e3b5576a7d375b08856fe0bc056cfc27c1da /test/org/traccar | |
parent | 67c2a69c1ea041f5f42f863396cad0927be9d82b (diff) | |
download | traccar-server-2f6967e7e53b70bfb0f8e20df2b6b351b8b817cb.tar.gz traccar-server-2f6967e7e53b70bfb0f8e20df2b6b351b8b817cb.tar.bz2 traccar-server-2f6967e7e53b70bfb0f8e20df2b6b351b8b817cb.zip |
Add VTFMS protocol test case
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/VtfmsProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java b/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java index a08bfb926..c2d01aded 100644 --- a/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java +++ b/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class VtfmsProtocolDecoderTest extends ProtocolTest { VtfmsProtocolDecoder decoder = new VtfmsProtocolDecoder(new VtfmsProtocol()); + verifyNull(decoder, text( + "(865733028143493,00I76,00,000,,,,,A,133755,210617,10.57354,077.24912,SW,000,00598,00000,K,0017368,1,12.7,,,0.000,,,0,0,0,0,1,1,0,,)074")); + verifyPosition(decoder, text( "(863071010087648,0HK44,00,000,14,2,9,,A,114946,180313,11.0244,076.9768,282,000,00000,00000,K,0000128,1,12.8,,200,2.501,,4.001,0,0,0,0,0,0,0,,)105")); |