From 40bf728938311fa9619ad2bb0eb89b21c16e9585 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 14 Mar 2016 14:24:41 +1300 Subject: Implement Fox Lite protocol --- .../traccar/protocol/FoxProtocolDecoderTest.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test/org/traccar/protocol/FoxProtocolDecoderTest.java (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/FoxProtocolDecoderTest.java b/test/org/traccar/protocol/FoxProtocolDecoderTest.java new file mode 100644 index 000000000..304db1891 --- /dev/null +++ b/test/org/traccar/protocol/FoxProtocolDecoderTest.java @@ -0,0 +1,27 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class FoxProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + FoxProtocolDecoder decoder = new FoxProtocolDecoder(new FoxProtocol()); + + verifyPosition(decoder, text( + "")); + + verifyPosition(decoder, text( + "")); + + verifyPosition(decoder, text( + "")); + + verifyPosition(decoder, text( + "")); + + } + +} -- cgit v1.2.3