aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-09-08 11:46:31 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-09-08 11:46:31 -0700
commitd33a48db3bdefd6bf3772432aaa26b0eb2f70d44 (patch)
tree3ad637aa8e51485d67d91028dd56a2af4614c61b
parente1077019a5ff970b98c934af9a170547d9d55e5d (diff)
downloadtraccar-server-d33a48db3bdefd6bf3772432aaa26b0eb2f70d44.tar.gz
traccar-server-d33a48db3bdefd6bf3772432aaa26b0eb2f70d44.tar.bz2
traccar-server-d33a48db3bdefd6bf3772432aaa26b0eb2f70d44.zip
Add custom protocol test
-rw-r--r--src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
index 718000a44..074d34711 100644
--- a/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class Jt600ProtocolDecoderTest extends ProtocolTest {
Jt600ProtocolDecoder decoder = new Jt600ProtocolDecoder(null);
verifyPositions(decoder, binary(
+ "2475201509261611002313101503464722331560113555309F00000000002D0500CB206800F064109326381A03"));
+
+ verifyPositions(decoder, binary(
"2475810297431713003401010000030100000000000000000e000000000001000000000020e0641aba1b6f1b00000f0f0f0f0f0f0f0f0f0f000001942803"));
verifyPositions(decoder, binary(