aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-07-25 05:44:23 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-07-25 05:44:23 +1200
commit7c8e00eba940fdbcde3ea2b60e6094caa9098b99 (patch)
treee18540b21d4e62b4ac73bb60eb32d11b76b30366 /test/org
parent6af986e2bd05d6376c7ad25a4621f6466bff1b46 (diff)
downloadtraccar-server-7c8e00eba940fdbcde3ea2b60e6094caa9098b99.tar.gz
traccar-server-7c8e00eba940fdbcde3ea2b60e6094caa9098b99.tar.bz2
traccar-server-7c8e00eba940fdbcde3ea2b60e6094caa9098b99.zip
Improve Atrack decoder pattern
Diffstat (limited to 'test/org')
-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 1fe579c76..fbe94ce19 100644
--- a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class AtrackProtocolDecoderTest extends ProtocolTest {
AtrackProtocolDecoder decoder = new AtrackProtocolDecoder(new AtrackProtocol());
verifyPosition(decoder, buffer(
+ "@P,3A34,146,41431,353816057242284,20180622015809,20180622015809,20180622015809,9720689,4014230,61,2,0,20,1,0,0,0,0,2000,2000,12160,42,624,002,20009,20014,\r\n"));
+
+ verifyPosition(decoder, buffer(
"@P,1126,121,104547,358901048091554,20180412143513,20180412143514,20180413060000,16423389,48178700,108,2,6.5,9,0,0,0,0,0,2000,2000,\r\n"));
verifyPosition(decoder, buffer(