diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-29 10:17:58 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-29 10:17:58 +1200 |
commit | b65dd20c5e8c7fc9b26cb27154394d2afdbd5316 (patch) | |
tree | 6aa1dbab7b9ebc604f2fb1266e8530f3cc69f348 | |
parent | 233f54da4216cd1b3bf4bdc864e23e3fedc98ff1 (diff) | |
download | trackermap-server-b65dd20c5e8c7fc9b26cb27154394d2afdbd5316.tar.gz trackermap-server-b65dd20c5e8c7fc9b26cb27154394d2afdbd5316.tar.bz2 trackermap-server-b65dd20c5e8c7fc9b26cb27154394d2afdbd5316.zip |
Add IDD-213L Sinocastel test
-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 6b52373e1..bdf69e1af 100644 --- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CastelProtocolDecoderTest.java @@ -13,6 +13,9 @@ public class CastelProtocolDecoderTest extends ProtocolTest { CastelProtocolDecoder decoder = new CastelProtocolDecoder(new CastelProtocol()); verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "40408200033231334c32303137303031313039000000000000100136477b5964477b590400000000000000dc410f000000000204000709207910008304011c07110e110dd41a160714a95a0f00001e058c4944442d3231334c2056312e312e3120323031372d30352d3038004944442d3231334c2056312e312e300000006da10d0a")); + + verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN, "40408200033231334c323031373030303131370000000000001001000c6759a10d67590a9e1200000000000e3e0000000000020000000e4e791c000004010d0711060515083017086cd1181f000040067d4944442d3231334c2056312e312e3120323031372d30352d3038004944442d3231334c2056312e312e3000000066e30d0a")); verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN, |