diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-15 10:26:39 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-15 10:26:39 +1200 |
commit | 6fd0757a88aa708a2179c9207b110692c2e39918 (patch) | |
tree | bcb4f9733e8d8379328fc2c4b603aa87a799e382 /test | |
parent | b5e5718ca139bac9debc2d0de7026478a8cb127a (diff) | |
download | traccar-server-6fd0757a88aa708a2179c9207b110692c2e39918.tar.gz traccar-server-6fd0757a88aa708a2179c9207b110692c2e39918.tar.bz2 traccar-server-6fd0757a88aa708a2179c9207b110692c2e39918.zip |
Add new megastek unit test
Diffstat (limited to 'test')
-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 21a2d46b4..d9911f922 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,861001005215757,$GPRMC,180118.000,A,4241.330116,N,2321.931251,E,0.00,182.19,130915,,E,A,F,Nil-Alarms,imei:861001005215757,8,577.0,Battery=38%,0,284,03,03E8,3139;7A")); + + 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, |