diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-26 06:11:30 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-26 06:11:30 +1200 |
commit | 9a13d2162106d975b631d9a50862c628415d7d76 (patch) | |
tree | a182bf79d47c021f770af9114e41910cf94e987d /test/org | |
parent | 102b17df3abd6126404089384e214bda28b604fe (diff) | |
download | trackermap-server-9a13d2162106d975b631d9a50862c628415d7d76.tar.gz trackermap-server-9a13d2162106d975b631d9a50862c628415d7d76.tar.bz2 trackermap-server-9a13d2162106d975b631d9a50862c628415d7d76.zip |
Implement Raveon communication protocol
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/RaveonProtocolDecoderTest.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/RaveonProtocolDecoderTest.java b/test/org/traccar/protocol/RaveonProtocolDecoderTest.java new file mode 100644 index 000000000..fdaf0939d --- /dev/null +++ b/test/org/traccar/protocol/RaveonProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class RaveonProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + RaveonProtocolDecoder decoder = new RaveonProtocolDecoder(new RaveonProtocol()); + + verifyPosition(decoder, text( + "$PRAVE,0001,0001,3308.9051,-11713.1164,195348,1,10,168,31,13.3,3,-83,0,0,,1003.4*66")); + + } + +} |