aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-08 08:13:18 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-08 08:13:18 +1300
commitb7e53f57689e1f8a1c0705aeea32dc6e69f3fcb3 (patch)
treebcf56729b77a42ffe3873d35a39c6f3756c57942
parent54867872a7e227742418037ce01da675587cd92b (diff)
downloadtrackermap-server-b7e53f57689e1f8a1c0705aeea32dc6e69f3fcb3.tar.gz
trackermap-server-b7e53f57689e1f8a1c0705aeea32dc6e69f3fcb3.tar.bz2
trackermap-server-b7e53f57689e1f8a1c0705aeea32dc6e69f3fcb3.zip
Add Laipac unit test case
-rw-r--r--test/org/traccar/protocol/LaipacProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/LaipacProtocolDecoderTest.java b/test/org/traccar/protocol/LaipacProtocolDecoderTest.java
index d1fafe71a..b1bb954db 100644
--- a/test/org/traccar/protocol/LaipacProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/LaipacProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class LaipacProtocolDecoderTest extends ProtocolTest {
LaipacProtocolDecoder decoder = new LaipacProtocolDecoder(new LaipacProtocol());
+ verifyPosition(decoder, text(
+ "$AVRMC,80006405,212645,r,3013.9938,N,08133.3998,W,0.00,0.00,010317,a,4076,0,1,0,0,53170583,310260*78"));
+
verifyNothing(decoder, text(
"$AVSYS,99999999,V1.50,SN0000103,32768*15"));