diff options
author | ninioe <ninioe@gmail.com> | 2016-07-17 09:55:25 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-07-17 09:55:25 +0300 |
commit | 5380ff196c88cc6b57fff62db71e4ab3a05aaa98 (patch) | |
tree | 636f455a5d2a946ccff892ea6db84fb155ff8f69 /test/org/traccar | |
parent | 4d55b911bd252c90d1d0ec4053d8502154192676 (diff) | |
parent | 6dfd599ef69fac9ea0851e3c07873c6368231610 (diff) | |
download | trackermap-server-5380ff196c88cc6b57fff62db71e4ab3a05aaa98.tar.gz trackermap-server-5380ff196c88cc6b57fff62db71e4ab3a05aaa98.tar.bz2 trackermap-server-5380ff196c88cc6b57fff62db71e4ab3a05aaa98.zip |
Merge remote-tracking branch 'refs/remotes/tananaev/master'
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/EelinkProtocolDecoderTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java index d7a6c5e86..925e90dd6 100644 --- a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java +++ b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java @@ -11,6 +11,15 @@ public class EelinkProtocolDecoderTest extends ProtocolTest { EelinkProtocolDecoder decoder = new EelinkProtocolDecoder(new EelinkProtocol()); verifyNothing(decoder, binary( + "676701000c007b03525440717505180104")); + + verifyPosition(decoder, binary( + "676712003400505784cc0b130246479b07d05a06001800000000070195039f046100002cc52e6466b391604a4900890e7c00000000000006ca")); + + verifyPosition(decoder, binary( + "676714002b00515784cc24130246479b07d05a06001800010000060195039f046100002cc52f6466b391604a49020089")); + + verifyNothing(decoder, binary( "676701000c002603541880486128290120")); verifyPosition(decoder, binary( |