aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-04 06:48:45 +0300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-04 06:48:54 +0300
commit5ba7cf7728fbb807df7d7a98cb2a913be6c1d0f6 (patch)
treee94f46f4f5c38798ce02361b72506d6ce84bce7a
parent01ca0eb015ae6167a4701db522cc087f8844e2a2 (diff)
downloadtraccar-server-5ba7cf7728fbb807df7d7a98cb2a913be6c1d0f6.tar.gz
traccar-server-5ba7cf7728fbb807df7d7a98cb2a913be6c1d0f6.tar.bz2
traccar-server-5ba7cf7728fbb807df7d7a98cb2a913be6c1d0f6.zip
Add Gator unit test case
-rw-r--r--test/org/traccar/protocol/GatorProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GatorProtocolDecoderTest.java b/test/org/traccar/protocol/GatorProtocolDecoderTest.java
index cf65d0dc6..8541f14b2 100644
--- a/test/org/traccar/protocol/GatorProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GatorProtocolDecoderTest.java
@@ -18,6 +18,9 @@ public class GatorProtocolDecoderTest extends ProtocolTest {
GatorProtocolDecoder decoder = new GatorProtocolDecoder(new GatorProtocol());
+ verifyAttributes(decoder, binary(
+ "2424800026364101b31608041108380273453415301532000000008000010000122800000124000000c40d"));
+
verifyNothing(decoder, binary(
"242421000658e3d851150d"));