aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-27 17:01:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-27 17:01:09 +1300
commit6a626a234967bf3a6037dc1e3d5bc28b4de05920 (patch)
treefc35d3b4e21cdff3ae62aecb5167ba57eb124ea9 /test/org
parent666fbb6864bafe9b5a2035312364020fe56654f7 (diff)
downloadtraccar-server-6a626a234967bf3a6037dc1e3d5bc28b4de05920.tar.gz
traccar-server-6a626a234967bf3a6037dc1e3d5bc28b4de05920.tar.bz2
traccar-server-6a626a234967bf3a6037dc1e3d5bc28b4de05920.zip
Update Laipac decoder tests
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/LaipacProtocolDecoderTest.java18
1 files changed, 12 insertions, 6 deletions
diff --git a/test/org/traccar/protocol/LaipacProtocolDecoderTest.java b/test/org/traccar/protocol/LaipacProtocolDecoderTest.java
index 1c5c05476..c164652ee 100644
--- a/test/org/traccar/protocol/LaipacProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/LaipacProtocolDecoderTest.java
@@ -10,18 +10,24 @@ public class LaipacProtocolDecoderTest extends ProtocolDecoderTest {
LaipacProtocolDecoder decoder = new LaipacProtocolDecoder(new LaipacProtocol());
- verifyNothing(decoder, text( "$AVSYS,99999999,V1.50,SN0000103,32768*15"));
+ verifyNothing(decoder, text(
+ "$AVSYS,99999999,V1.50,SN0000103,32768*15"));
- verifyNothing(decoder, text( "$ECHK,99999999,0*35"));
+ verifyNothing(decoder, text(
+ "$ECHK,99999999,0*35"));
- verifyNothing(decoder, text( "$AVSYS,MSG00002,14406,7046811160,64*1A"));
+ verifyNothing(decoder, text(
+ "$AVSYS,MSG00002,14406,7046811160,64*1A"));
- verifyNothing(decoder, text( "$EAVSYS,MSG00002,8931086013104404999,,Owner,0x52014406*76"));
+ verifyNothing(decoder, text(
+ "$EAVSYS,MSG00002,8931086013104404999,,Owner,0x52014406*76"));
- verifyNothing(decoder, text( "$ECHK,MSG00002,0*5E"));
+ verifyNothing(decoder, text(
+ "$ECHK,MSG00002,0*5E"));
verifyPosition(decoder, text(
- "$AVRMC,99999999,164339,A,4351.0542,N,07923.5445,W,0.29,78.66,180703,0,3.727,17,1,0,0*37"));
+ "$AVRMC,99999999,164339,A,4351.0542,N,07923.5445,W,0.29,78.66,180703,0,3.727,17,1,0,0*37"),
+ position("2003-07-18 16:43:39.000", true, 43.85090, -79.39241));
verifyPosition(decoder, text(
"$AVRMC,99999999,164339,a,4351.0542,N,07923.5445,W,0.29,78.66,180703,0,3.727,17,1,0,0*17"));