From 6b16c0ddf2ac1ce497e1d8bc17a47eceeabca113 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 19 May 2017 05:22:03 +1200 Subject: Add Tramigo unit test case --- test/org/traccar/protocol/TramigoProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/TramigoProtocolDecoderTest.java b/test/org/traccar/protocol/TramigoProtocolDecoderTest.java index f8d0c87f7..96f795172 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()); + verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "80003d1ac0001c00010100000367152b13bc1d5970696e6720454f46")); + verifyAttributes(decoder, binary(ByteOrder.LITTLE_ENDIAN, "8000d316b000860001018f8703771bee11fdf2585472616d69676f3a205061726b65642c20302e3131206b6d2053206f6620492e452e532e2050756572746120426f6e6974612c204361726162616e6368656c2c204d61647269642c2045532c2034302e33373736362c202d332e37333833352c2030353a3131204170722031362020454f46")); -- cgit v1.2.3