diff options
author | Hans van den Elsen <hans.elsen@esds.nl> | 2016-02-13 16:13:35 +0100 |
---|---|---|
committer | Hans van den Elsen <hans.elsen@esds.nl> | 2016-02-13 16:13:35 +0100 |
commit | 54f8bba338b7262ad6c938bb2284c148fee6cd62 (patch) | |
tree | d87961aa0c060f461d17f9ac00b8122eb34be22b /test/org/traccar/protocol/CastelProtocolDecoderTest.java | |
parent | 8622ba6e081b987a96e3b1885209576f3c389266 (diff) | |
parent | 9b11013c2376ad0401c194d5cfa0014e0a08502e (diff) | |
download | trackermap-server-54f8bba338b7262ad6c938bb2284c148fee6cd62.tar.gz trackermap-server-54f8bba338b7262ad6c938bb2284c148fee6cd62.tar.bz2 trackermap-server-54f8bba338b7262ad6c938bb2284c148fee6cd62.zip |
Merge branch 'master' of https://github.com/tananaev/traccar
Diffstat (limited to 'test/org/traccar/protocol/CastelProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/CastelProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CastelProtocolDecoderTest.java b/test/org/traccar/protocol/CastelProtocolDecoderTest.java index b8795e09a..eafe80748 100644 --- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CastelProtocolDecoderTest.java @@ -12,6 +12,12 @@ public class CastelProtocolDecoderTest extends ProtocolTest { CastelProtocolDecoder decoder = new CastelProtocolDecoder(new CastelProtocol()); + verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "24243f00676e6768656636313031313132393030313734002001840d0000d2deb556020602100b35360456cf09e6ebac0200000000030000000001abc10d0a")); + + verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "24243f00676e6768656636313031313132393030313734002001840d000000dfb556020602100b36298256cf0956ebac020000990c7f0000000001b4830d0a")); + verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN, "4040590004313030303030303030303800000000000000000040010072f53f56c25240560000000078b00900000000009c3100000000030100011900030001090b0f080106c04fe40b4037310c0060e001ff018d01e05e0d0a")); |