aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-19 05:22:03 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-19 05:22:03 +1200
commit6b16c0ddf2ac1ce497e1d8bc17a47eceeabca113 (patch)
tree6d4aadf8b1abb384c6c4a14d6e46fecff3bac754
parent50341e5aa1bfcf3f77c0c8aaef298ae78549d830 (diff)
downloadtraccar-server-6b16c0ddf2ac1ce497e1d8bc17a47eceeabca113.tar.gz
traccar-server-6b16c0ddf2ac1ce497e1d8bc17a47eceeabca113.tar.bz2
traccar-server-6b16c0ddf2ac1ce497e1d8bc17a47eceeabca113.zip
Add Tramigo unit test case
-rw-r--r--test/org/traccar/protocol/TramigoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
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"));