aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-06-12 20:46:31 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-06-12 20:46:31 -0700
commit2bbdd5604648cb699ef5c713f778b9baf1b0ea2a (patch)
treeb51a59f418233c507b6b314f6bba7a49336cd6b2 /src/test/java/org/traccar/protocol
parent3d464a1486a0dd9b28538d4f3d7cbc55451cc3a8 (diff)
downloadtrackermap-server-2bbdd5604648cb699ef5c713f778b9baf1b0ea2a.tar.gz
trackermap-server-2bbdd5604648cb699ef5c713f778b9baf1b0ea2a.tar.bz2
trackermap-server-2bbdd5604648cb699ef5c713f778b9baf1b0ea2a.zip
Fix and extend decoder
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java
index a7cf95618..df102a066 100644
--- a/src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PluginProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class PluginProtocolDecoderTest extends ProtocolTest {
PluginProtocolDecoder decoder = new PluginProtocolDecoder(null);
verifyPosition(decoder, text(
+ "$$ALARM801739,20190612121950,28.254067,-25.860494,0,0,0,-1,2,2,12595331,0,0,0,+,22,0,0,0,0,0,,0,0"));
+
+ verifyPosition(decoder, text(
"$$STATUS801739,20190528143943,28.254086,-25.860665,0,0,0,-1,2,78,11395,0,0,0"));
verifyPosition(decoder, text(