diff options
author | Kevin Goos <kevingoos@telenet.be> | 2018-03-19 16:04:38 +0100 |
---|---|---|
committer | Kevin Goos <kevingoos@telenet.be> | 2018-03-19 16:04:38 +0100 |
commit | 694b5ce8dd817e3f1c9bb94a43e9f52cdc4f6845 (patch) | |
tree | 9226e3b54076ac3c0352f810c6df53cd974a3434 /test/org/traccar/protocol/LaipacSFKamelProtocolDecoderTest.java | |
parent | 7297c042cc1df171b4ca8959b46001d898c2373c (diff) | |
download | trackermap-server-694b5ce8dd817e3f1c9bb94a43e9f52cdc4f6845.tar.gz trackermap-server-694b5ce8dd817e3f1c9bb94a43e9f52cdc4f6845.tar.bz2 trackermap-server-694b5ce8dd817e3f1c9bb94a43e9f52cdc4f6845.zip |
Merged laipac and laipac kamel protocol to one
Diffstat (limited to 'test/org/traccar/protocol/LaipacSFKamelProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/LaipacSFKamelProtocolDecoderTest.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/test/org/traccar/protocol/LaipacSFKamelProtocolDecoderTest.java b/test/org/traccar/protocol/LaipacSFKamelProtocolDecoderTest.java deleted file mode 100644 index 69c4243ab..000000000 --- a/test/org/traccar/protocol/LaipacSFKamelProtocolDecoderTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package org.traccar.protocol; - -import org.junit.Test; -import org.traccar.ProtocolTest; -import org.traccar.helper.Checksum; - -public class LaipacSFKamelProtocolDecoderTest extends ProtocolTest { - - @Test - public void testDecode() throws Exception { - - LaipacSFKamelProtocolDecoder decoder = new LaipacSFKamelProtocolDecoder(new LaipacSFKamelProtocol()); - - verifyPosition(decoder, text( - "$AVRMC,999999999999999,084514,r,5050.1314,N,00419.9719,E,0.68,306.39,120318,0,3882,84,1,0,0,3EE4A617,020610*4D")); - - verifyNull(decoder, text( - "$AVSYS,99999999,V1.50,SN0000103,32768*15")); - - verifyNull(decoder, text( - "$ECHK,99999999,0*35")); - - verifyNull(decoder, text( - "$AVSYS,MSG00002,14406,7046811160,64*1A")); - - verifyNull(decoder, text( - "$EAVSYS,MSG00002,8931086013104404999,,Owner,0x52014406*76")); - - verifyNull(decoder, text( - "$ECHK,MSG00002,0*5E")); - - verifyPosition(decoder, text( - "$AVRMC,999999999999999,111602,r,5050.1262,N,00419.9660,E,0.00,0.00,120318,0,3843,95,1,0,0,3EE4A617,020610*47")); - } -} |