diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-05-23 12:17:10 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-05-23 12:17:10 -0700 |
commit | d5a391ccb44bb526417d33f1e11fd2540b28103b (patch) | |
tree | b0680971681d0426a44fbff34c966c66a1e492fa /src/test/java/org/traccar/protocol | |
parent | 410260640a5e58b6f3816e987470da0143337490 (diff) | |
download | trackermap-server-d5a391ccb44bb526417d33f1e11fd2540b28103b.tar.gz trackermap-server-d5a391ccb44bb526417d33f1e11fd2540b28103b.tar.bz2 trackermap-server-d5a391ccb44bb526417d33f1e11fd2540b28103b.zip |
Start R12W protocol implementation
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/R12wProtocolDecoderTest.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/R12wProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/R12wProtocolDecoderTest.java new file mode 100644 index 000000000..acb7277b5 --- /dev/null +++ b/src/test/java/org/traccar/protocol/R12wProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class R12wProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + var decoder = new R12wProtocolDecoder(null); + + verifyNull(decoder, text( + "$HX,0001,860721009104316,e92c,933402042499509,55792760080,12345678,01,a8d940a9,#,50,")); + + } + +} |