From 6ee29dddb9294bbbdf09861f87d31720a171d87b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 23 Oct 2015 09:43:10 +1300 Subject: Add Gotor heartbeat packet sample --- test/org/traccar/protocol/GatorProtocolDecoderTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') 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")); -- cgit v1.2.3