diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-21 10:52:34 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-21 10:52:34 +1300 |
commit | 40674d8338c679a958ced0a94c4b61716775045d (patch) | |
tree | 1d2dfc4c2b33c2e8399253311ac2a23b2c9c08a6 /test | |
parent | e52ccadfb975476b1a6412e615a7109ff42f787a (diff) | |
download | traccar-server-40674d8338c679a958ced0a94c4b61716775045d.tar.gz traccar-server-40674d8338c679a958ced0a94c4b61716775045d.tar.bz2 traccar-server-40674d8338c679a958ced0a94c4b61716775045d.zip |
Add another Meiligao unit test case
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java index 6d0ba50d5..0c3c570f5 100644 --- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java @@ -12,8 +12,11 @@ public class MeiligaoProtocolDecoderTest extends ProtocolDecoderTest { MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new MeiligaoProtocol()); + 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( |