aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-23 09:43:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-23 09:43:10 +1300
commit6ee29dddb9294bbbdf09861f87d31720a171d87b (patch)
tree1db87a6d8970b127540ef77b115b6b5c9a2d5c31 /test/org
parentb4d3a5de05422b88e518a173359d45ce13ea4b2b (diff)
downloadtrackermap-server-6ee29dddb9294bbbdf09861f87d31720a171d87b.tar.gz
trackermap-server-6ee29dddb9294bbbdf09861f87d31720a171d87b.tar.bz2
trackermap-server-6ee29dddb9294bbbdf09861f87d31720a171d87b.zip
Add Gotor heartbeat packet sample
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/GatorProtocolDecoderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/GatorProtocolDecoderTest.java b/test/org/traccar/protocol/GatorProtocolDecoderTest.java
index 6460e82de..3169cc095 100644
--- a/test/org/traccar/protocol/GatorProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GatorProtocolDecoderTest.java
@@ -19,7 +19,10 @@ public class GatorProtocolDecoderTest extends ProtocolDecoderTest {
public void testDecode() throws Exception {
GatorProtocolDecoder decoder = new GatorProtocolDecoder(new GatorProtocol());
-
+
+ verifyNothing(decoder, binary(
+ "242421000643e30282070d"));
+
verifyPosition(decoder, binary(
"24248000260009632d141121072702059226180104367500000000c04700079c0c34000ad80b00ff000a0d"));