aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/AvemaProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-03-17 09:28:33 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-03-17 09:29:43 -0700
commit9d7219db111c85d8f113460b231eff31a252971c (patch)
tree870261e98afd14e74f5f3cbd9b74c3fb26d3a328 /test/org/traccar/protocol/AvemaProtocolDecoderTest.java
parente3e57a159842a97d6e0dff1b067cb241848b03da (diff)
downloadtrackermap-server-9d7219db111c85d8f113460b231eff31a252971c.tar.gz
trackermap-server-9d7219db111c85d8f113460b231eff31a252971c.tar.bz2
trackermap-server-9d7219db111c85d8f113460b231eff31a252971c.zip
Add Avema unit test
Diffstat (limited to 'test/org/traccar/protocol/AvemaProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/AvemaProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AvemaProtocolDecoderTest.java b/test/org/traccar/protocol/AvemaProtocolDecoderTest.java
index 2f8ec3121..d3be0b6d6 100644
--- a/test/org/traccar/protocol/AvemaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AvemaProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class AvemaProtocolDecoderTest extends ProtocolTest {
AvemaProtocolDecoder decoder = new AvemaProtocolDecoder(null);
+ verifyNull(decoder, text(
+ "8,20180927150956,19.154864,49.124862,7,56,0,12,3,0.0,0,0.02,14.01,0,0,26,0,219-2,65534,10255884,0.01"));
+
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"));