aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-11 04:48:40 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-11 04:48:40 +1200
commit35dd7b42b29c5898a42b77bdc3fa71676bb77611 (patch)
tree04b58a87f380074d06bed4f27213c311facb6767 /test
parent257fceb3d8d844bdd9edb5f38e90387ab856670a (diff)
downloadtrackermap-server-35dd7b42b29c5898a42b77bdc3fa71676bb77611.tar.gz
trackermap-server-35dd7b42b29c5898a42b77bdc3fa71676bb77611.tar.bz2
trackermap-server-35dd7b42b29c5898a42b77bdc3fa71676bb77611.zip
Add Meiligao unit test case
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
index 124dcd852..e5bd127ac 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class MeiligaoProtocolDecoderTest extends ProtocolTest {
MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new MeiligaoProtocol());
+ verifyAttributes(decoder, binary(
+ "242400561001ffffffffff99553030303030302e3030302c562c303030302e303030302c532c30303030302e303030302c572c302e30302c302e30302c3232303839392c2c2c412a37457c7c307c3030303059ae0d0a0000"));
+
verifyPosition(decoder, binary(
"242400706573402852404799553130313932372e3030302c412c313732362e38323739332c4e2c30373832382e31393637312c452c312e382c362e342c3137313131362c2c2a32427c312e36387c3534342e327c313030307c303030302c303030307c3030303032383638373a1a0d0a"));