diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-12 08:09:54 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-12 08:09:54 +1300 |
commit | 7c8140bffb57d4bc56d569b0a5f29c824bd77e03 (patch) | |
tree | bb97c88d2759de3815aa1d6946af7e6b68b35ae5 /test/org | |
parent | f9e808f5d28f70363ee197c81baae8ccf10455f6 (diff) | |
download | trackermap-server-7c8140bffb57d4bc56d569b0a5f29c824bd77e03.tar.gz trackermap-server-7c8140bffb57d4bc56d569b0a5f29c824bd77e03.tar.bz2 trackermap-server-7c8140bffb57d4bc56d569b0a5f29c824bd77e03.zip |
Add Navis unit test case
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/NavisProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/NavisProtocolDecoderTest.java b/test/org/traccar/protocol/NavisProtocolDecoderTest.java index c0d0357b0..51e3ec94a 100644 --- a/test/org/traccar/protocol/NavisProtocolDecoderTest.java +++ b/test/org/traccar/protocol/NavisProtocolDecoderTest.java @@ -19,6 +19,9 @@ public class NavisProtocolDecoderTest extends ProtocolDecoderTest { "404E5443010000007B000000130044342A3E533A383631373835303035323035303739")); verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "404e544301000000000000005a002e6c2a3e410125d7540100001512233a0b0a0f08026300000a000b000b00020000000000000000000c12233b0b0a0f03fd6d3f0fde603f00000000ba0051e0c845000000000000000000000000000000000000000000000080808080")); + + verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN, "404E5443010000007B0000005A0050692A3E410125DB0E00000015110707110A0C0880630000AA39A2381600020000000000000000000C110708110A0CB389793F1AEF263F00000000120034F516440000000000000000000000FAFF000000FAFF000000FAFF80808080")); verifyNothing(decoder, binary(ByteOrder.LITTLE_ENDIAN, |