From 8ec8955876bbfaf9e2856ec50f2a011b1dee0eca Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 2 Sep 2016 03:41:11 +1200 Subject: Implement Cradlepoint protocol --- .../protocol/CradlepointProtocolDecoderTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/org/traccar/protocol/CradlepointProtocolDecoderTest.java (limited to 'test/org') diff --git a/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java b/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java new file mode 100644 index 000000000..4f37d3e1e --- /dev/null +++ b/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class CradlepointProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + CradlepointProtocolDecoder decoder = new CradlepointProtocolDecoder(new CradlepointProtocol()); + + verifyPosition(decoder, text( + "+12084014675,162658,4337.174385,N,11612.338373,W,0.0,,Verizon,,-71,-44,-11,,")); + + } + +} -- cgit v1.2.3