From d3b747aa7b3e2471cac84e3c062107fc1bb63374 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 7 Nov 2015 12:14:23 +1300 Subject: Start Huabao protocol implementation --- .../traccar/protocol/HuabaoProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/org/traccar/protocol/HuabaoProtocolDecoderTest.java (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java new file mode 100644 index 000000000..0968d6d9c --- /dev/null +++ b/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolDecoderTest; + +public class HuabaoProtocolDecoderTest extends ProtocolDecoderTest { + + @Test + public void testDecode() throws Exception { + + HuabaoProtocolDecoder decoder = new HuabaoProtocolDecoder(new HuabaoProtocol()); + + verifyNothing(decoder, binary( + "7e0100002d007089994489002800000000000000000048422d523033474244000000000000000000000031393036373531024142433030303030d17e")); + + } + +} -- cgit v1.2.3