diff options
Diffstat (limited to 'test/org/traccar/protocol/VtfmsProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/VtfmsProtocolDecoderTest.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java b/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java deleted file mode 100644 index ede5dc7ac..000000000 --- a/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.traccar.protocol; - -import org.junit.Test; -import org.traccar.ProtocolTest; - -public class VtfmsProtocolDecoderTest extends ProtocolTest { - - @Test - public void testDecode() throws Exception { - - VtfmsProtocolDecoder decoder = new VtfmsProtocolDecoder(null); - - verifyPosition(decoder, text( - "(861359037432331,0EF87,00,0,21,2,01,,A,154559,230119,1101.4046,07656.3859,241,000,00078,00000,K,0000812,1,12.7,,,,,,1,0,0,0,1,1,1,+919566531111*+919994462226,)054"), - position("2019-01-23 15:45:59.000", true, 11.02341, 76.93977)); - - verifyPosition(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")); - - } - -} |