aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-15 10:26:39 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-15 10:26:39 +1200
commit6fd0757a88aa708a2179c9207b110692c2e39918 (patch)
treebcb4f9733e8d8379328fc2c4b603aa87a799e382
parentb5e5718ca139bac9debc2d0de7026478a8cb127a (diff)
downloadtrackermap-server-6fd0757a88aa708a2179c9207b110692c2e39918.tar.gz
trackermap-server-6fd0757a88aa708a2179c9207b110692c2e39918.tar.bz2
trackermap-server-6fd0757a88aa708a2179c9207b110692c2e39918.zip
Add new megastek unit test
-rw-r--r--test/org/traccar/protocol/MegastekProtocolDecoderTest.java3
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,