diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-03-17 09:28:33 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-03-17 09:29:43 -0700 |
commit | 9d7219db111c85d8f113460b231eff31a252971c (patch) | |
tree | 870261e98afd14e74f5f3cbd9b74c3fb26d3a328 /test/org | |
parent | e3e57a159842a97d6e0dff1b067cb241848b03da (diff) | |
download | traccar-server-9d7219db111c85d8f113460b231eff31a252971c.tar.gz traccar-server-9d7219db111c85d8f113460b231eff31a252971c.tar.bz2 traccar-server-9d7219db111c85d8f113460b231eff31a252971c.zip |
Add Avema unit test
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/AvemaProtocolDecoderTest.java | 3 |
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")); |