From 6148a3c2d873f5490cc4a55bc7e326c7d293405b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 26 Sep 2015 09:55:28 +1200 Subject: Fix Aquila protocol decoder --- test/org/traccar/protocol/AquilaProtocolDecoderTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java index 5ecd80dae..8a0d8bdfd 100644 --- a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java @@ -1,7 +1,6 @@ package org.traccar.protocol; import org.junit.Test; - import static org.traccar.helper.DecoderVerifier.verify; public class AquilaProtocolDecoderTest extends ProtocolDecoderTest { @@ -10,6 +9,9 @@ public class AquilaProtocolDecoderTest extends ProtocolDecoderTest { public void testDecode() throws Exception { AquilaProtocolDecoder decoder = new AquilaProtocolDecoder(new AquilaProtocol()); + + verify(decoder.decode(null, null, + "$$SRINI_1MS,141214807,1,12.963515,77.533844,150925161628,A,27,0,8,0,68,0,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,*43")); verify(decoder.decode(null, null, "$$CLIENT_1ZF,130329214,1,12.962985,77.576484,140127165433,A,22,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,*26")); -- cgit v1.2.3