diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-02-12 07:50:49 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-02-12 07:50:49 +1300 |
commit | e6f5d3acf27f6705881f5b956ec505fd78bad7a4 (patch) | |
tree | d563e8f4c6cbff35431feb892c2c1ea53f86e7a4 /test/org | |
parent | cb607f6fce8655ff7915cbf6ec67c14cb515f21e (diff) | |
download | trackermap-server-e6f5d3acf27f6705881f5b956ec505fd78bad7a4.tar.gz trackermap-server-e6f5d3acf27f6705881f5b956ec505fd78bad7a4.tar.bz2 trackermap-server-e6f5d3acf27f6705881f5b956ec505fd78bad7a4.zip |
Fix MPIP-618 protocol decoding
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/CastelProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CastelProtocolDecoderTest.java b/test/org/traccar/protocol/CastelProtocolDecoderTest.java index bdf69e1af..a7d83f62b 100644 --- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CastelProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class CastelProtocolDecoderTest extends ProtocolTest { CastelProtocolDecoder decoder = new CastelProtocolDecoder(new CastelProtocol()); + verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "24245000363137313135313243333133360000000000000040011b011207133ac49a390464514a15000000008e480c00000917000000000000ffafffaf00010000ffff7800ffffffffffffff003c0d0a")); + verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN, "40408200033231334c32303137303031313039000000000000100136477b5964477b590400000000000000dc410f000000000204000709207910008304011c07110e110dd41a160714a95a0f00001e058c4944442d3231334c2056312e312e3120323031372d30352d3038004944442d3231334c2056312e312e300000006da10d0a")); |