aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-13 10:06:23 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-13 10:06:23 +1300
commiteadd850a6475c9a600b31ab49c7c0bfb39bfaa4e (patch)
treef69d916eead7cdc4385e9d978a7158af1eafac48 /test/org
parent390045cb48f28668942328f587e176166cb831a2 (diff)
downloadtrackermap-server-eadd850a6475c9a600b31ab49c7c0bfb39bfaa4e.tar.gz
trackermap-server-eadd850a6475c9a600b31ab49c7c0bfb39bfaa4e.tar.bz2
trackermap-server-eadd850a6475c9a600b31ab49c7c0bfb39bfaa4e.zip
Add one more meiligao unit test
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
index acb718ba7..2dbb24d9e 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
@@ -10,11 +10,14 @@ public class MeiligaoProtocolDecoderTest extends ProtocolTest {
MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new MeiligaoProtocol());
+ verifyPosition(decoder, binary(
+ "242400680790209818ffff99553038333235382e3030302c412c303131352e393338302c532c30333634382e313430392c452c302e30302c3331352e35352c3132303131367c302e37347c313930322e337c303430307c303030302c303030307c302e30f41b0d0a"));
+
verifyNothing(decoder, binary(
"24240011671440258855405000b24d0d0a"));
verifyPosition(decoder, binary(
- "242400706796502079108999553131333131382e3030302c412c313033372e393637382c4e2c30363132312e353637392c572c302e35342c322e34322c3330303931352c2c2c412a37307c302e37377c392e397c303030307c303030302c303161327c3030313138373132374cae0d0a"),
+ "242400706796502079108999553131333131382e3030302c412c313033372e393637382c4e2c30363132312e353637392c572c302e35342c322e34322c3330303931352c2c2c412a37307c302e37377c392e397c303030307c303030302c303161327c3030313138373132374cae0d0a"),
position("2015-09-30 11:31:18.000", true, 10.63280, -61.35947));
verifyPosition(decoder, binary(