aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-22 15:56:15 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-22 15:56:15 +1200
commit7ca76c37de75e4aeb617c51fa7b3a32ae8d25ae2 (patch)
tree7701392359a4bfbb3345c8a9c17e04d367ef495e /test/org/traccar
parentd42c74bbbdf6264b2b301c277eee9fb36de435ba (diff)
downloadtrackermap-server-7ca76c37de75e4aeb617c51fa7b3a32ae8d25ae2.tar.gz
trackermap-server-7ca76c37de75e4aeb617c51fa7b3a32ae8d25ae2.tar.bz2
trackermap-server-7ca76c37de75e4aeb617c51fa7b3a32ae8d25ae2.zip
Implement Avema Technology protocol
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/AvemaProtocolDecoderTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AvemaProtocolDecoderTest.java b/test/org/traccar/protocol/AvemaProtocolDecoderTest.java
new file mode 100644
index 000000000..b08d1789b
--- /dev/null
+++ b/test/org/traccar/protocol/AvemaProtocolDecoderTest.java
@@ -0,0 +1,18 @@
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+public class AvemaProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ AvemaProtocolDecoder decoder = new AvemaProtocolDecoder(new AvemaProtocol());
+
+ verifyPosition(decoder, text(
+ "1130048939,20120224000129,121.447487,25.168025,0,0,0,0,3,0.0,1,0.02V,14.88V,0,1,24,4,46608,F8BC,F9AD,CID0000028"));
+
+ }
+
+}