diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-24 09:40:01 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-24 09:40:01 +1200 |
commit | d2163edd62feddf812e99e1ce918e7567eba95c8 (patch) | |
tree | d10e37dc2f9e0aadeb80612ad85ad9bcd505b641 /test/org/traccar/protocol/MegastekProtocolDecoderTest.java | |
parent | 4757c4c9f6bf780ecedbbcb0312712a617070226 (diff) | |
download | trackermap-server-d2163edd62feddf812e99e1ce918e7567eba95c8.tar.gz trackermap-server-d2163edd62feddf812e99e1ce918e7567eba95c8.tar.bz2 trackermap-server-d2163edd62feddf812e99e1ce918e7567eba95c8.zip |
Extend Megastek decoder class
Diffstat (limited to 'test/org/traccar/protocol/MegastekProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/MegastekProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java index a9b7c4f0a..21a2d46b4 100644 --- a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class MegastekProtocolDecoderTest extends ProtocolDecoderTest { MegastekProtocolDecoder decoder = new MegastekProtocolDecoder(new MegastekProtocol()); verify(decoder.decode(null, null, + "STX,865067020439090,$GPRMC,171013.000,A,5919.1411,N,01804.1681,E,0.000,294.41,140815,,,A")); + + verify(decoder.decode(null, null, "$MGV002,013777007536434,,R,010114,000057,V,0000.0000,N,00000.0000,E,00,00,00,99.9,0.000,0.00,0.0,80.263,510,89,2342,030B,,0000,0000,200,96,0, , ,,,,Timer;!")); verify(decoder.decode(null, null, |