diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-22 14:32:24 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-22 14:32:24 +1300 |
commit | a30c3a830e56d1943fbf70ce7551ff026ecd3337 (patch) | |
tree | 6b5945641b2743673a30249dfc219d2a78f29306 /test/org/traccar/protocol | |
parent | 9abb9fa00d845075515fd76f0b012afd89818d91 (diff) | |
download | trackermap-server-a30c3a830e56d1943fbf70ce7551ff026ecd3337.tar.gz trackermap-server-a30c3a830e56d1943fbf70ce7551ff026ecd3337.tar.bz2 trackermap-server-a30c3a830e56d1943fbf70ce7551ff026ecd3337.zip |
Add Meiligao decoder unit test
Diffstat (limited to 'test/org/traccar/protocol')
-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 58d761ed8..94f91e825 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( + "2424007d0000000000000099553231303333302e3030302c562c343533342e333832342c532c30373230332e303630302c572c302e30302c302c3231313031362c2c2a31327c302e307c3332397c323030307c303030452c303030437c303244413030303145413634393541417c31307c30303030303030306e540d0a")); + verifyAttributes(decoder, binary( "4040005066104020094432990131302E312C302C3135362C302E30302C31392E36312C2D33342C33342E32362C32312E38332C372E39312C313033332C322E36392C362E35352C302C302C309DBF0D0A")); |