From 9d7219db111c85d8f113460b231eff31a252971c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 17 Mar 2019 09:28:33 -0700 Subject: Add Avema unit test --- test/org/traccar/protocol/AvemaProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org') 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")); -- cgit v1.2.3