aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-26 12:12:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-26 12:12:46 +1200
commit4e084ebd790286392225e44ce462f987a2c3046a (patch)
tree3e5dcc7c95f6194f7e4e95c005fbc3e11ca6a559 /test/org/traccar/protocol/AtrackProtocolDecoderTest.java
parent9a597a7f902eea46405a345d4398139c13f69655 (diff)
downloadtrackermap-server-4e084ebd790286392225e44ce462f987a2c3046a.tar.gz
trackermap-server-4e084ebd790286392225e44ce462f987a2c3046a.tar.bz2
trackermap-server-4e084ebd790286392225e44ce462f987a2c3046a.zip
Decode Atrack INFO messages
Diffstat (limited to 'test/org/traccar/protocol/AtrackProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/AtrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
index 756c09cef..b5271f511 100644
--- a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class AtrackProtocolDecoderTest extends ProtocolTest {
AtrackProtocolDecoder decoder = new AtrackProtocolDecoder(new AtrackProtocol());
+ verifyAttributes(decoder, buffer(
+ "$INFO=358683066267395,AX7,Rev.0.61 Build.1624,358683066267395,466924131626767,89886920041316267670,144,0,9,1,12,1,0\r\n"));
+
decoder.setLongDate(true);
verifyPositions(decoder, binary(