diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-12 16:49:27 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-12 16:49:27 +1300 |
commit | e696169bf6731d03e1840f39cc56c0e48b3359c6 (patch) | |
tree | 5f5b7dab3637f9cff298f7b9feed49f4bd386a2b /test/org/traccar/protocol/CastelProtocolDecoderTest.java | |
parent | 2df9a104d8ff5023f45a13b01f3cf498b7ea7e68 (diff) | |
download | trackermap-server-e696169bf6731d03e1840f39cc56c0e48b3359c6.tar.gz trackermap-server-e696169bf6731d03e1840f39cc56c0e48b3359c6.tar.bz2 trackermap-server-e696169bf6731d03e1840f39cc56c0e48b3359c6.zip |
Improve unit testing messages
Diffstat (limited to 'test/org/traccar/protocol/CastelProtocolDecoderTest.java')
-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 ae9528c07..49fa5b0be 100644 --- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CastelProtocolDecoderTest.java @@ -13,6 +13,9 @@ public class CastelProtocolDecoderTest extends ProtocolDecoderTest { CastelProtocolDecoder decoder = new CastelProtocolDecoder(new CastelProtocol()); + //verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN, + // "4040590004313030303030303030303800000000000000000040010072f53f56c25240560000000078b00900000000009c3100000000030100011900030001090b0f080106c04fe40b4037310c0060e001ff018d01e05e0d0a")); + verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN, "404055000431303031313132353239393837000000000000001002C1F0695230086A529C911100000000000F890000A60500000000036301014CFF000001190A0D0539191480D60488C5721800000000BF8A640D0A")); |