aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-12-08 15:34:19 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-12-08 15:34:19 +1300
commitd6a470c9bbc4cc6fea8d7b20ff34fbcb463fa2a5 (patch)
tree1ac25badeb9c1b2023827346d00b5d9debbc9014
parent617c2fd4ae57517ec1a40c7b340c45e1ff54f01b (diff)
downloadtraccar-server-d6a470c9bbc4cc6fea8d7b20ff34fbcb463fa2a5.tar.gz
traccar-server-d6a470c9bbc4cc6fea8d7b20ff34fbcb463fa2a5.tar.bz2
traccar-server-d6a470c9bbc4cc6fea8d7b20ff34fbcb463fa2a5.zip
Add meitrack unit test
-rw-r--r--test/org/traccar/protocol/MeitrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
index 2ba89fae0..2fe87e160 100644
--- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
@@ -19,6 +19,9 @@ public class MeitrackProtocolDecoderTest {
assertNotNull(decoder.decode(null, null,
"$$j138,012896000475498,AAA,35,-6.138306,106.910655,121205103708,A,3,11,0,0,1,36,4182,35025,510|10|0081|4F4F,0000,000A|000C|000A|0915|0000,,*BF"));
+ assertNotNull(decoder.decode(null, null,
+ "$$m139,012896005334567,AAA,35,-33.866423,151.190060,121208020649,A,7,27,0,32,4,13,6150,49517,505|2|0B67|5A6C,0000,0000|0000|0000|0977|0000,,*F1"));
+
}
}