diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-16 22:22:43 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-16 22:22:43 +1200 |
commit | e6975cd0c6d93dc205eac0c5470d3060269df87e (patch) | |
tree | 1f432eda742322a60d26e7ced660801d3587b6e5 /test/org | |
parent | 1498b5c5a00c575ba67dce2dcfac0d77a8b4964a (diff) | |
download | trackermap-server-e6975cd0c6d93dc205eac0c5470d3060269df87e.tar.gz trackermap-server-e6975cd0c6d93dc205eac0c5470d3060269df87e.tar.bz2 trackermap-server-e6975cd0c6d93dc205eac0c5470d3060269df87e.zip |
Add another Tramigo unit test
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/TramigoProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TramigoProtocolDecoderTest.java b/test/org/traccar/protocol/TramigoProtocolDecoderTest.java index fd0af1373..f8d0c87f7 100644 --- a/test/org/traccar/protocol/TramigoProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TramigoProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class TramigoProtocolDecoderTest extends ProtocolTest { TramigoProtocolDecoder decoder = new TramigoProtocolDecoder(new TramigoProtocol()); + verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "8000d316b000860001018f8703771bee11fdf2585472616d69676f3a205061726b65642c20302e3131206b6d2053206f6620492e452e532e2050756572746120426f6e6974612c204361726162616e6368656c2c204d61647269642c2045532c2034302e33373736362c202d332e37333833352c2030353a3131204170722031362020454f46")); + /*verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN, "8000d116b000a2000101953203771beefa0bf2585472616d69676f3a204573746163696f6e61646f2c20302e3137206b6d20534f20646573646520492e452e532e2050756572746120426f6e6974612c204361726162616e6368656c2c204d61647269642c2045532c2034302e33373733322c202d332e37333931342c20756269636163696f6e20616e74696775612c2031313a3538204162722031352020454f46"));*/ |