aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-30 02:36:07 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-30 02:36:07 +1200
commit2cf20c46afe59f6e98e629a6c88e74d7ab60b122 (patch)
tree0d16264989c2f630eab52369604c512095f0c311 /test
parent4d6f4917dbc8f9fdb4ea95c97f84b428fb9cc8ae (diff)
downloadtraccar-server-2cf20c46afe59f6e98e629a6c88e74d7ab60b122.tar.gz
traccar-server-2cf20c46afe59f6e98e629a6c88e74d7ab60b122.tar.bz2
traccar-server-2cf20c46afe59f6e98e629a6c88e74d7ab60b122.zip
Add Meitrack protocol test
Diffstat (limited to '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 6b711d44a..d50cae8bc 100644
--- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MeitrackProtocolDecoderTest extends ProtocolTest {
MeitrackProtocolDecoder decoder = new MeitrackProtocolDecoder(new MeitrackProtocol());
+ verifyNotNull(decoder, buffer(
+ "$$F153,863835026880190,AAA,29,25.313160,55.422473,170628150902,V,0,0,0,0,0.0,0,6553,6697,0|0|0000|00000000,0000,0002|0000|0000|018B|0000,,,3,0000,,110,386*22"));
+
verifyPosition(decoder, buffer(
"$$T143,869013024733944,AAA,1,18.459575,-69.947161,170220142912,A,5,15,10,300,1.6,115,3989,187884,370|2|5337|2B2C,0100,0000|0000|0000|0964|0B04,,*C2"));