aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-26 09:55:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-26 09:55:28 +1200
commit6148a3c2d873f5490cc4a55bc7e326c7d293405b (patch)
treee8513bab933acfa1ea506e0457617d363990126a /test/org/traccar
parent803e4bb722560054055d989b05f86c76fabfbd2c (diff)
downloadtrackermap-server-6148a3c2d873f5490cc4a55bc7e326c7d293405b.tar.gz
trackermap-server-6148a3c2d873f5490cc4a55bc7e326c7d293405b.tar.bz2
trackermap-server-6148a3c2d873f5490cc4a55bc7e326c7d293405b.zip
Fix Aquila protocol decoder
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/AquilaProtocolDecoderTest.java4
1 files changed, 3 insertions, 1 deletions
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"));