diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-16 02:12:32 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-16 02:12:32 +1300 |
commit | 5f128cbbbdcaee7159b532dd6d911206a921fc5f (patch) | |
tree | 6196720b18663ec604cdd4ca4441f435f3bf8726 /test/org | |
parent | 835853422ce9f1c1fde15a6464c6f0f7eda4fed7 (diff) | |
download | traccar-server-5f128cbbbdcaee7159b532dd6d911206a921fc5f.tar.gz traccar-server-5f128cbbbdcaee7159b532dd6d911206a921fc5f.tar.bz2 traccar-server-5f128cbbbdcaee7159b532dd6d911206a921fc5f.zip |
Add some Wialon unit tests
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/WialonProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WialonProtocolDecoderTest.java b/test/org/traccar/protocol/WialonProtocolDecoderTest.java index dd5ffd3a1..79eb2d009 100644 --- a/test/org/traccar/protocol/WialonProtocolDecoderTest.java +++ b/test/org/traccar/protocol/WialonProtocolDecoderTest.java @@ -20,6 +20,12 @@ public class WialonProtocolDecoderTest extends ProtocolTest { "#P#")); verifyPosition(decoder, text( + "#D#151216;135910;5321.1466;N;04441.7929;E;87;156;265.000000;12;1.000000;241;NA;NA;NA;odo:2:0.000000,total_fuel:1:430087,can_fls:1:201,can_taho:1:11623,can_mileage:1:140367515")); + + verifyPosition(decoder, text( + "#D#151216;140203;5312.59514;N;04830.37834;E;53;273;NA;10;NA;NA;NA;NA;NA;EvId:1:1,Board:2:12.81,Accum:2:4.28")); + + verifyPosition(decoder, text( "#SD#270413;205601;5544.6025;N;03739.6834;E;1;2;3;4"), position("2013-04-27 20:56:01.000", true, 55.74338, 37.66139)); |