From d6a470c9bbc4cc6fea8d7b20ff34fbcb463fa2a5 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 8 Dec 2012 15:34:19 +1300 Subject: Add meitrack unit test --- test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') 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")); + } } -- cgit v1.2.3