aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-18 00:27:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-18 00:27:15 +1300
commit0d9bc43602b496aa1afdd83748388526e84cdf80 (patch)
tree88b5c2503851a4266a1cad4b106308a816a8ba5b /test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
parent512b95fd6975005c6460ddad16714502510cb16e (diff)
downloadtrackermap-server-0d9bc43602b496aa1afdd83748388526e84cdf80.tar.gz
trackermap-server-0d9bc43602b496aa1afdd83748388526e84cdf80.tar.bz2
trackermap-server-0d9bc43602b496aa1afdd83748388526e84cdf80.zip
Add Meiligao unit test case
Diffstat (limited to 'test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java')
-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 94f91e825..10fa3f971 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MeiligaoProtocolDecoderTest extends ProtocolTest {
MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new MeiligaoProtocol());
verifyPosition(decoder, binary(
+ "242400706573402852404799553130313932372e3030302c412c313732362e38323739332c4e2c30373832382e31393637312c452c312e382c362e342c3137313131362c2c2a32427c312e36387c3534342e327c313030307c303030302c303030307c3030303032383638373a1a0d0a"));
+
+ verifyPosition(decoder, binary(
"2424007d0000000000000099553231303333302e3030302c562c343533342e333832342c532c30373230332e303630302c572c302e30302c302c3231313031362c2c2a31327c302e307c3332397c323030307c303030452c303030437c303244413030303145413634393541417c31307c30303030303030306e540d0a"));
verifyAttributes(decoder, binary(