diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-29 01:25:12 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-29 01:25:15 +1200 |
commit | 4d6f4917dbc8f9fdb4ea95c97f84b428fb9cc8ae (patch) | |
tree | c461bb84e27096b3c3ae4519537b85c210638a6b /test | |
parent | e7909d26d9b55baef5cf4c2c953111fab2d8e081 (diff) | |
download | traccar-server-4d6f4917dbc8f9fdb4ea95c97f84b428fb9cc8ae.tar.gz traccar-server-4d6f4917dbc8f9fdb4ea95c97f84b428fb9cc8ae.tar.bz2 traccar-server-4d6f4917dbc8f9fdb4ea95c97f84b428fb9cc8ae.zip |
Add Meiligao alarm test case
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java index e5bd127ac..03be4807c 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()); + verifyPosition(decoder, binary( + "2424007f1092ffffffffff9999523232303534392e3030302c412c333533372e313231372c4e2c30313130302e303633332c452c362e34382c3139332c3238303631372c2c2a30357c302e387c32347c323030307c303030432c303030417c303235443030303230303833354437427c31357c3037303636424142f7310d0a")); + verifyAttributes(decoder, binary( "242400561001ffffffffff99553030303030302e3030302c562c303030302e303030302c532c30303030302e303030302c572c302e30302c302e30302c3232303839392c2c2c412a37457c7c307c3030303059ae0d0a0000")); |