aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-29 15:20:22 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-29 15:20:22 +1300
commit9a7e9e1b5822351c2c7aec8d6f1fde5b637afaaf (patch)
tree6741cb83415100a08205a536d2c7ba972439205e /test/org/traccar/protocol
parent0d65586e0011f44d7597a0e332a0a1b83276607c (diff)
downloadtraccar-server-9a7e9e1b5822351c2c7aec8d6f1fde5b637afaaf.tar.gz
traccar-server-9a7e9e1b5822351c2c7aec8d6f1fde5b637afaaf.tar.bz2
traccar-server-9a7e9e1b5822351c2c7aec8d6f1fde5b637afaaf.zip
Refactor Sanav protocol decoder
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/SanavProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/SanavProtocolDecoderTest.java b/test/org/traccar/protocol/SanavProtocolDecoderTest.java
index d7168ff2d..cd254abdd 100644
--- a/test/org/traccar/protocol/SanavProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SanavProtocolDecoderTest.java
@@ -11,7 +11,8 @@ public class SanavProtocolDecoderTest extends ProtocolDecoderTest {
SanavProtocolDecoder decoder = new SanavProtocolDecoder(new SanavProtocol());
verifyPosition(decoder, text(
- "imei=352024028982787&rmc=$GPRMC,103048.000,A,4735.0399,N,01905.2895,E,0.00,0.00,171013,,*05,AUTO-4095mv"));
+ "imei=352024028982787&rmc=$GPRMC,103048.000,A,4735.0399,N,01905.2895,E,0.00,0.00,171013,,*05,AUTO-4095mv"),
+ position("2013-10-17 10:30:48.000", true, 47.58400, 19.08816));
verifyPosition(decoder, text(
"imei:352024028980000rmc:$GPRMC,093604.354,A,4735.0862,N,01905.2146,E,0.00,0.00,171013,,*09,AUTO-4103mv"));