aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-10 21:45:07 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-10 21:45:07 +1300
commitcddcc4634e720cd365c5703cad149fd2f44de7ad (patch)
tree1a2f4bc09b197fd7d1da5f221866d82dfb18d0ec /test/org/traccar
parent80ef26881814bdd8e6cb81acafd624708877e269 (diff)
downloadtraccar-server-cddcc4634e720cd365c5703cad149fd2f44de7ad.tar.gz
traccar-server-cddcc4634e720cd365c5703cad149fd2f44de7ad.tar.bz2
traccar-server-cddcc4634e720cd365c5703cad149fd2f44de7ad.zip
Add new Gator protocol test cases
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/GatorProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GatorProtocolDecoderTest.java b/test/org/traccar/protocol/GatorProtocolDecoderTest.java
index 0c370bae4..cf65d0dc6 100644
--- a/test/org/traccar/protocol/GatorProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GatorProtocolDecoderTest.java
@@ -19,6 +19,12 @@ public class GatorProtocolDecoderTest extends ProtocolTest {
GatorProtocolDecoder decoder = new GatorProtocolDecoder(new GatorProtocol());
verifyNothing(decoder, binary(
+ "242421000658e3d851150d"));
+
+ verifyAttributes(decoder, binary(
+ "242480002658e3d851a60101c662bc00000000000000000000000000470007a30b0c00b10fc900ff00460d"));
+
+ verifyNothing(decoder, binary(
"242421000643e30282070d"));
verifyPosition(decoder, binary(